mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
check Display Colors
This commit is contained in:
parent
306bb1ff42
commit
0c85073625
@ -1727,6 +1727,11 @@ 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);
|
||||
|
||||
mesh->_shapeNode = mfn.object();
|
||||
mfn.getPath(mesh->_shape_dag_path);
|
||||
mesh->ConnectTextures();
|
||||
|
Loading…
x
Reference in New Issue
Block a user