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:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user