Miguel Pozo
Miguel Pozo
When replacing the draw function you lose the search functionality, right? Seems like the items parameter can be a callback that receives the current context, so that can be a...
It works, check Node Utils > Float, for example. Those multiple hashes is because this new UI is not tracking function overloads yet (the old did).
I've added support for enum properties. There's not any example in the branch, but this is how it can be used: ```glsl /* META @color: subtype=ENUM(Red,Green,Blue); default=1; */ vec3 test_enum(int...
All meta properties are inside a "meta" dictionary in their function/parameter. If you add ````python import pprint pprint.pprint(functions) ```` to the preload_menus function in MaltNodeTree.py you can see the whole...
The GLSL parameters are converter to MaltParameters inside MaltNode.setup_sockets: https://github.com/bnpr/Malt/blob/ceb2fda47da642c61f6f390eb546d06e579b5187/BlenderMalt/MaltNodes/MaltNode.py#L132 And then sent to the setup function of MaltPropertyGroup: https://github.com/bnpr/Malt/blob/ceb2fda47da642c61f6f390eb546d06e579b5187/BlenderMalt/MaltProperties.py#L114 In the case of the subtype, it always gets stored...
I've added a new Input file in Node Utils that implements new nodes more in line with the Cycles/EEVEE/ShadingEssentials style. What do you think?
> [7d757e9](https://github.com/bnpr/Malt/commit/7d757e9d505ab1aae9885cec5e8f2432c582f4b8) is a fix for the min and max meta properties. Before, unless both min AND max were set there wouldnt be any clamping. now either of them can...
> thats what you used before. soft_min and soft_max is nice because it allows for the slider UI and natural clamping of colors but also allows you do go beyond...
> I would prefer to just use soft_min and soft_max. 👍 > I just noticed that you made some changes to the nodes when merging from the node-ux---category-cleanup branch to...
> i am not familiar with potential benifits or drawbacks of using uints vs ints. But I guess if you could also replace this with an int then that would...