Skip to content

Commit

Permalink
Disable avatar_to_viewport prop if in object spawn mode
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Feb 13, 2024
1 parent 51d0304 commit ff0d921
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/io_hubs_addon/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ def draw(self, context: Context):

row = box.row()
row.prop(context.scene.hubs_scene_debugger_room_export_prefs, "avatar_to_viewport")
if "debugLocalScene" not in hubs_session.room_params:
row.enabled = False


class HUBS_PT_ToolsSceneSessionPanel(bpy.types.Panel):
Expand Down

0 comments on commit ff0d921

Please sign in to comment.