Browse Source

Fix compile error for older versions of maya

rdb 13 years ago
parent
commit
c9fa929659
1 changed files with 1 additions and 1 deletions
  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
     // Check the "Display Colors" box by default, so that vertex
     // colors (if any) will be visible.
     // colors (if any) will be visible.
     MPlug displayColors = mfn.findPlug("displayColors");
     MPlug displayColors = mfn.findPlug("displayColors");
-    displayColors.setBool(true);
+    displayColors.setValue((bool)true);
 
 
     mesh->_shapeNode = mfn.object();
     mesh->_shapeNode = mfn.object();
     mfn.getPath(mesh->_shape_dag_path);
     mfn.getPath(mesh->_shape_dag_path);