Skip to content
Snippets Groups Projects
Commit 917bd07c authored by Tazpn's avatar Tazpn
Browse files

Fix for Fixes for Bound calculations of objects with a morph attached.

parent 48c5581d
No related branches found
No related tags found
No related merge requests found
...@@ -1250,6 +1250,9 @@ Exporter::Result Exporter::exportGeomMorpherControl(Modifier* mod, vector<Vector ...@@ -1250,6 +1250,9 @@ Exporter::Result Exporter::exportGeomMorpherControl(Modifier* mod, vector<Vector
ctrl->SetStartTime( 0.0f ); ctrl->SetStartTime( 0.0f );
ctrl->SetStopTime( FrameToTime( range.Duration()-1 ) ); ctrl->SetStopTime( FrameToTime( range.Duration()-1 ) );
owner->AddController(ctrl); owner->AddController(ctrl);
// Update model bounds for target of the controller
ctrl->UpdateModelBound();
} }
} }
return Exporter::Ok; return Exporter::Ok;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment