[Maya2osg-users] Null pointer check for createGeometry
Status: Alpha
Brought to you by:
jtaibo
From: Jean-Sébastien G. <jea...@cm...> - 2011-10-13 18:17:21
|
Hello, I've run into some models that have no vertices under some nodes, and in that case createGeometry() in mesh.cpp returns NULL. A subsequent access to the returned NULL pointer makes the plugin (and thus Maya) crash. Here's a simple fix. Thanks, J-S -- ______________________________________________________ Jean-Sébastien Guay jea...@cm... http://www.cm-labs.com/ http://whitestar02.dyndns-web.com/ |