Skip to content

Commit

Permalink
Merge pull request #70 from ThisIsADogHello/master
Browse files Browse the repository at this point in the history
Fixes issue #65, where suddenly leaves stop generating.
  • Loading branch information
friggog authored Dec 19, 2021
2 parents 42e96a2 + 1a041f0 commit 07e83a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parametric/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
from .tree_params.tree_param import TreeParam

__console_logging__ = True
windman = bpy.context.window_manager

# ----- GENERAL FUNCTIONS ----- #

Expand Down Expand Up @@ -293,6 +292,7 @@ def create_leaf_mesh(self):
start_time = time.time()

# Start loading spinner
windman = bpy.context.window_manager
windman.progress_begin(0, len(self.leaves_array))

# go through global leaf array populated in branch making phase and add polygons to mesh
Expand Down

0 comments on commit 07e83a1

Please sign in to comment.