浏览代码

Update pxMultiActor.cpp

Fixed PhysX compile issue on VS2010 ("'FS' : is not a class or namespace name")

In reference to http://www.garagegames.com/community/forums/viewthread/135499
Robert Pierce 12 年之前
父节点
当前提交
44b5b85b2c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Engine/source/T3D/physics/physx/pxMultiActor.cpp

+ 2 - 2
Engine/source/T3D/physics/physx/pxMultiActor.cpp

@@ -570,7 +570,7 @@ bool PxMultiActorData::preload( bool server, String &errorBuffer )
 
    // Register for file change notification to reload the collection
    if ( server )
-      FS::AddChangeNotification( physXStream, this, &PxMultiActorData::_onFileChanged );
+      Torque::FS::AddChangeNotification( physXStream, this, &PxMultiActorData::_onFileChanged );
 
    return true;
 }
@@ -2648,4 +2648,4 @@ ConsoleMethod( PxMultiActorData, reload, void, 2, 2, ""
               "If the reload sucessfully completes, all PxMultiActor's will be notified.\n\n")
 {
    object->reload();
-}
+}