Ver Fonte

Ensure camera controls is enabled after object removal

Temdog007 há 6 anos atrás
pai
commit
969acc8671
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      editor/js/Viewport.js

+ 1 - 0
editor/js/Viewport.js

@@ -413,6 +413,7 @@ var Viewport = function ( editor ) {
 
 	signals.objectRemoved.add( function ( object ) {
 
+		controls.enabled = true;
 		if ( object === transformControls.object ) {
 
 			transformControls.detach();