Cleanup: Add comment explaining DPI influence on RNA pixel-properties

Good to be explicit about the fact that we may still use the pixel
property sub-type when DPI will be applied.
See comments in https://developer.blender.org/D7077.
This commit is contained in:
Julian Eisel
2020-03-10 15:12:20 +01:00
parent d55231e5a1
commit e06888cf89

View File

@@ -121,6 +121,8 @@ typedef enum PropertySubType {
PROP_PASSWORD = 6,
/* numbers */
/** A dimension in pixel units, possibly before DPI scaling (so value may not be the final pixel
* value but the one to apply DPI scale to). */
PROP_PIXEL = 12,
PROP_UNSIGNED = 13,
PROP_PERCENTAGE = 14,