Browse Source

model view: missing setCurrent()

trethaller 6 years ago
parent
commit
5935aaef5f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hide/prefab/Model.hx

+ 1 - 0
hide/prefab/Model.hx

@@ -78,6 +78,7 @@ class Model extends Object3D {
 			var v = select.val();
 			var prev = animation;
 			var obj = ctx.getContext(this).local3d;
+			ctx.scene.setCurrent();
 			if( v == "" ) {
 				animation = null;
 				obj.stopAnimation();