You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removing custom material variable inside of LineMesh (#16767)
LineMesh uses its own private variable to hold the material of the mesh.
The problem with this, is that Mesh has logic related to materials and
LineMesh while inheriting from Mesh, is missing all this logic.
I have removed the custom variable inside of LineMesh and adjusted the
code to use the Material of the Mesh class instead. I have maintained
the LineMesh interface where get/set material returns Material instead
of Nullable<Material> like Mesh does.
0 commit comments