Revision: 42497
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42497
Author:   nazgul
Date:     2011-12-07 18:51:43 +0000 (Wed, 07 Dec 2011)
Log Message:
-----------
Reorder options in refine menu + fixed typo

Patch by Sebastian Koenig, thanks!

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_tracking.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_tracking.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_tracking.c 2011-12-07 
18:29:21 UTC (rev 42496)
+++ trunk/blender/source/blender/makesrna/intern/rna_tracking.c 2011-12-07 
18:51:43 UTC (rev 42497)
@@ -302,17 +302,17 @@
        static EnumPropertyItem refine_items[] = {
                {0, "NONE", 0, "Nothing", "Do not refine camera intrinsics"},
                {REFINE_FOCAL_LENGTH, "FOCAL_LENGTH", 0, "Focal Length", 
"Refine focal length"},
+               {REFINE_FOCAL_LENGTH|REFINE_RADIAL_DISTORTION_K1, 
"FOCAL_LENGTH_RADIAL_K1", 0, "Focal length, K1", "Refine focal length and 
radial distortion K1"},
                {REFINE_FOCAL_LENGTH|
-                REFINE_PRINCIPAL_POINT, "FOCAL_LENGTH_PRINCIPAL_POINT", 0, 
"Focal Length, Optical Center", "Refine focal length and optical center"},
+                REFINE_RADIAL_DISTORTION_K1|
+                REFINE_RADIAL_DISTORTION_K2, "FOCAL_LENGTH_RADIAL_K1_K2", 0, 
"Focal length, K1, K2", "Refine focal length and radial distortion K1 and K2"},
                {REFINE_FOCAL_LENGTH|
                 REFINE_PRINCIPAL_POINT|
                 REFINE_RADIAL_DISTORTION_K1|
                 REFINE_RADIAL_DISTORTION_K2,
                 "FOCAL_LENGTH_PRINCIPAL_POINT_RADIAL_K1_K2", 0, "Focal Length, 
Optical Center, K1, K2", "Refine focal length, optical center and radial 
distortion K1 and K2"},
                {REFINE_FOCAL_LENGTH|
-                REFINE_RADIAL_DISTORTION_K1|
-                REFINE_RADIAL_DISTORTION_K2, "FOCAL_LENGTH_RADIAL_K1_K2", 0, 
"Focal length, K1. K2", "Refine focal length and radial distortion K1 and K2"},
-               {REFINE_FOCAL_LENGTH|REFINE_RADIAL_DISTORTION_K1, 
"FOCAL_LENGTH_RADIAL_K1", 0, "Focal length, K1", "Refine focal length and 
radial distortion K1"},
+                REFINE_PRINCIPAL_POINT, "FOCAL_LENGTH_PRINCIPAL_POINT", 0, 
"Focal Length, Optical Center", "Refine focal length and optical center"},
                {0, NULL, 0, NULL, NULL}
        };
 

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

Reply via email to