Browse Source

Remove duplicate comments

A few single line comments were duplicated, probably due to bad merges.

This commit removes the obviously duplicate ones.
Dennis Brakhane 4 years ago
parent
commit
31d41d83c3

+ 0 - 1
modules/fbx/editor_scene_importer_fbx.cpp

@@ -1013,7 +1013,6 @@ Node3D *EditorSceneImporterFBX::_generate_scene(
 						const uint64_t target_id = track->key();
 						int track_idx = animation->add_track(Animation::TYPE_TRANSFORM);
 
-						// animation->track_set_path(track_idx, node_path);
 						// animation->track_set_path(track_idx, node_path);
 						Ref<FBXBone> bone;
 

+ 0 - 1
servers/rendering/renderer_rd/renderer_storage_rd.cpp

@@ -7922,7 +7922,6 @@ void RendererStorageRD::global_variable_set_override(const StringName &p_name, c
 
 		_global_variable_mark_buffer_dirty(gv.buffer_index, gv.buffer_elements);
 	} else {
-		//texture
 		//texture
 		for (Set<RID>::Element *E = gv.texture_materials.front(); E; E = E->next()) {
 			Material *material = material_owner.getornull(E->get());

+ 0 - 3
servers/rendering/shader_language.cpp

@@ -3955,8 +3955,6 @@ ShaderLanguage::Node *ShaderLanguage::_parse_expression(BlockNode *p_block, cons
 
 		ERR_FAIL_COND_V(!expr, nullptr);
 
-		/* OK now see what's NEXT to the operator.. */
-		/* OK now see what's NEXT to the operator.. */
 		/* OK now see what's NEXT to the operator.. */
 
 		while (true) {
@@ -4734,7 +4732,6 @@ ShaderLanguage::Node *ShaderLanguage::_parse_expression(BlockNode *p_block, cons
 
 		ERR_FAIL_COND_V(next_op == -1, nullptr);
 
-		// OK! create operator..
 		// OK! create operator..
 		if (is_unary) {
 			int expr_pos = next_op;

+ 0 - 1
thirdparty/bullet/BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.cpp

@@ -80,7 +80,6 @@ struct ClipVertex
 	btVector3 v;
 	int id;
 	//b2ContactID id;
-	//b2ContactID id;
 };
 
 #define b2Dot(a, b) (a).dot(b)

+ 0 - 1
thirdparty/bullet/BulletDynamics/Featherstone/btMultiBodyJointMotor.cpp

@@ -42,7 +42,6 @@ void btMultiBodyJointMotor::finalizeMultiDof()
 	int linkDoF = 0;
 	unsigned int offset = 6 + (m_bodyA->getLink(m_linkA).m_dofOffset + linkDoF);
 
-	// row 0: the lower bound
 	// row 0: the lower bound
 	jacobianA(0)[offset] = 1;
 

+ 0 - 1
thirdparty/bullet/BulletDynamics/Featherstone/btMultiBodySphericalJointMotor.cpp

@@ -44,7 +44,6 @@ void btMultiBodySphericalJointMotor::finalizeMultiDof()
 	int linkDoF = 0;
 	unsigned int offset = 6 + (m_bodyA->getLink(m_linkA).m_dofOffset + linkDoF);
 
-	// row 0: the lower bound
 	// row 0: the lower bound
 	jacobianA(0)[offset] = 1;