Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REGRESSION: ATTR_light_level directive in custom attributes is reset in newer exporter #701

Open
GlidingKiwi opened this issue Jun 5, 2022 · 2 comments
Assignees
Labels

Comments

@GlidingKiwi
Copy link

When trying to use the latest exporter (4.20RC1), I get a strange result for all objects with an ATTR_light_level attribute:
image

The export result is correct using the 4.0.0 exporter (using Blender 2.93)

I will send a simple Blender file to Ben via Slack that allows reproducing this issue.

@bsupnik
Copy link
Collaborator

bsupnik commented Jun 6, 2022

Hi,

I want to make sure this is a correct summary of the bug:

  • The test file has an ATTR_light_level that is meant to cover a WIDE variety of elements attached as a CUSTOM property of a mesh that is a parent to a bunch of other stuff in the hierarchy.
  • No light levels are set on the materials or meshes anywhere within the hierarchy.
  • The expectation is the light level will apply to the entire set of meshes.
  • The actual result is that the light levels are reset before each mesh and have no effect.
    Could you please post the CORRECT OBJ from 4.0 as you expected it (OBJ output) to this ticket?

@bsupnik bsupnik changed the title ATTR_light_level directive immediately cancelled with subsequent ATTR_light_level_reset REGRESSION: ATTR_light_level directive in custom attributes is reset in newer exporter Jun 6, 2022
@bsupnik bsupnik added the Bug label Jun 6, 2022
@bsupnik bsupnik self-assigned this Jun 6, 2022
@GlidingKiwi
Copy link
Author

GlidingKiwi commented Jun 6, 2022

As requested, here is the output from the 4.0.0 exporter of the test file:
Signs_test.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants