Update for Blender 5.2

- use new api compositor access
- Fix file output nodes connexion/renumber/rename/slots handlibng
- consider the new output types
- fixes node position with new API
- fix errors with handler

LLM assisted update
This commit is contained in:
Pullusb
2026-09-29 18:57:26 +02:00
parent 02aa67fc26
commit d650ec8c98
12 changed files with 295 additions and 179 deletions
+4 -2
View File
@@ -7,6 +7,8 @@ from bpy.props import (BoolProperty,
CollectionProperty,
StringProperty)
from .. import fn
def list_simplify_affected_objects(context):
"""Return a list of object affected by simplify
return : [[obj, [{type: "SUBSURF", ..}, {..}], icon], ..]
@@ -103,7 +105,7 @@ def list_simplify_affected_objects(context):
# If object has affected data, add it to the list
if affected_data:
ob_list.append([obj, affected_data, "OUTLINER_OB_" + obj.type])
ob_list.append([obj, affected_data, fn.get_object_icon(obj)])
return ob_list
@@ -288,7 +290,7 @@ class RT_OT_list_object_affected_by_simplify(Operator):
# Create subrow for hair info
subrow = row.row()
subrow.label(text=f"Hair: {mod.name}", icon='HAIR')
subrow.label(text=f"Hair: {mod.name}", icon='CURVES_DATA')
subrow.label(text=f"Node Group: {data['node_group']}")
elif data['type'] == 'SUBSURFACE':