@@ -119,7 +119,8 @@ var Viewport = function ( editor ) {
if ( object.userData.object !== undefined ) {
-
+ // helper
+
editor.select( object.userData.object );
} else {
@@ -364,6 +364,7 @@ THREE.TransformControls = function ( camera, domElement, doc ) {
this.detach = function ( object ) {
this.object = undefined;
+ this.hovered = false;
this.hide();