Ver código fonte

verve compilation correction - need to cast to char *, not use the raw string for the con:: series of methods

Brian Roberts 6 anos atrás
pai
commit
2e1fe56815

+ 1 - 1
Engine/source/Verve/Extension/Motion/VMotionTrack.cpp

@@ -238,7 +238,7 @@ void VMotionTrack::attachObject( void )
          && !getController()->getDataValue( mOrientationData, orientationDataValue ) )
          && !getController()->getDataValue( mOrientationData, orientationDataValue ) )
     {
     {
         // Sanity!
         // Sanity!
-        Con::warnf( "Unable to located the value for the given orientation data key, '%s'", mOrientationData );
+        Con::warnf( "Unable to located the value for the given orientation data key, '%s'", mOrientationData.c_str() );
         // Clear.
         // Clear.
         orientationDataValue = String::EmptyString;
         orientationDataValue = String::EmptyString;
     }
     }