Editing tile_color values up to 10-digits
Hi Mitija,
Firstly, this spreadsheet that you have created is absolutely genius! Well done.
I have a small request if possible...
I want to change Backdrop Colours from a colour picker in my script. At the moment I can't edit the tile-colour beyond 9-digits on some colours.
I think they all should be 10-digit fields by default.
Cheers
Comments (7)
-
repo owner -
reporter Thanks for responding. One more question/request, I have a small bit of code that I would like to include in the tile_color field within the spreadsheet... Do you think that would be possible?
Basically I would like to set a parent type expression to a colorChip that is being set elsewhere in my script so the Backdrop Colour updates to correspond.
-
repo owner Setting expressions from a right click menu is still an open issue of this tool.
Note that the tile_color colorChip knob doesn't keep expressions as far as I know. You'd have to use the knobChanged() callback instead to update the color.
-
repo owner Some further investigation revealed that the table currently only allows to enter values up to 2147483647. I'm still trying to find out where that limit comes from.
-
repo owner Looks like the QTableView uses a QIntValidator that limits the range. I'll have to figure out how to extend this to long ranges.
-
repo owner - changed status to resolved
This should be fixed by commit 17115d0.
The tile_color can now be edited through an editor that shows the rgba values of the ColorChip_Knob. The default node color is used as a start value when opening the editor. Implemented the int range rollover necessary to not save the default color to the node when closing the editor without changing the default rgb value.
@qu4rtz: Please note when updating: the bitbucket version is ahead of the nukepedia release. The menu integration has change slightly (see Read.me)
-
reporter Nice one, I haven't updated in a while but I will need to use this again in June so will look forward to using it again.
Cheers!
--
Courtney D. Pryce Nuke VFX Artist Email: xiv.inc@gmail.com Tel: +44 7878702572
LinkedIn https://uk.linkedin.com/in/xiv1nc || Vimeo http://vimeo.com/xiv1nc || xiv.mobile@gmail.com
- Log in to comment
Looks like the tile_color can be positive and negative between 8 and 11 digits long and it depends on the color.