Made render quality settings proper percentages.
authorWilliam Reynish <william@reynish.com>
Tue, 24 Nov 2009 10:55:52 +0000 (10:55 +0000)
committerWilliam Reynish <william@reynish.com>
Tue, 24 Nov 2009 10:55:52 +0000 (10:55 +0000)
release/scripts/ui/properties_render.py
source/blender/makesrna/intern/rna_scene.c

index edf1a9abda44b397980a7a590162da1a2b1980fc..2e2acbdb6613dd30d2ba441d6d958220bf767f58 100644 (file)
@@ -348,7 +348,7 @@ class RENDER_PT_output(RenderButtonsPanel):
             split = layout.split()
             col = split.column()
             col.prop(rd, "quicktime_codec_type")
-            col.prop(rd, "quicktime_codec_spatial_quality", text="Quality", slider=True)
+            col.prop(rd, "quicktime_codec_spatial_quality", text="Quality")
 
 
 class RENDER_PT_encoding(RenderButtonsPanel):
@@ -444,7 +444,7 @@ class RENDER_PT_antialiasing(RenderButtonsPanel):
         if wide_ui:
             col = split.column()
         col.prop(rd, "pixel_filter", text="")
-        col.prop(rd, "filter_size", text="Size", slider=True)
+        col.prop(rd, "filter_size", text="Size")
 
 
 class RENDER_PT_dimensions(RenderButtonsPanel):
index babbf701bd6798a9d4321d1a9e405bcd5d418071..bc9fa9d557313121c2df40f6f9b48e213032042c 100644 (file)
@@ -1625,7 +1625,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
        
        /* JPEG and AVI JPEG */
        
-       prop= RNA_def_property(srna, "quality", PROP_INT, PROP_NONE);
+       prop= RNA_def_property(srna, "quality", PROP_INT, PROP_PERCENTAGE);
        RNA_def_property_int_sdna(prop, NULL, "quality");
        RNA_def_property_range(prop, 1, 100);
        RNA_def_property_ui_text(prop, "Quality", "Quality of JPEG images, AVI Jpeg and SGI movies.");
@@ -1720,7 +1720,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
        RNA_def_property_ui_text(prop, "Codec", "QuickTime codec type");
        RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);
        
-       prop= RNA_def_property(srna, "quicktime_codec_spatial_quality", PROP_INT, PROP_NONE);
+       prop= RNA_def_property(srna, "quicktime_codec_spatial_quality", PROP_INT, PROP_PERCENTAGE);
        RNA_def_property_int_sdna(prop, NULL, "qtcodecsettings.codecSpatialQuality");
        RNA_def_property_range(prop, 0, 100);
        RNA_def_property_ui_text(prop, "Spatial quality", "Intra-frame spatial quality level");