|
I’m have issues writing what should be a completely trivial scripted plugin. If I place an instance of ‘Broken’ in a max file, save, and then reopen max will crash. Has anyone seen anything like this? Many thanks.
plugin SimpleObject Broken
name:"Broken" classID:#(0x18625c7, 0x2d257b78) category:"TotallyBroken" (
on buildMesh do
(
setMesh mesh verts:#([0,0,0]) faces:#()
)
tool create
(
on mousePoint click do
(
nodeTM.translation = gridPoint
#stop
)
)
)
|
|
|
|
It seems that plugins require a param block… even if it is not needed. Inserting the following into the plugin and it all works fine
parameters main (
dummy type:#boolean default:false )
|
|
|