editor: the material panel cannot author ratio_scatter or amplitude_tilt #59
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
bcox/tymbal#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Patch format minor 30 added two
MaterialSpecfields on themodal-cymbalsbranch --
ratio_scatterandamplitude_tilt-- andeditor/patch_view.h'smaterial panel has no widget for either.
grep -c "ratio_scatter\|amplitude_tilt" editor/patch_view.his 0.Not a data-loss bug.
OpenModeTablecopies the whole stored spec intonavigation->material, the panel edits that struct in place, and Generateapplies all eight fields -- so opening
crash.dsppatch, changing the aspectand regenerating preserves
ratio_scatter = 0.02andamplitude_tilt = 0.125.What is missing is authoring. A new plate cannot be given either knob from the
UI, and the crash cymbal's two defining parameters are invisible in the only
surface that authors a
MaterialSpec. That sits badly against the panel's ownstated principle, which is that 160 numbers is not a control surface --
editor/patch_view.h's header now says MGEN "gives an author their eightknobs back" and two of the eight are C++-only.
Both fields are declared "Every material" in
materials/spec.h, so they belongin the material-independent block beside Damping tilt rather than in any
per-material group.
Two
SliderFloats, or a sentence in that header saying two of the eight areauthorable only from
patches/.Found by the whole-branch review of
modal-cymbals.