Commit: 9be7037e5a14fea72b7faca8ff9468e8939edf02
Author: Tianwei Shen
Date:   Fri Jul 15 00:08:20 2016 +0800
Branches: soc-2016-multiview
https://developer.blender.org/rB9be7037e5a14fea72b7faca8ff9468e8939edf02

add correspondence mode

===================================================================

M       source/blender/editors/include/UI_icons.h
M       source/blender/makesdna/DNA_space_types.h
M       source/blender/makesrna/intern/rna_space.c

===================================================================

diff --git a/source/blender/editors/include/UI_icons.h 
b/source/blender/editors/include/UI_icons.h
index d85b60d..51cfef1 100644
--- a/source/blender/editors/include/UI_icons.h
+++ b/source/blender/editors/include/UI_icons.h
@@ -591,8 +591,8 @@ DEF_ICON(MOD_TRIANGULATE)
 DEF_ICON(MOD_WIREFRAME)
 DEF_ICON(MOD_DATA_TRANSFER)
 DEF_ICON(MOD_NORMALEDIT)
+DEF_ICON(MOD_CORRESPONDENCE)
 #ifndef DEF_ICON_BLANK_SKIP
-       DEF_ICON(BLANK169)
        DEF_ICON(BLANK170)
        DEF_ICON(BLANK171)
        DEF_ICON(BLANK172)
diff --git a/source/blender/makesdna/DNA_space_types.h 
b/source/blender/makesdna/DNA_space_types.h
index 4ce0f36..6020c86 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -1317,6 +1317,7 @@ typedef enum eSpaceClip_Mode {
        /*SC_MODE_RECONSTRUCTION = 1,*/  /* DEPRECATED */
        /*SC_MODE_DISTORTION = 2,*/  /* DEPRECATED */
        SC_MODE_MASKEDIT = 3,
+       SC_MODE_CORRESPONDENCE = 4,
 } eSpaceClip_Mode;
 
 /* SpaceClip->view */
diff --git a/source/blender/makesrna/intern/rna_space.c 
b/source/blender/makesrna/intern/rna_space.c
index df589bb..996d924 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -189,6 +189,7 @@ EnumPropertyItem rna_enum_viewport_shade_items[] = {
 EnumPropertyItem rna_enum_clip_editor_mode_items[] = {
        {SC_MODE_TRACKING, "TRACKING", ICON_ANIM_DATA, "Tracking", "Show 
tracking and solving tools"},
        {SC_MODE_MASKEDIT, "MASK", ICON_MOD_MASK, "Mask", "Show mask editing 
tools"},
+       {SC_MODE_CORRESPONDENCE, "CORRESPONDENCE", ICON_MOD_CORRESPONDENCE, 
"Correspondence", "Show correspondence editing tools"},
        {0, NULL, 0, NULL, NULL}
 };

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to