Fix #118769: Remove parent parameter from new_panel function #118792

Merged
Lukas Tönne merged 2 commits from LukasTonne/blender:purge-panel-parent-parameter into main 2024-02-27 13:30:23 +01:00
Member

Nested panels are not supported currently, and this parameter serves no
actual purposes. Only the root panel supports adding child panels and it
is not user-accessible (adding the root panel is done using a nullptr
for the parent).

Nested panels are not supported currently, and this parameter serves no actual purposes. Only the root panel supports adding child panels and it is not user-accessible (adding the root panel is done using a nullptr for the parent).
Lukas Tönne added 1 commit 2024-02-27 11:29:37 +01:00
Nodes: Remove parent parameter from the new_panel function.
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
697116bac4
Nested panels are not supported currently, and this parameter serves no
actual purposes. Only the root panel supports adding child panels and it
is not user-accessible (adding the root panel is done using a nullptr
for the parent).
Lukas Tönne requested review from Brecht Van Lommel 2024-02-27 11:29:48 +01:00
Lukas Tönne added this to the Module: Nodes & Physics project 2024-02-27 11:29:56 +01:00
Author
Member

This would be a breaking change.

This would be a breaking change.
Brecht Van Lommel approved these changes 2024-02-27 11:43:08 +01:00
Author
Member

@blender-bot build

@blender-bot build
Lukas Tönne added 1 commit 2024-02-27 12:40:49 +01:00
Removed broken test case, this is no longer supported by the API.
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
a5fda1f0b2
Author
Member

@blender-bot build

@blender-bot build
Lukas Tönne merged commit b1636bc781 into main 2024-02-27 13:30:23 +01:00
Lukas Tönne deleted branch purge-panel-parent-parameter 2024-02-27 13:30:26 +01:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#118792