GUI: MaterialItem: derive descriptors from properties
DoubleDescriptors are mostly derived from DoubleProperty in the code.
In MaterialItem this was done differently, so this MR brings it in line with the common approach.
Steps of Descriptor refactoring:
- reduce usage of non-default functional pointers
set()andget() - move
Descriptorfunctionality toProperty - use
Propertyinstead ofDescriptor - remove
Descriptorfrom code - refactor serialization of
Property - replace
Propertymacro definitions likeDOUBLE_PROPERTY(intensity, Intensity)by explicit member with setter and getter
This MR does (1) for DoubleDescriptors and VectorDescriptors
Edited by Mikhail Svechnikov