Merge branch 'master' into blender2.8
[blender.git] / source / blender / makesrna / intern / rna_sculpt_paint.c
index 51f41f1d77588aa0ea848043c23743963e95d304..49988f75fccde1d64cf099504989b3590e875673 100644 (file)
@@ -76,6 +76,7 @@ EnumPropertyItem rna_enum_gpencil_sculpt_brush_items[] = {
        { 0, NULL, 0, NULL, NULL }
 };
 
+#ifndef RNA_RUNTIME
 static EnumPropertyItem rna_enum_gpencil_lockaxis_items[] = {
        { GP_LOCKAXIS_NONE, "GP_LOCKAXIS_NONE", 0, "None", "" },
        { GP_LOCKAXIS_X, "GP_LOCKAXIS_X", 0, "X", "Project strokes to plane locked to X" },
@@ -83,6 +84,7 @@ static EnumPropertyItem rna_enum_gpencil_lockaxis_items[] = {
        { GP_LOCKAXIS_Z, "GP_LOCKAXIS_Z", 0, "Z", "Project strokes to plane locked to Z" },
        { 0, NULL, 0, NULL, NULL }
 };
+#endif
 
 EnumPropertyItem rna_enum_symmetrize_direction_items[] = {
        {BMO_SYMMETRIZE_NEGATIVE_X, "NEGATIVE_X", 0, "-X to +X", ""},