Hello,
We are experiencing some reproducible crashes on our piece of software, under Linux only (windows is fine on this one). We have a custom MpxLocator inherited node , basically a configuration placeholder , no computation or display involved, just attributes declared (creator, initialize, desctructor implemented).
When we link a mesh placeholder castShadows to a locator attribute and then delete the locator node, we experience a crash.
You can reproduce the very same crash by doing so (in our custom locator the castsShadows attribute arleady exist, on this locator it is created dynamically):
1. run this script
string $nodes[] = `spaceLocator`;
string $node = $nodes[0];
string $parents[] = `listRelatives -path -parent $node`;
string $trNode = $parents[0];
// add a mesh holder
string $trMeshNodes[] = `polyCreateFacet -tx 1 -p -0. 0. 0. -p -0. 0. 0. -p -0. 0. 0. -ch false`;
//string $meshName = substituteAllString($trNode, "renderProxy", "renderSurface");
$trMeshNodes[0] = `rename $trMeshNodes[0] ($trNode+"Mesh#")`;
string $meshNodes[];
string $children[] = `listRelatives -allDescendents $trMeshNodes[0]`;
for ($child in $children)
{
if ( `nodeType $child` != "transform" )
$meshNodes[size($meshNodes)] = $child;
}
string $meshNode = $meshNodes[0];
connectAttr ($node+".castsShadows") ($meshNode+".castsShadows");
2. selet both nodes
3. delete them
-> crash
The call stack is this one if this can help :
Best regards
Hey there,
It's been a week since we submitted this report and no one from the Maya team has confirmed the issue.
Can anyone take a look at this and confirm they can, at least, reproduce the issue ?
Thanks
Can't find what you're looking for? Ask the community or share your knowledge.