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

After Effects error : layer does not have a source.

Explorer ,
Apr 13, 2011 Apr 13, 2011

Hi All,

          I add a Text layer and then add my custom fill  effect to it. Then I call AdvItemSuite1()->PF_ForceRerender(in_data, &(params[0]->u.ld)) from AEGP for all the layers. But only for Text layer, AE pops up a dialog displaying the following error :

After Effects error : layer does not have a source.

(26::335)

Why is this happening? What other call can I use to rerender all the layers?

Thanks & Regards,

Dheeraj

TOPICS
SDK
19.5K
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

correct answers 1 Correct answer

Community Expert , Apr 19, 2011 Apr 19, 2011

text layers really don't have a source (as opposed to solids which do).

any source-related operation you will do an a text layer will give an error.

same goes for shape layers.

Translate
Explorer ,
Apr 13, 2011 Apr 13, 2011

For now just added a dummy parameter in the effect and calling AEGP_SetStreamValue() to render all the layer with effect.

Still don't know the reason for getting After Effects error dialog.

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
Contributor ,
Apr 13, 2011 Apr 13, 2011

Am 13.04.2011 12:21, schrieb dheeraj_c:

For now just added a dummy parameter in the effect and calling AEGP_SetStreamValue() to render all the layer with effect.

I also have experienced problems with PF_ForceRerender(),

AEGP_SetStreamValu() seems like an alternative solution...

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
Community Expert ,
Apr 19, 2011 Apr 19, 2011

text layers really don't have a source (as opposed to solids which do).

any source-related operation you will do an a text layer will give an error.

same goes for shape layers.

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
Explorer ,
Apr 19, 2011 Apr 19, 2011
LATEST

Thanks for the info Shachar.

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