Merge remote-tracking branch 'origin/master' into blender2.8
This commit is contained in:
@@ -552,6 +552,7 @@ from .properties_mask_common import (
|
|||||||
MASK_PT_point,
|
MASK_PT_point,
|
||||||
MASK_PT_display,
|
MASK_PT_display,
|
||||||
MASK_PT_tools,
|
MASK_PT_tools,
|
||||||
|
MASK_PT_add,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -580,6 +581,20 @@ class IMAGE_PT_active_mask_point(MASK_PT_point, Panel):
|
|||||||
bl_region_type = 'UI'
|
bl_region_type = 'UI'
|
||||||
|
|
||||||
|
|
||||||
|
class IMAGE_PT_tools_mask(MASK_PT_tools, Panel):
|
||||||
|
bl_space_type = 'IMAGE_EDITOR'
|
||||||
|
bl_region_type = 'TOOLS'
|
||||||
|
bl_category = 'Mask'
|
||||||
|
|
||||||
|
class IMAGE_PT_tools_mask_add(MASK_PT_add, Panel):
|
||||||
|
bl_space_type = 'IMAGE_EDITOR'
|
||||||
|
bl_region_type = 'TOOLS'
|
||||||
|
bl_category = 'Mask'
|
||||||
|
|
||||||
|
|
||||||
|
# --- end mask ---
|
||||||
|
|
||||||
|
|
||||||
class IMAGE_PT_image_properties(Panel):
|
class IMAGE_PT_image_properties(Panel):
|
||||||
bl_space_type = 'IMAGE_EDITOR'
|
bl_space_type = 'IMAGE_EDITOR'
|
||||||
bl_region_type = 'UI'
|
bl_region_type = 'UI'
|
||||||
@@ -1158,12 +1173,6 @@ class IMAGE_PT_uv_sculpt(Panel, ImagePaintPanel):
|
|||||||
col.prop(uvsculpt, "show_brush")
|
col.prop(uvsculpt, "show_brush")
|
||||||
|
|
||||||
|
|
||||||
class IMAGE_PT_tools_mask(MASK_PT_tools, Panel):
|
|
||||||
bl_space_type = 'IMAGE_EDITOR'
|
|
||||||
bl_region_type = 'TOOLS'
|
|
||||||
bl_category = 'Mask'
|
|
||||||
|
|
||||||
# --- end mask ---
|
|
||||||
|
|
||||||
|
|
||||||
class IMAGE_PT_options_uvs(Panel, UVToolsPanel):
|
class IMAGE_PT_options_uvs(Panel, UVToolsPanel):
|
||||||
@@ -1348,6 +1357,7 @@ classes = (
|
|||||||
IMAGE_HT_header,
|
IMAGE_HT_header,
|
||||||
MASK_MT_editor_menus,
|
MASK_MT_editor_menus,
|
||||||
IMAGE_PT_mask,
|
IMAGE_PT_mask,
|
||||||
|
IMAGE_PT_tools_mask_add,
|
||||||
IMAGE_PT_mask_layers,
|
IMAGE_PT_mask_layers,
|
||||||
IMAGE_PT_mask_display,
|
IMAGE_PT_mask_display,
|
||||||
IMAGE_PT_active_mask_spline,
|
IMAGE_PT_active_mask_spline,
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ extern "C" {
|
|||||||
#include "BKE_layer.h"
|
#include "BKE_layer.h"
|
||||||
#include "BKE_lamp.h"
|
#include "BKE_lamp.h"
|
||||||
#include "BKE_library.h"
|
#include "BKE_library.h"
|
||||||
|
#include "BKE_texture.h"
|
||||||
#include "BKE_fcurve.h"
|
#include "BKE_fcurve.h"
|
||||||
#include "BKE_scene.h"
|
#include "BKE_scene.h"
|
||||||
#include "BKE_global.h"
|
#include "BKE_global.h"
|
||||||
|
|||||||
@@ -318,6 +318,7 @@ LogImageFile *cineonOpen(const unsigned char *byteStuff, int fromMemory, size_t
|
|||||||
printf("Gamma: %f\n", cineon->gamma);
|
printf("Gamma: %f\n", cineon->gamma);
|
||||||
printf("Reference black: %f\n", cineon->referenceBlack);
|
printf("Reference black: %f\n", cineon->referenceBlack);
|
||||||
printf("Reference white: %f\n", cineon->referenceWhite);
|
printf("Reference white: %f\n", cineon->referenceWhite);
|
||||||
|
printf("Orientation: %d\n", header.imageHeader.orientation);
|
||||||
printf("----------------------------\n");
|
printf("----------------------------\n");
|
||||||
}
|
}
|
||||||
return cineon;
|
return cineon;
|
||||||
|
|||||||
@@ -377,6 +377,7 @@ LogImageFile *dpxOpen(const unsigned char *byteStuff, int fromMemory, size_t buf
|
|||||||
printf("Gamma: %f\n", dpx->gamma);
|
printf("Gamma: %f\n", dpx->gamma);
|
||||||
printf("Reference black: %f\n", dpx->referenceBlack);
|
printf("Reference black: %f\n", dpx->referenceBlack);
|
||||||
printf("Reference white: %f\n", dpx->referenceWhite);
|
printf("Reference white: %f\n", dpx->referenceWhite);
|
||||||
|
printf("Orientation: %d\n", header.imageHeader.orientation);
|
||||||
printf("----------------------------\n");
|
printf("----------------------------\n");
|
||||||
}
|
}
|
||||||
return dpx;
|
return dpx;
|
||||||
|
|||||||
Reference in New Issue
Block a user