Skip to content

Commit

Permalink
0.0.5 Fix texture resolution bug with node groups
Browse files Browse the repository at this point in the history
  • Loading branch information
semagnum committed Mar 25, 2024
1 parent 50f1382 commit cd53f4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
bl_info = {
"name": 'Scene Complexity',
"author": 'Spencer Magnusson',
"version": (0, 0, 4),
"version": (0, 0, 5),
"blender": (2, 93, 0),
"description": 'Analyze various aspects of scene to determine complexity',
"location": 'Properties -> Scene',
Expand Down
2 changes: 1 addition & 1 deletion operators/SA_OT_RefreshNodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_max_texture(curr_node: bpy.types.Node) -> int:

if not curr_node.mute:
if hasattr(curr_node, 'node_tree'):
return max(*[
return max([
get_max_texture(output)
for output in get_output_nodes(curr_node.node_tree)
])
Expand Down

0 comments on commit cd53f4d

Please sign in to comment.