Modifier doesn't show up in modifier properties when added programatically

Hello,

I am pretty new to blender, but have been writing python for maya for a decade.

With an object selected, I am adding a modifier to a mesh with

mod = obj.modifiers.new('','SHRINKWRAP')

The modifier is added, but isn’t reflected in the active modifier properties window unless I force a refresh.

Not sure if this is expected behaviour.

Cheers!

1 Like

Is there a place I should add this as a bug? Thanks!

Hello @euphemism,

The right place to report bugs is https://developer.blender.org/.

Bye

2 Likes