Page MenuHome

Convert object to mesh does not apply geometry nodes modifier correctly if there is a point instance node
Closed, DuplicatePublic

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.11

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-08-15 23:08, hash: rB899935d5d024
Worked: None

Short description of error
Normally, if you run this operation 'bpy.ops.object.convert(target='MESH')' on the active mesh object then all the modifiers get applied at once. However, if the last modifier is a geometry nodes modifier and the last node before the group output in the modifiers node group is 'point instance' then running the above operation produces an empty mesh with no vertices

Exact steps for others to reproduce the error

  1. open the attached blend file
  2. Go to Object->Convert->Mesh
  3. Does not work as expected (the object mesh becomes empty)
  4. repeat everything but this time add any new modifier or add any node in geometry nodes after 'point instance' node
  5. Everything seems to work fine