Page MenuHome

Adding archimesh stairs object to the scene flips normals of all other objects in scene
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.64

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-11 13:50, hash: rB06312c6d2db8
Worked: (optional)

Short description of error
When adding a stairs object from archimesh (addon bundled with Blender), once stairs object is added, it flips normals of all the other objects in scene.

Exact steps for others to reproduce the error

  1. Enable archimesh addon
  2. Enable backface culling in viewport setting to see the normal orientation
  3. Add archimesh stairs to the scene

Result: Normals of all the scene objects are flipped
Expected: Normals of other scene objects remain unaffected

Event Timeline

Philipp Oeser (lichtwerk) triaged this task as Needs Information from User priority.

Cannot reproduce here.
[Stairs themselves have flipped normals on the side :), but thats another story... existing objects remain untouched afaict...]
[also dont see any recent commits that might have changed this...]

Do you have a .blend for us where this happens?

Cannot reproduce here.
[Stairs themselves have flipped normals on the side :), but thats another story... existing objects remain untouched afaict...]
[also dont see any recent commits that might have changed this...]


Do you have a .blend for us where this happens?

Yes, but it's a job file. Can't share it publicly, but I can send you privately. Where to?

This is not reproducable with a sharable file?

otherwise: are you on https://blender.chat/channel/blender-coders? (think we can send files one-to-one there...)

also, does this still happen with Factory Settings and just Archimesh enabled?

This is not reproducable with a sharable file?
otherwise: are you on https://blender.chat/channel/blender-coders? (think we can send files one-to-one there...)

I am unable to access that site. It just keeps loading infinitely.

Try following:

  1. Enable archimesh addon
  2. In an empty, new .blend file select default cube, go to edit mode, and recalculate normals inside (Mesh>Normals>Recalculate Inside)
  3. Exit edit mode back to object mode, and enable backface culling in Viewport Shading settings. Now you should see interior faces of the cube, as normals are inverted
  4. Add Archimesh Stairs object, and you should observe the face rendering immediately flip, so that you see outside faces despite normals being inside.
Philipp Oeser (lichtwerk) raised the priority of this task from Needs Information from User to Confirmed, Medium.Jul 16 2019, 2:43 PM

OKi, can repro now...

Bad usages of bpy.ops.object.select_all() in archimesh it seems, I wonder why it is not complaining if called with False...
All is good if you do bpy.ops.object.select_all(action='DESELECT'), this might not be needed even (stuff is deselected prior anyways...).
Will check on all this in a bit...