WIP: Brush assets project #106303
|
@ -402,7 +402,8 @@ static void brush_asset_metadata_ensure(void *asset_ptr, AssetMetaData *asset_da
|
||||||
{"use_paint_image", OB_MODE_TEXTURE_PAINT},
|
{"use_paint_image", OB_MODE_TEXTURE_PAINT},
|
||||||
{"use_paint_grease_pencil", OB_MODE_PAINT_GPENCIL_LEGACY},
|
{"use_paint_grease_pencil", OB_MODE_PAINT_GPENCIL_LEGACY},
|
||||||
{"use_vertex_grease_pencil", OB_MODE_VERTEX_GPENCIL_LEGACY},
|
{"use_vertex_grease_pencil", OB_MODE_VERTEX_GPENCIL_LEGACY},
|
||||||
{"use_paint_sculpt_curves", OB_MODE_SCULPT_CURVES}};
|
{"use_paint_sculpt_curves", OB_MODE_SCULPT_CURVES},
|
||||||
|
};
|
||||||
|
|
||||||
for (const auto &mode_mapping : mode_map) {
|
for (const auto &mode_mapping : mode_map) {
|
||||||
/* Only add bools for supported modes. */
|
/* Only add bools for supported modes. */
|
||||||
|
|
|
@ -765,7 +765,7 @@ class IDPUnknownSerializer : public IDPropertySerializer {
|
||||||
|
|
||||||
/* Serializers are constructed statically to remove construction/destruction. */
|
/* Serializers are constructed statically to remove construction/destruction. */
|
||||||
static constexpr IDPStringSerializer IDP_SERIALIZER_STRING;
|
static constexpr IDPStringSerializer IDP_SERIALIZER_STRING;
|
||||||
static constexpr IDPIntSerializer IDP_SERIALIZER_BOOL;
|
static constexpr IDPBoolSerializer IDP_SERIALIZER_BOOL;
|
||||||
static constexpr IDPIntSerializer IDP_SERIALIZER_INT;
|
static constexpr IDPIntSerializer IDP_SERIALIZER_INT;
|
||||||
static constexpr IDPFloatSerializer IDP_SERIALIZER_FLOAT;
|
static constexpr IDPFloatSerializer IDP_SERIALIZER_FLOAT;
|
||||||
static constexpr IDPDoubleSerializer IDP_SERIALIZER_DOUBLE;
|
static constexpr IDPDoubleSerializer IDP_SERIALIZER_DOUBLE;
|
||||||
|
|
Loading…
Reference in New Issue