So, CSGPrimitive3D is a base class for CSGBox3D, CSGCylinder3D, CSGMesh3D, CSGPolygon3D, CSGSphere3D and CSGTorus3D: CSGPrimitive3D — Godot Engine (stable) documentation in English and every one of these classes has a property material of type Material, i.e. CSGBox3D — Godot Engine (stable) documentation in English
My question is, if anyone knows, is there any particular reason why this property is not in the CSGPrimitive3D instead of having it repeat in every class that inherits from CSGPrimitive3D?
It seems a very trivial change in Godot source to move material to CSGPrimitive3D, basically moving Ref<Material> material; from all of these extending classes to CSGPrimitive3D class: godot/modules/csg/csg_shape.h at 084d5d407e62efcd5be9de44148c5dedce3b9386 · godotengine/godot · GitHub, and if there are no obvious downsides I’m thinking to submit PR for it.
Thanks!
