DescID shift operator
-
Hi,
the Python docs specify a left shift operator for DescID.
Unfortunately it seems to have issues. No other code than te snippet found in docs is needed:
dId = c4d.DescID(c4d.DescLevel(30), c4d.DescLevel(40), c4d.DescLevel(50)) dId<<2
Here in my R21 on Win10 this results in:
TypeError: unsupported operand type(s) for <<: 'c4d.DescID' and 'int'
Trying to call
__lshift__()
directly results inNotImplemented
, which could be a hintCheers,
Andreas -
Hi Andreas,
Thanks for reporting the issue.
I will update this topic when the fix will be available in an official release.
Cheers,
Maxime. -
Thanks, Maxime. No urgency from my side. Just stumbled across it, when actually trying to do something completely different.
My best wishes to the entire team.
-
This bug is now resolved in R21 sp2.
Cheers,
Maxime