I run into this bug quite often, can anyone reproduce before I send it to support?
Run this Javascript code, subdivide the cylinder once, and then move null1 - it should either crash or you should get some weird mesh behavior
Thanks
Code: Select all
CreatePrim("Cylinder", "MeshSurface", null, null);
SetValue("cylinder.cylinder.radius", 0.15, null);
SetValue("cylinder.polymsh.geom.subdivv", 55, null);
SetValue("cylinder.polymsh.geom.subdivu", 55, null);
GetPrim("Null", null, null, null);
GetPrim("Null", null, null, null);
SelectObj("null", null, null);
Translate(null, 0, -2, 0, siRelative, siLocalSymCOG, siObj, siXYZ, null, null, null, null, null, null, null, null, null, 0, null);
ParentObj("null", "null1");
ApplyFlexEnv("cylinder;null,null1", null, 2);
SelectObj("cylinder", null, true);
CreateVertexColorSupport(null, null, null, null);
PaintVertexColors("cylinder", [0,1,2,3,4,5,6,7,8,9,10,11,12,13], [0,1,2,3,4,5,6,7,8,9,10,11,12,13], 1, null);
FreezeModeling(null, null, null);
SetDisplayMode("Camera", "shaded");