Re: [Maya2osg-users] Null pointer check for createGeometry
Status: Alpha
Brought to you by:
jtaibo
From: Javier T. <jav...@gm...> - 2011-10-13 19:54:09
|
On Thu, Oct 13, 2011 at 9:06 PM, PP CG <pp...@cg...> wrote: > Hello J-S, > > > > > I've run into some models that have no vertices under some nodes, > > Would it be possible for you to pass me a simple .ma file of such a case > ? Am curious, have never seen such thing, according to me a PolyShape > has always at least one triangle. Please don't take this wrong in terms > of not trusting you, I really just wonder how this could be possible, > and would like to see such a case, thx. > > > 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. > > @Javier, I would like to take care of this, as I am in the middle of the > skinning implementation, and have worked already on the mesh file but > not submitted till now, O.K. ? > I appreciate it. I am really really busy until middle next week. Thank you very much. All yours! :) Thank you J-S, for sending the fix. -- Javier Taibo |