bug - copy paste layers with expressions
First, i'm not posting this in any bug area because I can't find it. What the hell adobe? But if someone actually wants to fix their software, they'll look into it.
How to mess things up:
Create a layer with an expression tied to a layer, lets name the layer "Blue 42"
In my case, the expression was this:
thisComp.layer("Blue 42").content("Rectangle 1").content("Rectangle Path 1").size
Create a few other layers, just in case that makes a difference.
Now copy all of the layers.
Paste them into another composition.
Your layer blue 42 is now blue 43? But the expression stays attached to blue 42.
So this is double wrong, in my opinion. If there is no blue42 in the new composition, the number shouldn't increase. Also, if a name is associated with an expression, in the past the expression has updated.
To avoid this problem, remove the numbers. It only increments if you have a number at the end. But it breaks your expression, and it also didn't give me an error, which I thought was odd. I no longer have the layer it's pointing to. Shouldn't it throw an error at me?
