mirror of
https://github.com/godotengine/godot
synced 2024-09-05 04:28:29 +00:00
Remove duplicate comments
A few single line comments were duplicated, probably due to bad merges. This commit removes the obviously duplicate ones.
This commit is contained in:
parent
15a85fe971
commit
31d41d83c3
|
@ -1013,7 +1013,6 @@ Node3D *EditorSceneImporterFBX::_generate_scene(
|
||||||
const uint64_t target_id = track->key();
|
const uint64_t target_id = track->key();
|
||||||
int track_idx = animation->add_track(Animation::TYPE_TRANSFORM);
|
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);
|
// animation->track_set_path(track_idx, node_path);
|
||||||
Ref<FBXBone> bone;
|
Ref<FBXBone> bone;
|
||||||
|
|
||||||
|
|
|
@ -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);
|
_global_variable_mark_buffer_dirty(gv.buffer_index, gv.buffer_elements);
|
||||||
} else {
|
} else {
|
||||||
//texture
|
|
||||||
//texture
|
//texture
|
||||||
for (Set<RID>::Element *E = gv.texture_materials.front(); E; E = E->next()) {
|
for (Set<RID>::Element *E = gv.texture_materials.front(); E; E = E->next()) {
|
||||||
Material *material = material_owner.getornull(E->get());
|
Material *material = material_owner.getornull(E->get());
|
||||||
|
|
|
@ -3955,8 +3955,6 @@ ShaderLanguage::Node *ShaderLanguage::_parse_expression(BlockNode *p_block, cons
|
||||||
|
|
||||||
ERR_FAIL_COND_V(!expr, nullptr);
|
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.. */
|
/* OK now see what's NEXT to the operator.. */
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
@ -4734,7 +4732,6 @@ ShaderLanguage::Node *ShaderLanguage::_parse_expression(BlockNode *p_block, cons
|
||||||
|
|
||||||
ERR_FAIL_COND_V(next_op == -1, nullptr);
|
ERR_FAIL_COND_V(next_op == -1, nullptr);
|
||||||
|
|
||||||
// OK! create operator..
|
|
||||||
// OK! create operator..
|
// OK! create operator..
|
||||||
if (is_unary) {
|
if (is_unary) {
|
||||||
int expr_pos = next_op;
|
int expr_pos = next_op;
|
||||||
|
|
|
@ -80,7 +80,6 @@ struct ClipVertex
|
||||||
btVector3 v;
|
btVector3 v;
|
||||||
int id;
|
int id;
|
||||||
//b2ContactID id;
|
//b2ContactID id;
|
||||||
//b2ContactID id;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define b2Dot(a, b) (a).dot(b)
|
#define b2Dot(a, b) (a).dot(b)
|
||||||
|
|
|
@ -42,7 +42,6 @@ void btMultiBodyJointMotor::finalizeMultiDof()
|
||||||
int linkDoF = 0;
|
int linkDoF = 0;
|
||||||
unsigned int offset = 6 + (m_bodyA->getLink(m_linkA).m_dofOffset + linkDoF);
|
unsigned int offset = 6 + (m_bodyA->getLink(m_linkA).m_dofOffset + linkDoF);
|
||||||
|
|
||||||
// row 0: the lower bound
|
|
||||||
// row 0: the lower bound
|
// row 0: the lower bound
|
||||||
jacobianA(0)[offset] = 1;
|
jacobianA(0)[offset] = 1;
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,6 @@ void btMultiBodySphericalJointMotor::finalizeMultiDof()
|
||||||
int linkDoF = 0;
|
int linkDoF = 0;
|
||||||
unsigned int offset = 6 + (m_bodyA->getLink(m_linkA).m_dofOffset + linkDoF);
|
unsigned int offset = 6 + (m_bodyA->getLink(m_linkA).m_dofOffset + linkDoF);
|
||||||
|
|
||||||
// row 0: the lower bound
|
|
||||||
// row 0: the lower bound
|
// row 0: the lower bound
|
||||||
jacobianA(0)[offset] = 1;
|
jacobianA(0)[offset] = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue