From c9fa929659740fd291f23e9e1d592f8e8730d623 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 3 Oct 2012 20:21:23 +0000 Subject: [PATCH] Fix compile error for older versions of maya --- pandatool/src/mayaegg/mayaEggLoader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);