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

JS Scipt... unable to add Ambient Occlusion channel ... possible bug in JS API?

New Here ,
Jul 04, 2023 Jul 04, 2023

Copy link to clipboard

Copied

Nearly finished an import/export plugin.
I need to add 4 channels to the default ones when creating a new project.

They all work... except ambient occusion. . Found the keys are not case sensitive. I can add "Ambient Occlusion" channel manually but need it in the script.

 

Hoek67_0-1688508369998.png

Even though the error coses says maybe it is already added, it not as I'm then able to manually add it.
Seems like a possible bug.

 

PS - Also tried AMBIENT_OCCLUSION

Bug Unresolved
TOPICS
Bugs & Crashes , Discussion , Import & Export , Scripting

Views

37

Translate

Translate

Report

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

New Here , Jul 04, 2023 Jul 04, 2023

SOLUTION (found it)

"AmbientOcclusion" with no spaces.

Votes

Translate

Translate
2 Comments
New Here ,
Jul 04, 2023 Jul 04, 2023

Copy link to clipboard

Copied

NOTE - also tried "ambient occlusion" (was 1st option before trying every other combo I could think of)

Votes

Translate

Translate

Report

Report
New Here ,
Jul 04, 2023 Jul 04, 2023

Copy link to clipboard

Copied

LATEST

SOLUTION (found it)

"AmbientOcclusion" with no spaces.

Votes

Translate

Translate

Report

Report
Resources