PointerRNA
containers to C++ code.
Actually re-wrote that section so the processing is done by scanning the string by group, only for those that start with "blender."
Agreed. I'll add a "Todo" comment to icon_source_edit_cb
indicating that this text processing is suboptimal with all the inserts and has lots of room for optimization.
Right yeah, this is a pretty hacky function... that iterates over all the buttons in the popup to manually update their values depending Here, the
bt->str[0] == '{R,G,B,H,S,V,L}'
cases are…
I'm struggling testing a particular change. My gut feeling is that your change of bt->str == "Hex:"
to bt->type == UI_BTYPE_TEXT
could stop matching of the subsequent else clauses if those are…
If we use raw mouse input then we'll also need to handle drawing a virtual cursor so that we don't have visual de-syncs from raw mouse and cursor having different accelerations. This is doable,…
There is a change to block layout in the PR that might be responsible for the change I see in the alignment between the hex input and the color picker icon in some situations, which is most likely…
Is it an option to use RAW mouse pointer input? I know that means we don't get pointer acceleration, but perhaps we could do that ourselves? https://stackoverflow.com/questions/36862013/raw-input-a…