Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

1.4 KB
Raw Blame
# Timeline position (#63): the Sculpt Timeline strip runs along the top of the viewport by default, away from the
# brush shelf, below the top shelf, with the axis gizmo below it; Preferences > Interface puts it back at the
# bottom, and the choice saves itself.
run ui_look look=classic layout=classic        # written for the Classic look and the classic palette bar and shelves
run new_sphere subdivisions=4
stroke 0.35 0.40 0.60 0.45
expect_value timeline_top == 1
expect_value timeline_y >= 0
expect_value timeline_y < 0.05
expect_value axis_gizmo_y > 0.1
shot top

# Scrubbing works at the top: drag to the start of the track.
drag_item "##track" -2000 0
expect_value timeline_cursor == 0

# Preferences > Interface > Timeline position: Bottom.
click "Preferences##palette.preferences"
click "Interface##preferences.interface"
expect_text "Timeline position"
expect "Top of viewport##view.timeline_top"
click "Bottom##view.timeline_bottom"
expect_value timeline_top == 0
shot preferences-interface
key escape
expect_value timeline_y > 0.8
expect_value axis_gizmo_y < 0.1
shot bottom

# The choice saves itself (#117): it is still there after a restart, and so is the next one.
restart
expect_value timeline_top == 0
click "Preferences##palette.preferences"
click "Interface##preferences.interface"
click "Top of viewport##view.timeline_top"
key escape
expect_value timeline_top == 1
restart
expect_value timeline_top == 1