Repository navigation
Conversation
…roject files
The project gets a tree of settings of its own, like a source or a layer.
Its first setting is "performance", off by default. Links reach it with
the target { "element": "project", "setting": "performance" }, which has
no id. It is written at the top of project files only when it is on, so
that a project in edit mode keeps its bytes.
…e, from keys and MIDI One function of the model, MappingManager::canChangeGeometry(), says whether the shape of a layer may change, by the mode of the project, the lock of the layer and where the change comes from. The settings that change a shape (the vertices, the columns and rows of a mesh) are marked with SettingInfo::geometry(); a key or a MIDI control linked to one of them does nothing while its layer is locked or the project is in performance mode. OSC and MCP still write them.
… OSC and MCP OSC writes them at /mapmap/project/<path>, with no id: /mapmap/project/performance 1 goes into performance mode. The MCP tools set_property and list_settings take the kind "project", and get_state tells whether the project is in performance mode. Both still move the shapes in performance mode, for a control desk, a script or the automatic mapping.
…yer and in performance mode The editors ask MappingManager::canChangeGeometry() whether a shape may change: in performance mode, as with a locked layer, its vertices are drawn small and red and cannot be dragged, the shape cannot be moved or turned, and the arrow keys no longer move its active vertex, which they did even on a locked layer. The inspector greys the settings that change a shape, the vertices and the columns and rows of a mesh, and says why in their tooltip.
One switch, without confirmation: a button of the toolbar, between the shapes and the output, red when on, with an "on air" icon; View > Performance Mode, Ctrl+Shift+L; or a key, a pad or a button learned on it. In performance mode a red banner, a label of the status bar and the title of the window say so. The commands that add, delete or change the shape of a layer are greyed, and say why in their tooltip: adding media, a camera, a generator or a shape, duplicating and deleting layers and sources, turning and flipping, the output resolution, Undo and Redo. They are kept in one group of actions, disabled at once. The duplicate and delete buttons of the list of layers, dropping media and Create Shapes of the automatic mapping are refused too. Showing, hiding, solo, opacity, playback, cues, effects and saving still work.
An installation that starts on its own can lock its shapes from the first image, even with a project saved in edit mode.
A click in Undo history would go back as Undo does: the list is greyed in performance mode, with the reason in its tooltip. Switching the mode is not a step of the history, and what was done before can still be undone after going back to edit mode.
The release notes, the shortcut Ctrl+Shift+L in the list of keyboard shortcuts, and the key "performance" and the link target "project" in the description of the project format.
The texts of the performance mode, in every language. French and Spanish were read by a speaker; Arabic, German, Hindi, Portuguese, Russian and Chinese, simplified and traditional, were not, and stay marked unfinished.
A second quick click comes to a widget as a double click, without a press, and the buttons of the list of layers only acted on a press: the eye, the solo or the lock of a layer took three clicks to go on and off quickly. A double click on a button now acts as a click, and no longer starts renaming the layer.
As on a mixing desk and in most programs for video and sound: a bold white letter of the size of the other icons, on its blue panel when the layer or the group is in solo, and pale where it does nothing. The release notes also mention the two quick clicks.
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Follows #710 (groups of layers).
Summary
performanceonly when it is on, so a project in edit mode keeps the same bytes. OSC sets it at/mapmap/project/performance, MCP with the kindproject, and links with the elementproject.--performancestarts in performance mode whatever the project says.Demo
mapmap --performance show.mmpwith a project saved in edit mode: it starts in performance mode.Tests
--performance: the banner, the title, the red button, the switch by the menu, the "S", and a clean quit.