Przeglądaj źródła

Fix compile error for older versions of maya

rdb 13 lat temu
rodzic
commit
c9fa929659
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pandatool/src/mayaegg/mayaEggLoader.cxx

+ 1 - 1
pandatool/src/mayaegg/mayaEggLoader.cxx

@@ -1730,7 +1730,7 @@ bool MayaEggLoader::ConvertEggData(EggData *data, bool merge, bool model, bool a
     // Check the "Display Colors" box by default, so that vertex
     // colors (if any) will be visible.
     MPlug displayColors = mfn.findPlug("displayColors");
-    displayColors.setBool(true);
+    displayColors.setValue((bool)true);
 
     mesh->_shapeNode = mfn.object();
     mfn.getPath(mesh->_shape_dag_path);