mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-18 06:03:48 +00:00
Merge branch 'development' into EngineAPI-Refactor
This commit is contained in:
commit
3a71c75596
1937 changed files with 102332 additions and 70549 deletions
|
|
@ -1277,11 +1277,11 @@ void GuiRiverEditorCtrl::setSelectedNode( S32 node )
|
|||
mSelNode = node;
|
||||
if ( mSelNode != -1 )
|
||||
{
|
||||
const RiverNode &node = mSelRiver->mNodes[mSelNode];
|
||||
const RiverNode &curNode = mSelRiver->mNodes[mSelNode];
|
||||
|
||||
MatrixF objMat = mSelRiver->getNodeTransform(mSelNode);
|
||||
Point3F objScale( node.width, 1.0f, node.depth );
|
||||
Point3F worldPos = node.point;
|
||||
Point3F objScale(curNode.width, 1.0f, curNode.depth );
|
||||
Point3F worldPos = curNode.point;
|
||||
|
||||
mGizmo->set( objMat, worldPos, objScale );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue