diff --git a/surfaces/blender/brokkr_bridge/__init__.py b/surfaces/blender/brokkr_bridge/__init__.py index 7a6133c..e692a49 100644 --- a/surfaces/blender/brokkr_bridge/__init__.py +++ b/surfaces/blender/brokkr_bridge/__init__.py @@ -322,6 +322,33 @@ class BROKKR_PT_status(bpy.types.Panel): sync_row.operator("brokkr.publish_timeline_sync", icon="TIME") sync_row.operator("brokkr.refresh_sync_receipt", icon="FILE_REFRESH") + object_box = layout.box() + object_box.label(text="Object Sync") + object_box.prop(prefs, "sync_session_id") + object_box.prop(prefs, "sync_display_name") + object_box.prop(prefs, "unity_object_id") + object_box.prop(prefs, "unity_object_path") + object_box.prop(prefs, "sync_transform") + object_box.prop(prefs, "sync_parent") + object_box.prop(prefs, "sync_material") + object_box.prop(prefs, "sync_visibility") + object_box.prop(prefs, "sync_custom_properties") + property_column = object_box.column() + property_column.enabled = prefs.sync_custom_properties + property_column.prop(prefs, "unity_custom_property_component_type") + property_column.prop(prefs, "unity_custom_property_path") + property_column.prop(prefs, "blender_custom_property_path") + object_box.operator("brokkr.publish_object_sync", icon="LINKED") + + timeline_box = layout.box() + timeline_box.label(text="Timeline / Cinemachine") + timeline_box.prop(prefs, "unity_timeline_object_id") + timeline_box.prop(prefs, "unity_cinemachine_object_id") + timeline_box.prop(prefs, "blender_action_name") + timeline_box.prop(prefs, "sync_timeline_frame") + timeline_box.prop(prefs, "sync_cinemachine_camera") + timeline_box.operator("brokkr.publish_timeline_sync", icon="TIME") + var_box = layout.box() var_box.label(text="Ad Hoc Sync Var") var_box.prop(prefs, "ad_hoc_sync_var_binding_id") diff --git a/surfaces/blender/docs/install.md b/surfaces/blender/docs/install.md index b2599aa..52b50bb 100644 --- a/surfaces/blender/docs/install.md +++ b/surfaces/blender/docs/install.md @@ -45,11 +45,14 @@ owns the mirror state. 8. Click `Start Server`. 9. Use the reported `cultnet://host:port` endpoint from a CultMesh/CultNet client to read snapshots or write command intents. -10. Select a Blender object and click `Object Sync` to publish a +10. In the `Object Sync` section, set the Unity object id/path and lane toggles, + select a Blender object, then click `Object Sync` to publish a `brokkr.sync.object_binding.v0` plus per-lane `brokkr.sync.var.v0` records for transform, parent, visibility, material, and custom property sync. -11. Click `Timeline Sync` to publish a `brokkr.sync.timeline_binding.v0` for - Blender frame/action data and Unity Timeline/Cinemachine lanes. +11. In the `Timeline / Cinemachine` section, set the Unity Timeline and + Cinemachine targets, then click `Timeline Sync` to publish a + `brokkr.sync.timeline_binding.v0` for Blender frame/action data and Unity + Timeline/Cinemachine lanes. 12. After running `brokkr-daemon sync-once` or `sync-loop`, click `Refresh Sync Receipt` to show the latest daemon sync pass observed in the Blender mirror. Keep `Auto Drain Commands` enabled while `sync-loop` is