Game Development Community

[BUG 1.0] Moving/Resizing/Scaling object tends to select another object

by Joshua Halls (Xerves) · in Torque 3D Professional · 09/29/2009 (3:43 am) · 5 replies

I click on an object to move it around or resize it and I successfully get the object and make the adjustments. As soon as I left go of the mouse it will for the most part select another object in the scene.

About the author

Part of the team that works on The Repopulation, a SciFi based MMO using a heavily modified version of the Torque MMO Kit - T3D. I also take care of the T3D version of the Torque MMO Kit.


#1
09/29/2009 (7:23 pm)
I think i found and fixed this one today.

Open up gui/worldEditor/worldEditor.cpp and in the function WorldEditor::renderScene() make this change...

// update what is in the selection
   if ( mDragSelect )
      mDragSelected.clear();

   // Determine selected objects based on the drag box touching a mesh
   if( mDragSelect
      && mDragRect.extent.x > 1 && mDragRect.extent.y > 1 ) // ADDED!
   {
      // Build the drag frustum based on the rect
      F32 wwidth;
      F32 wheight;

See if that fixes it.
#2
10/07/2009 (8:02 pm)
Seems to do the trick.
#3
10/07/2009 (8:51 pm)
yes, thank goodness. In my limited testing, it works. Very, very irritating bug.
#4
10/07/2009 (8:56 pm)
Nod, haven't ran into any issues after that. Was dragging things all over the place and so far no issues. Now I just need to figure out where the rotation scale adjustments are (so it doesn't rotate so much on the mouse move)
#5
10/07/2009 (9:12 pm)
Yay!

@josh - check out "editor settings" under F11->edit