Fix #107186: Curve assets don't generate preview images #107214
|
@ -532,7 +532,8 @@ typedef enum ObjectType {
|
|||
#define OB_TYPE_SUPPORT_MATERIAL(_type) \
|
||||
(((_type) >= OB_MESH && (_type) <= OB_MBALL) || \
|
||||
((_type) >= OB_GPENCIL_LEGACY && (_type) <= OB_VOLUME))
|
||||
/** Does the object have some render-able geometry (unlike empties, cameras, etc.). */
|
||||
/** Does the object have some render-able geometry (unlike empties, cameras, etc.). True for
|
||||
* #OB_CURVES_LEGACY, since these often evaluate to objects with geometry. */
|
||||
|
||||
#define OB_TYPE_IS_GEOMETRY(_type) \
|
||||
(ELEM(_type, \
|
||||
OB_MESH, \
|
||||
|
@ -540,6 +541,7 @@ typedef enum ObjectType {
|
|||
OB_FONT, \
|
||||
OB_MBALL, \
|
||||
OB_GPENCIL_LEGACY, \
|
||||
Julian Eisel
commented
I think this needs a comment explaining why this is considered to be "geometry", since it wouldn't appear so. I'd just update the macro description like this:
I think this needs a comment explaining why this is considered to be "geometry", since it wouldn't appear so.
I'd just update the macro description like this:
```
/** Does the object have some render-able geometry (unlike empties, cameras, etc.). Evaluates to true for #OB_CURVES_LEGACY, since these often evaluate to objects with geometry. */
```
Philipp Oeser
commented
done done
|
||||
OB_CURVES_LEGACY, \
|
||||
OB_CURVES, \
|
||||
OB_POINTCLOUD, \
|
||||
OB_VOLUME))
|
||||
|
|
Loading…
Reference in New Issue
Ouups, "evaluates [...] evaluate [...]" not nice English :)