Camera doesn't inherit from Object; defines its own origin.
This commit is contained in:
parent
709453adcb
commit
c564791d1a
3 changed files with 36 additions and 9 deletions
|
@ -102,7 +102,7 @@ CameraParser::HandleOriginEvent(yaml_event_t& event)
|
|||
}
|
||||
|
||||
auto onDone = [this](Vector3 origin) {
|
||||
mCamera->set_origin(origin);
|
||||
mCamera->SetOrigin(origin);
|
||||
mSection = NoSection;
|
||||
SetShouldExpectKey(true);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue