Skip to content

Commit

Permalink
Remove duplicate comments
Browse files Browse the repository at this point in the history
A few single line comments were duplicated, probably due to bad merges.

This commit removes the obviously duplicate ones.
  • Loading branch information
brakhane committed Apr 25, 2021
1 parent 15a85fe commit 31d41d8
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion modules/fbx/editor_scene_importer_fbx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion servers/rendering/renderer_rd/renderer_storage_rd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
3 changes: 0 additions & 3 deletions servers/rendering/shader_language.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ struct ClipVertex
btVector3 v;
int id;
//b2ContactID id;
//b2ContactID id;
};

#define b2Dot(a, b) (a).dot(b)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 31d41d8

Please sign in to comment.