fix: timeline marker selection

feat: basic test
This commit is contained in:
Swann 2021-06-24 17:45:34 +02:00
parent 2238a15c11
commit 6d9c9c4532
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB
3 changed files with 4 additions and 2 deletions

View File

@ -453,7 +453,7 @@ class BlScene(ReplicatedDatablock):
marker = datablock.timeline_markers.new(name, frame=frame)
if camera:
marker.camera = resolve_datablock_from_uuid(camera, bpy.data.objects)
marker.select = False
# FIXME: Find a better way after the replication big refacotoring
# Keep other user from deleting collection object by flushing their history
flush_history()

@ -1 +1 @@
Subproject commit ce3a7b4363ec9fa879925d57c8555decbc92158a
Subproject commit ff8872599187b5b65dc679aed3ab6441fc717c40

View File

@ -12,6 +12,8 @@ def test_scene(clear_blend):
get_preferences().sync_flags.sync_render_settings = True
datablock = bpy.data.scenes.new("toto")
datablock.timeline_markers.new('toto', frame=10)
datablock.timeline_markers.new('tata', frame=1)
datablock.view_settings.use_curve_mapping = True
# Test
implementation = BlScene()