verve mac compilation corrections - defaults for script bindings (return for one case, lack of input for the other)

This commit is contained in:
Brian Roberts 2019-05-21 19:36:30 -05:00
parent 2e1fe56815
commit c32345fcd1
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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() )