Merge main (engine menu tree) into M9.6; wire text animation menus
Animation ▸ Animate Text (Enable Per-character 3D, every animator property, Fill/Stroke Color RGB/Hue/Saturation/Brightness/Opacity submenus, Line Anchor, Character Value), Add Text Selector ▸ Range/Wiggly/Expression (text.addSelector now supports all kinds) and Text Animation Presets after Browse Presets, in the engine menu tree. Stubs replaced: text.perCharacter3d, animatorLineAnchor, animatorCharacterValue, addWigglySelector, addExpressionSelector. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -719,6 +719,7 @@ pub fn layer(project: &mut Project, comp: &Comp, name: &str, source: LayerSource
|
||||
track_matte: None,
|
||||
parent: None,
|
||||
markers: vec![],
|
||||
markers_locked: false,
|
||||
auto_orient,
|
||||
props: root,
|
||||
}
|
||||
|
||||
@@ -154,6 +154,16 @@ pub struct Comp {
|
||||
/// Global Light for layer styles (Layer ▸ Layer Styles ▸ Blending Options).
|
||||
#[serde(default)]
|
||||
pub global_light: styles::GlobalLight,
|
||||
/// Viewer guides (View ▸ Add Guide…), in comp pixels.
|
||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
pub guides: Vec<Guide>,
|
||||
}
|
||||
|
||||
/// A viewer guide line: vertical guides sit at an x position, horizontal ones at a y position.
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct Guide {
|
||||
pub vertical: bool,
|
||||
pub position: f64,
|
||||
}
|
||||
|
||||
fn yes() -> bool {
|
||||
@@ -182,6 +192,7 @@ impl Comp {
|
||||
enable_frame_blending: true,
|
||||
draft_3d: false,
|
||||
poster_time: Tick::ZERO,
|
||||
guides: vec![],
|
||||
global_light: styles::GlobalLight::default(),
|
||||
}
|
||||
}
|
||||
@@ -416,6 +427,9 @@ pub struct Layer {
|
||||
pub parent: Option<LayerId>,
|
||||
#[serde(default)]
|
||||
pub markers: Vec<Marker>,
|
||||
/// Layer ▸ Markers ▸ Lock Markers.
|
||||
#[serde(default, skip_serializing_if = "std::ops::Not::not")]
|
||||
pub markers_locked: bool,
|
||||
#[serde(default)]
|
||||
pub auto_orient: AutoOrient,
|
||||
/// The property tree (Masks, Effects, Transform, Text, Contents, Camera/Light options…).
|
||||
|
||||
Reference in New Issue
Block a user