Lukas Tönne LukasTonne
Lukas Tönne commented on pull request blender/blender#111348 2023-08-22 11:06:42 +02:00
Nodes: Panels integration with blend files and UI

Yeah, old legacy code ...

Lukas Tönne commented on pull request blender/blender#111348 2023-08-22 11:02:19 +02:00
Nodes: Panels integration with blend files and UI

Previously the node declaration stored a Vector<SocketDeclarationPtr> which could be passed straight to this function.

Now the node declaration is more complex, it can contain panel…

Lukas Tönne commented on pull request blender/blender#111348 2023-08-22 10:50:42 +02:00
Nodes: Panels integration with blend files and UI

comment added

  /* const_cast needed because the cache stores mutable item pointers, but needs a mutable
   * interface in order to get them. The interface itself is not modified here. */
Lukas Tönne commented on pull request blender/blender#111348 2023-08-22 10:44:19 +02:00
Nodes: Panels integration with blend files and UI

Another merge fuckup i guess ...

Lukas Tönne pushed to node-panels-final at LukasTonne/blender 2023-08-22 10:39:42 +02:00
d57c03023f Formatting fixes.
bfd317d939 C++ static cast.
623c92ff74 Removed is_child_panel_allowed property.
cfc0a12329 Formatting fix.
389fa71a88 Merge branch 'main' into node-panels-final
Compare 23 commits »
Lukas Tönne commented on pull request blender/blender#111348 2023-08-22 10:18:43 +02:00
Nodes: Panels integration with blend files and UI

Not sure where these changes are coming from, pretty sure i didn't add them deliberately and make format doesn't care either way. Could be some weird merge artifact ...

Lukas Tönne commented on pull request blender/blender#111348 2023-08-22 10:15:51 +02:00
Nodes: Panels integration with blend files and UI

Added a comment.

  /* The panel stack keeps track of the hierarchy of panels. When a panel declaration is found a
   * new #PanelUpdate is added to the stack. Items in the declaration are…
Lukas Tönne commented on pull request blender/blender#111348 2023-08-22 10:04:11 +02:00
Nodes: Panels integration with blend files and UI

Gitea lost track of the code here, still relevant?

Lukas Tönne pushed to geometry-nodes-flip at LukasTonne/blender 2023-08-21 18:07:50 +02:00
bb47b5f1fa Fixed a few more build issues.
Lukas Tönne commented on pull request blender/blender#111348 2023-08-21 17:18:05 +02:00
Nodes: Panels integration with blend files and UI

Not sure, just felt right to give users some way to tell if adding a panel is allowed or not. Could leave it out and just rely on the API method returning None (and printing a warning).

Lukas Tönne commented on pull request blender/blender#111348 2023-08-21 16:50:21 +02:00
Nodes: Panels integration with blend files and UI
Lukas Tönne pushed to node-panels-final at LukasTonne/blender 2023-08-21 16:46:28 +02:00
f1ef48e373 Add a little bit of space between node items, match previous layout.
Lukas Tönne pushed to node-panels-final at LukasTonne/blender 2023-08-21 16:39:51 +02:00
4be946e674 Fix crash due to socket identifier string not being written.
Lukas Tönne created pull request blender/blender#111348 2023-08-21 16:04:41 +02:00
Node panels: Integration with blend files and UI
Lukas Tönne deleted branch node-panels-rna from LukasTonne/blender 2023-08-21 16:01:28 +02:00
Lukas Tönne closed pull request LukasTonne/blender#1 2023-08-21 16:00:48 +02:00
Node panels: Enable new node group interfaces
Lukas Tönne pushed to node-panels-final at LukasTonne/blender 2023-08-21 15:57:20 +02:00
a837b068eb Check if child panels are allowed before trying to create them.
2cb1aa06ee Allow child panels in the interface root panel.
53c0a3ee04 Added a flag to control when a panel is allowed to contain other panels.
92b382f859 Cleanup: Fixed TODO comment.
74081c3b00 Added description and "default closed" flags to panel declarations.
Compare 14 commits »
Lukas Tönne reopened pull request LukasTonne/blender#1 2023-08-21 15:54:13 +02:00
Node panels: Enable new node group interfaces
Lukas Tönne pushed to node-panels-rna at LukasTonne/blender 2023-08-21 15:53:46 +02:00
Lukas Tönne created branch node-panels-rna in LukasTonne/blender 2023-08-21 15:53:46 +02:00