mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +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
2 changed files with 3 additions and 3 deletions
|
|
@ -2942,7 +2942,7 @@ DefineEngineMethod( VPath, getPathObjectOffset, const char *, (SceneObject *scen
|
||||||
if (sceneObject == nullptr)
|
if (sceneObject == nullptr)
|
||||||
{
|
{
|
||||||
Con::errorf( "VPath::getPathObjectOffset() - Invalid Target Object." );
|
Con::errorf( "VPath::getPathObjectOffset() - Invalid Target Object." );
|
||||||
return false;
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fetch Object
|
// Fetch Object
|
||||||
|
|
@ -3047,7 +3047,7 @@ DefineEngineMethod( VPath, getPathObjectOrientationMode, const char *, (SceneObj
|
||||||
if (sceneObject == nullptr)
|
if (sceneObject == nullptr)
|
||||||
{
|
{
|
||||||
Con::errorf( "VPath::getPathObjectOrientationMode() - Invalid Target Object." );
|
Con::errorf( "VPath::getPathObjectOrientationMode() - Invalid Target Object." );
|
||||||
return false;
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fetch Object
|
// Fetch Object
|
||||||
|
|
|
||||||
|
|
@ -1953,7 +1953,7 @@ DefineEngineMethod( VPathEditor, setNodePosition, void, (Point3F position), (Poi
|
||||||
object->popNodeEdit();
|
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?
|
// Valid Selection?
|
||||||
if ( !object->isValidSelection() )
|
if ( !object->isValidSelection() )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue