Skip to content

Commit

Permalink
fix: restore extra transform to identy when entering bme operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
yyc12345 committed May 10, 2024
1 parent 36e9251 commit 190be6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bbp_ng/OP_ADDS_bme.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ def poll(cls, context):
return PROP_preferences.get_raw_preferences().has_valid_blc_tex_folder()

def invoke(self, context, event):
# reset extra transform to identy
self.extra_translation = (0.0, 0.0, 0.0)
self.extra_rotation = (0.0, 0.0, 0.0)
self.extra_scale = (1.0, 1.0, 1.0)
# create internal list
self.bme_struct_cfg_index_cache = []
# trigger default bme struct type updator
Expand Down

0 comments on commit 190be6e

Please sign in to comment.