Fix #107186: Curve assets don't generate preview images #107214

Merged
Philipp Oeser merged 3 commits from lichtwerk/blender:107186 into main 2023-04-25 11:25:27 +02:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit fd0d4987c9 - Show all commits

View File

@ -540,6 +540,7 @@ typedef enum ObjectType {
OB_FONT, \
OB_MBALL, \
OB_GPENCIL_LEGACY, \
OB_CURVES_LEGACY, \

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. */
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. */ ```

done

done
OB_CURVES, \
OB_POINTCLOUD, \
OB_VOLUME))