Lukas Tönne LukasTonne
Lukas Tönne commented on pull request blender/blender#113445 2023-12-14 16:55:12 +01:00
Geometry Nodes: Menu Switch Node

Crash if I use ctrl+scrollwheel to go beyond the range of the menu

This appears to be a bug in RNA: item.identifier == nullptr indicates the end of the items list (as opposed to `identifier[…

Lukas Tönne commented on pull request blender/blender#114362 2023-12-14 16:18:53 +01:00
ID properties: Support enum values with items

That was surprisingly easy.

Example below shows adding an int property, then add enum items, and the button switches to a dropdown display. Also includes a demo of the modifier nodes case,…

Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-14 16:15:22 +01:00
40c8cf14a0 Merge branch 'enum-idproperty' into nodes-menu-switch
01d65b15fe Map IDP_INT properties to PROP_ENUM when it has enum items.
cf8a4e31bd Map IDP_INT properties to PROP_ENUM when it has enum items.
Compare 3 commits »
Lukas Tönne pushed to enum-idproperty at LukasTonne/blender 2023-12-14 16:15:05 +01:00
01d65b15fe Map IDP_INT properties to PROP_ENUM when it has enum items.
Lukas Tönne commented on pull request blender/blender#114362 2023-12-14 15:46:17 +01:00
ID properties: Support enum values with items

Still have to add a special case in rna_access.cc to actually display custom int properties with enum items as an PROP_ENUM property. It's currently based only on the base type, which always…

Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-14 15:14:52 +01:00
a462a30d28 Merge branch 'enum-idproperty' into nodes-menu-switch
ec606446f4 Sanity check for enum item strings.
Compare 2 commits »
Lukas Tönne pushed to enum-idproperty at LukasTonne/blender 2023-12-14 15:14:33 +01:00
ec606446f4 Sanity check for enum item strings.
Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-14 15:13:34 +01:00
639262ffd3 Sanity check for enum item strings.
Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-14 14:51:08 +01:00
f6ec8796dd Fix build errors due to renamed types and functions.
Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-14 14:32:08 +01:00
23db3306ea Merge branch 'enum-idproperty' into nodes-menu-switch
b04b607fdb Explain similarities and differences of enum item parsing functions.
97e6854d33 Use the icons enum list instead of a custom icon lookup function.
8ec58b4963 Comment on IDPropertyUIDataEnumItem.
4a9c399503 Merge branch 'main' into enum-idproperty
Compare 1219 commits »
Lukas Tönne commented on pull request blender/blender#114362 2023-12-14 14:18:34 +01:00
ID properties: Support enum values with items
Lukas Tönne pushed to enum-idproperty at LukasTonne/blender 2023-12-14 14:17:04 +01:00
b04b607fdb Explain similarities and differences of enum item parsing functions.
97e6854d33 Use the icons enum list instead of a custom icon lookup function.
8ec58b4963 Comment on IDPropertyUIDataEnumItem.
Compare 3 commits »
Lukas Tönne pushed to enum-idproperty at LukasTonne/blender 2023-12-14 13:50:14 +01:00
4a9c399503 Merge branch 'main' into enum-idproperty
5197dd2a7a Cleanup: use local variable, replace pointer with reference
40a89c0984 GHOST/X11: Enable desktop sample capability
1e931f5bd7 Anim: Bake Channel operator
1a998c73eb Fix: Keying Channel Defaults
Compare 9 commits »
Lukas Tönne pushed to enum-idproperty at LukasTonne/blender 2023-12-14 13:40:29 +01:00
d802031c70 Fixed python value parsing for enum property assignment.
2200e11fcd Fixed enum property python test, the EnumValue class has been removed.
Compare 2 commits »
Lukas Tönne pushed to enum-idproperty at LukasTonne/blender 2023-12-14 12:18:34 +01:00
23a0955566 Remove the idprop serializer tests for enums.
Lukas Tönne pushed to enum-idproperty at LukasTonne/blender 2023-12-14 12:02:39 +01:00
8c99b46cdb Removed Enum IDProperty type and support enum items as part of IDP_INT.
6dcf06f253 Merge branch 'main' into enum-idproperty
5c868e92d6 Fix #115581: Channel Context Menu mis-labeled
92ad16ab90 Anim: Don't use keying sets when inserting keyframes during autokeying
a8e13994b8 Realtime Compositor: Implement Cryptomatte node
Compare 947 commits »
Lukas Tönne commented on pull request blender/blender#114362 2023-12-14 10:29:48 +01:00
ID properties: Support enum values with items

Do we need an actual eIDPropertySubType for enums? That seems somewhat redundant: if the property has enum items it's an enum, otherwise it's a plain int. The eIDPropertySubType also has a…

Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-13 10:24:49 +01:00
60c90795a7 Added missing tree source when making new VolumeGrids.
Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-13 10:16:17 +01:00
c091d64b86 Merge branch 'volume-grid-sockets' into grid-extension-test
fc60f30b4f Merge branch 'main' into volume-grid-sockets
3f485c8bf3 Geometry Nodes: add support for blackbody shader node
23df139aaf IMB: Read single-layer XYZ channels as a combined image
356480fabb Realtime Compositor: Add static cached images
Compare 152 commits »
Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-13 10:14:56 +01:00
fc60f30b4f Merge branch 'main' into volume-grid-sockets
3f485c8bf3 Geometry Nodes: add support for blackbody shader node
23df139aaf IMB: Read single-layer XYZ channels as a combined image
356480fabb Realtime Compositor: Add static cached images
a56d0c700c Fix GHOST/Wayland handling of out-of-order time-stamps
Compare 43 commits »