Nodes: Rename ui_items property to items_tree #112527

Merged
Lukas Tönne merged 3 commits from LukasTonne/blender:rename-node-interface-ui-items into main 2023-09-18 18:07:33 +02:00
Member

DNA names are unchanged, just affects the RNA API.

Resolves #112523

DNA names are unchanged, just affects the RNA API. Resolves #112523
Lukas Tönne added 1 commit 2023-09-18 15:52:04 +02:00
Lukas Tönne added this to the Nodes & Physics project 2023-09-18 15:52:41 +02:00
Lukas Tönne requested review from Hans Goudey 2023-09-18 15:52:48 +02:00
Author
Member

@blender-bot build

@blender-bot build
Hans Goudey approved these changes 2023-09-18 16:03:40 +02:00
Member

Looks like renames are missing in geometry_nodes.py and node.py.

Whichever addons have already been updated for the new API should probably be changed too. At least this should be a simple rename.

Looks like renames are missing in `geometry_nodes.py` and `node.py`. Whichever addons have already been updated for the new API should probably be changed too. At least this should be a simple rename.
Hans Goudey changed title from Fix #112523: Renamed the `ui_items` property to `items_tree` to Fix #112523: Rename `ui_items` property to `items_tree` 2023-09-18 16:05:11 +02:00
Hans Goudey changed title from Fix #112523: Rename `ui_items` property to `items_tree` to Nodes: Rename `ui_items` property to `items_tree` 2023-09-18 16:05:24 +02:00
Author
Member

Looks like renames are missing in geometry_nodes.py and node.py.

Thanks for checking, good catch. I didn't notice i had a search file pattern set.

Whichever addons have already been updated for the new API should probably be changed too.

There don't seem to be any addons already using ui_items. I did a pass over addons a while ago and there are only a handful that actually access the old inputs/outputs lists of NodeTree and would need to be changed to interface.items_tree.

> Looks like renames are missing in geometry_nodes.py and node.py. Thanks for checking, good catch. I didn't notice i had a search file pattern set. > Whichever addons have already been updated for the new API should probably be changed too. There don't seem to be any addons already using `ui_items`. I did a pass over addons a while ago and there are only a handful that actually access the old `inputs`/`outputs` lists of `NodeTree` and would need to be changed to `interface.items_tree`.
Lukas Tönne added 1 commit 2023-09-18 16:24:18 +02:00
buildbot/vexp-code-patch-coordinator Build done. Details
9aeabfbe95
Replace uses of `ui_items` in scripts.
Author
Member

@blender-bot build

@blender-bot build
Member

There don't seem to be any addons already using ui_items

image

>There don't seem to be any addons already using ui_items ![image](/attachments/8792f361-dcf1-4607-a618-eadd4948bfbf)
Author
Member

Oh what ... VSCode seems to exclude the addons folder from searches, perhaps because it's "smart" and knows it's a different git repo ... sigh. And thanks for checking again :)

Oh what ... VSCode seems to exclude the addons folder from searches, perhaps because it's "smart" and knows it's a different git repo ... sigh. And thanks for checking _again_ :)
Lukas Tönne added 1 commit 2023-09-18 17:31:49 +02:00
buildbot/vexp-code-patch-coordinator Build done. Details
3c859b9dc7
Merge branch 'main' into rename-node-interface-ui-items
Author
Member

@blender-bot build

@blender-bot build
Lukas Tönne merged commit 742f3b233f into main 2023-09-18 18:07:33 +02:00
Lukas Tönne deleted branch rename-node-interface-ui-items 2023-09-18 18:07:35 +02:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: blender/blender#112527
No description provided.