Notifications
Clear all
[Closed] Scripted Edit Normals modifier plugin and replaceUI problem
Sep 14, 2014 6:46 pm
I’m trying to create my scripted modifier plugin, which is based on Edit_Normals modifier.
The problem is when I disable original properties rollout, by setting replaceUI to true then the base modifier seems to stop working.
Here is an example:
plugin modifier editNormalsTest
name:"Edit normals test"
classID:#( 41556273, 24456704 )
extends:Edit_Normals replaceUI:true version:1
(
parameters main rollout:myParams
(
display type:#boolean ui:display_chb default:false
on display set val do this.delegate.displayLength = ( if val then 10 else 0 )
)
rollout myParams "my parameters"
(
checkbox display_chb "Show lines"
)
)
It going not work, until replaceUI is set to true.
I have his problem under max 9 and 5.