Merge pull request #289 from storytold/fix/227-shape-effect-points
Effects: effect points on shape layers start at the layer centre (#227) # Conflicts: # crates/ui-egui/src/panels/puppet_tool.rs # crates/ui-egui/src/panels/viewer.rs
This commit is contained in:
@@ -27,7 +27,13 @@ use serde::{Deserialize, Serialize};
|
||||
pub use effectcraft_keyframe as keyframe;
|
||||
pub use effectcraft_keyframe::{Keyframe, Value};
|
||||
|
||||
pub const SCHEMA_VERSION: u32 = 1;
|
||||
/// The project file schema. 2: effects on layers without a source rectangle (shape, text)
|
||||
/// measure positions from the top-left of their comp-sized bounds (effect space), not from
|
||||
/// the layer's origin; projects from schema 1 are converted when opened (#227).
|
||||
pub const SCHEMA_VERSION: u32 = 2;
|
||||
|
||||
/// The first schema in which effect positions are in effect space (see [`SCHEMA_VERSION`]).
|
||||
pub const SCHEMA_EFFECT_SPACE: u32 = 2;
|
||||
|
||||
/// The EffectCraft version, written into project files as `savedBy`.
|
||||
pub const APP_VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
Reference in New Issue
Block a user