Revision: 37305
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37305
Author:   psy-fi
Date:     2011-06-07 19:59:03 +0000 (Tue, 07 Jun 2011)
Log Message:
-----------
GSOC 2011 - onion

GUI option for subsurf. 

Modified Paths:
--------------
    branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_unwrap_ops.c
    branches/soc-2011-onion/source/blender/imbuf/intern/divers.c

Modified: 
branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_unwrap_ops.c
===================================================================
--- branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_unwrap_ops.c   
2011-06-07 18:48:22 UTC (rev 37304)
+++ branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_unwrap_ops.c   
2011-06-07 19:59:03 UTC (rev 37305)
@@ -905,6 +905,7 @@
        RNA_def_enum(ot->srna, "method", method_items, 0, "Method", "Unwrapping 
method. Angle Based usually gives better results than Conformal, while being 
somewhat slower.");
        RNA_def_boolean(ot->srna, "fill_holes", 1, "Fill Holes", "Virtual fill 
holes in mesh before unwrapping, to better avoid overlaps and preserve 
symmetry.");
        RNA_def_boolean(ot->srna, "correct_aspect", 1, "Correct Aspect", "Map 
UV's taking image aspect ratio into account.");
+       RNA_def_boolean(ot->srna, "use_subsurf_data", 0, "Use Subsurf Data", 
"Map UV's taking face area and angle after subsurf into account.");
 }
 
 /**************** Project From View operator **************/

Modified: branches/soc-2011-onion/source/blender/imbuf/intern/divers.c
===================================================================
--- branches/soc-2011-onion/source/blender/imbuf/intern/divers.c        
2011-06-07 18:48:22 UTC (rev 37304)
+++ branches/soc-2011-onion/source/blender/imbuf/intern/divers.c        
2011-06-07 19:59:03 UTC (rev 37305)
@@ -214,7 +214,7 @@
 
        /* Dithering factor */
        float dither= ibuf->dither / 255.0f;
-       /*respective attributes of image*/
+       /* respective attributes of image */
        short profile= ibuf->profile;
        int channels= ibuf->channels;
        

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

Reply via email to