#include "BKE_movieclip.h"
#include "BKE_utildefines.h"
- #include "raskter.h"
-
+#ifdef USE_MANGO_MASK_CACHE_HACK
+
+#include "BLI_threads.h"
+
+typedef struct MaskRasterCache {
+ float *buffer;
+ int width, height;
+ short do_aspect_correct;
+ short do_mask_aa;
+ short do_feather;
+
+ ListBase layers;
+} MaskRasterCache;
+#endif
+
static MaskSplinePoint *mask_spline_point_next(MaskSpline *spline, MaskSplinePoint *points_array, MaskSplinePoint *point)
{
if (point == &points_array[spline->tot_point - 1]) {
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_ui_text(prop, "Show UV Editor", "Show UV editing related properties");
+ prop = RNA_def_property(srna, "view_settings", PROP_POINTER, PROP_NONE);
+ RNA_def_property_pointer_sdna(prop, NULL, "view_settings");
+ RNA_def_property_struct_type(prop, "ColorManagedViewSettings");
+ RNA_def_property_ui_text(prop, "View Settings", "Color management settings used for displaying images on the display");
+
+ prop = RNA_def_property(srna, "show_maskedit", PROP_BOOLEAN, PROP_NONE);
+ RNA_def_property_boolean_funcs(prop, "rna_SpaceImageEditor_show_maskedit_get", NULL);
+ RNA_def_property_clear_flag(prop, PROP_EDITABLE);
+ RNA_def_property_ui_text(prop, "Show Mask Editor", "Show Mask editing related properties");
+
rna_def_space_image_uv(brna);
/* mask */