Place an object by its origin (only applies to spheres)
This commit is contained in:
parent
bbbac6ff92
commit
050d87bd6f
1 changed files with 1 additions and 4 deletions
|
@ -174,12 +174,9 @@ ObjectParser::HandleOriginEvent(yaml_event_t& event)
|
||||||
}
|
}
|
||||||
|
|
||||||
auto onDone = [this](Vector4 origin) {
|
auto onDone = [this](Vector4 origin) {
|
||||||
/* TODO: Once Place() and Move() are implemented on Object, use that. */
|
mObject->Place(origin);
|
||||||
#if 0
|
|
||||||
mObject->SetOrigin(origin);
|
|
||||||
mSection = NoSection;
|
mSection = NoSection;
|
||||||
SetShouldExpectKey(true);
|
SetShouldExpectKey(true);
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
GetParsers().push(new Vector4Parser(GetScene(), GetParsers(), onDone));
|
GetParsers().push(new Vector4Parser(GetScene(), GetParsers(), onDone));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue