Hi,
quick question regarding the behavior of ObjectData
plugins in C4D R25 (25.010 to be precise).
This does not pose a functional issue for me. Yet, I'd like to understand what is going on and what has changed.
The described behavior can be easily replicated with a simple print within Init()
of py-rounded_tube_r13.pyp.
The question is the number of Init()
calls happening upon a manual parameter change in Attribute Manager by user.
In C4D R21 I get zero to one calls depending on the parameter changed.
Main Radius change does not seem to trigger Init()
at all.
Axis changes end up in one call to Init()
.
I had expected to always get called, due to the backup object on the undo stack being created. Yet, I'm perfectly fine with getting less calls, even if I do not understand the difference in those two parameters.
But in R25 I get multiple calls to Init()
. Even more funny, the number of calls is not even constant when changing the same parameter over and over.
Changing Main Radius I get one or two calls into Init()
.
Changing Axis I seem to get always two calls into Init()
.
So there's definitely a change in behavior and the new behavior is not even static, it seems. Confusing.