Skip to content

Commit

Permalink
remove unused SolidProtoHierarchy.children field (cyberbotics#6630)
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolSpy3 committed Aug 17, 2024
1 parent 0024bd6 commit a4a2f94
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/api/controllers/supervisor_proto/supervisor_proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ int main(int argc, char **argv) {
const struct FieldDefinition *expected_fields[] = {
(const struct FieldDefinition[]){ // SolidProtoHierarchy
{"translationStep", WB_SF_FLOAT},
{"children", WB_MF_NODE},
{"internalTranslationStep", WB_SF_FLOAT},
{"internalField1", WB_SF_FLOAT},
{"internalField2", WB_SF_FLOAT},
Expand Down
4 changes: 0 additions & 4 deletions tests/api/protos/SolidProtoHierarchy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ EXTERNPROTO "webots://tests/api/protos/SolidProtoHierarchyInternal.proto"

PROTO SolidProtoHierarchy [
field SFFloat translationStep 0.01
field MFNode children []
field SFFloat internalTranslationStep 0.01
field SFFloat internalField1 0.01
field SFFloat internalField2 0.01
Expand All @@ -17,9 +16,6 @@ PROTO SolidProtoHierarchy [
# Note: For the purposes of the test, SolidProtoHierarchyInternal.rotationStep,
# SolidProtoHierarchyInternal.ucField1, and SolidProtoHierarchyInternal.ucField2 are explicitly left unconnected
children [
Group {
children IS children
}
DEF INTERNAL_NODE SolidProtoHierarchyInternal {
translationStep IS internalTranslationStep
ucField2 IS internalField2
Expand Down

0 comments on commit a4a2f94

Please sign in to comment.