Merge pull request #1030 from vbasky/fix/990-u-reveal-timeremap
This commit is contained in:
@@ -361,11 +361,11 @@ fn reveal(s: &mut Session, p: &Value) -> Result<Value> {
|
||||
let anchor = [w as f64 / 2.0, h as f64 / 2.0];
|
||||
let center = [comp.width as f64 / 2.0, comp.height as f64 / 2.0];
|
||||
// Properties at the top of the layer's tree (Time Remap): enabled time remapping is a
|
||||
// modification in itself.
|
||||
// modification in itself, so it reveals even with no keys left on it (#990).
|
||||
for pr in l.props.props() {
|
||||
let hit = match kind.as_str() {
|
||||
"keyframes" => pr.is_animated(),
|
||||
"animation" => pr.is_animated() || pr.has_expression(),
|
||||
"keyframes" => pr.is_animated() || pr.match_id == "timeRemap",
|
||||
"animation" => pr.is_animated() || pr.has_expression() || pr.match_id == "timeRemap",
|
||||
_ => pr.match_id == "timeRemap" || modified(pr, "", anchor, center),
|
||||
};
|
||||
if hit {
|
||||
|
||||
Reference in New Issue
Block a user