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 5769d65b92
commit ff94af542d
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) 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

View file

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