Skip to content

Commit

Permalink
Removed some trailing whitespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusiq committed Aug 27, 2023
1 parent efa5392 commit d498e9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mcblend/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1711,7 +1711,7 @@ class MCBLEND_OT_MoveFakeRc(Operator):
bl_idname = "mcblend.move_fake_rc"
bl_label = "Move render controller"
bl_description = "Change the order of render controllers in this entity"

bl_options = {'UNDO', 'INTERNAL'}

rc_index: IntProperty() # type: ignore
Expand Down
4 changes: 2 additions & 2 deletions mcblend/resource_pack_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def update_selected_entity(self, context) -> None:
db_handler = get_db_handler()
for rc_pk, rc_identifier in db_handler.list_entity_render_controllers(pk):
rc = self.entity_render_controllers.add()
rc.primary_key = -1 if rc_pk is None else rc_pk
rc.primary_key = -1 if rc_pk is None else rc_pk
rc.identifier = rc_identifier
rc.active_entity_pk = pk
for pattern in db_handler.list_bone_name_patterns(rc_pk):
Expand All @@ -265,7 +265,7 @@ def update_selected_attachable(self, context) -> None:
db_handler = get_db_handler()
for rc_pk, rc_identifier in db_handler.list_attachable_render_controllers(pk):
rc = self.attachable_render_controllers.add()
rc.primary_key = -1 if rc_pk is None else rc_pk
rc.primary_key = -1 if rc_pk is None else rc_pk
rc.identifier = rc_identifier
rc.active_attachable_pk = pk
for pattern in db_handler.list_bone_name_patterns(rc_pk):
Expand Down

0 comments on commit d498e9e

Please sign in to comment.