diff --git a/pandatool/src/mayaegg/mayaEggLoader.cxx b/pandatool/src/mayaegg/mayaEggLoader.cxx index c8df00139f..cb5d472e43 100755 --- a/pandatool/src/mayaegg/mayaEggLoader.cxx +++ b/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);