[Bf-committers] Bug CompositorNodeDilateErode

Dan Eicher dan at trollwerks.org
Sat Jan 5 22:09:13 CET 2013


On Sat, Jan 5, 2013 at 12:06 PM, Sergey Sharybin <sergey.vfx at gmail.com>wrote:

> Hrm, this is pretty nasty issue -- dilate node has got own type which
> overrided base node's type. This indeed need to be solved, but afraid it'll
> break some scripts.
>
> What's also interesting for me here -- is it more like a feature or
> makesrna should notify about such kind of conflicts?
>

That's just regular python isn't it? If you redefine a property in a
subclass then you'd have to use super().type to get at the base class
property.

The most obvious solution is to rename CompositorNodeDilateErode.type to
something that describes it like 'foo_type'.

Dan


More information about the Bf-committers mailing list