Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Text layer is not in the correct location unless soloe

New Here ,
Jun 17, 2024 Jun 17, 2024

I've got a tricky one. More than one of my text layers are not visually in the correct position, although their position property is set to the correct position value and the bounding box sits in that correct position value as well. It is the result of an expression that I use often, which I've added here:

t = thisComp.layer(4);
p = t.transform.yPosition;
r = t.sourceRectAtTime().height/2;
s = t.transform.scale[0]/100;
m = 40;
t2 = thisComp.layer(2);
p2 = t2.transform.yPosition;
r2 = t2.sourceRectAtTime().height/2;
s2 = t2.transform.scale[0]/100;
m2 = 10;

clamp(p - (s*r) - m,p2 + (s2*r2) + m2,thisComp.height/2)

 De-activating this expression solves the problem, along with soloing the layer itself. I've reset the text properties, tried variations of every possible character and paragraph property to no avail. Here's a screenshot of the issue (asdf is the text layer in question): 
aeBug.png

 

Any idea on a fix for this? I've purged the cache, restarted my PC and AE, etc. I don't think I can turn off the expression for this example without breaking the project entirely.

Bug Unresolved
TOPICS
Expressions , Troubleshooting
87
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation