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

Useless ATTR_blend written for Instanced Scenery Object with 1 (non-Alpha Blend) Material #366

Closed
tngreene opened this issue Jul 30, 2018 · 1 comment
Assignees
Labels

Comments

@tngreene
Copy link
Contributor

tngreene commented Jul 30, 2018

Steps to reproduce

Make a new Blend file, with 1 cube and 1 empty. Create and use 1 material set to anything but "Alpha Blend". Export.

Expected Result

You'll see only what you need to see - one ATTR_no_blend, or if you're using "Instanced Scenery Object" Just GLOBAL_no_blend.

Real Result

You'll see
GLOBAL_no_blend 0.5 (if using Instanced Scenery Object)
...

ATTR_blend
ATTR_no_blend 0.5

In your OBJ

Obviously this is inefficient, but it could also be a source of Visual bugs.

One thing that is very interesting: One Cube only: No problem. Two cubes: No problem. 1 Cube and 1 Empty, even if the empty is not the parent: Problem! 1 Cube and 1 Armature: Problem! Even if the armature has no children or nothing connected to bones.

@tngreene
Copy link
Contributor Author

Fixed with bc41717

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

1 participant