mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
verve mac compilation corrections - defaults for script bindings (return for one case, lack of input for the other)
This commit is contained in:
parent
2e1fe56815
commit
c32345fcd1
|
|
@ -2942,7 +2942,7 @@ DefineEngineMethod( VPath, getPathObjectOffset, const char *, (SceneObject *scen
|
|||
if (sceneObject == nullptr)
|
||||
{
|
||||
Con::errorf( "VPath::getPathObjectOffset() - Invalid Target Object." );
|
||||
return false;
|
||||
return "";
|
||||
}
|
||||
|
||||
// Fetch Object
|
||||
|
|
@ -3047,7 +3047,7 @@ DefineEngineMethod( VPath, getPathObjectOrientationMode, const char *, (SceneObj
|
|||
if (sceneObject == nullptr)
|
||||
{
|
||||
Con::errorf( "VPath::getPathObjectOrientationMode() - Invalid Target Object." );
|
||||
return false;
|
||||
return "";
|
||||
}
|
||||
|
||||
// Fetch Object
|
||||
|
|
|
|||
|
|
@ -1953,7 +1953,7 @@ DefineEngineMethod( VPathEditor, setNodePosition, void, (Point3F position), (Poi
|
|||
object->popNodeEdit();
|
||||
}
|
||||
|
||||
DefineEngineMethod( VPathEditor, setNodeRotation, void, (AngAxisF aa), (AngAxisF::AngAxisF()), "( pRotation )" )
|
||||
DefineEngineMethod( VPathEditor, setNodeRotation, void, (AngAxisF aa), (AngAxisF( Point3F( 0, 0, 1 ), 0)), "( pRotation )" )
|
||||
{
|
||||
// Valid Selection?
|
||||
if ( !object->isValidSelection() )
|
||||
|
|
|
|||
Loading…
Reference in a new issue