deargui-vpl/ref/virtools/Samples/ExportPlugins/3dsMax Export/CKInstScripts/ApplyPreviewButtons.ms

29 lines
702 B
Plaintext

button apply_Button "Apply" pos:[276,6] width:40 height:18
on apply_Button pressed do (
for obj in selection do (
RemoveCKChunk obj instNameSet[currentSelectedInst]
)
(instFctSet[currentSelectedInst])()
)
button applypreview_Button "A+P" pos:[316,6] width:40 height:18
on applypreview_Button pressed do (
for obj in selection do (
RemoveCKChunk obj instNameSet[currentSelectedInst]
)
(instFctSet[currentSelectedInst])()
previewFct()
)
button applyquickpreview_Button "A+Q" pos:[356,6] width:40 height:18
on applyquickpreview_Button pressed do (
for obj in selection do (
RemoveCKChunk obj instNameSet[currentSelectedInst]
)
(instFctSet[currentSelectedInst])()
quickPreviewFct()
)