mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
fix some crashes
This commit is contained in:
@@ -60,7 +60,7 @@ void VisualInstance::_notification(int p_what) {
|
||||
if (skeleton)
|
||||
VisualServer::get_singleton()->instance_attach_skeleton( instance, skeleton->get_skeleton() );
|
||||
*/
|
||||
|
||||
ERR_FAIL_COND(get_world().is_null());
|
||||
VisualServer::get_singleton()->instance_set_scenario(instance, get_world()->get_scenario());
|
||||
_update_visibility();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user