Skip to content

Commit 62eda37

Browse files
author
Graphos
committed
Update py-rounded_tube_r13.pyp
1 parent ffd5471 commit 62eda37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/py-rounded_tube_r13/py-rounded_tube_r13.pyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ class RoundedTube(c4d.plugins.ObjectData, RoundedTubeHelper):
390390
# Iterates over our handle count and draw them
391391
for i in xrange(self.HANDLECOUNT):
392392
# Defines the color of the handle according of the hovered state of the object.
393-
handleColorFlag = c4d.VIEWCOLOR_HANDLES if c4d.GetC4DVersion() > 21000 else c4d.VIEWCOLOR_ACTIVEPOINT
393+
handleColorFlag = c4d.VIEWCOLOR_HANDLES if c4d.GetC4DVersion() >= 21000 else c4d.VIEWCOLOR_ACTIVEPOINT
394394
hoverColor = c4d.VIEWCOLOR_SELECTION_PREVIEW if hitId == i else handleColorFlag
395395
bd.SetPen(c4d.GetViewColor(hoverColor))
396396

0 commit comments

Comments
 (0)