Place an object by its origin (only applies to spheres)

This commit is contained in:
Eryn Wells 2014-08-15 22:33:34 -07:00
parent bbbac6ff92
commit 050d87bd6f

View file

@ -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));