Fix 1779616: prevent image span, resolution, etc. from quite reaching zero.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 22 Aug 2007 20:59:08 +0000 (20:59 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 22 Aug 2007 20:59:08 +0000 (20:59 +0000)
git-svn-id: http://svn.voria.com/code@555 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/renddesc.cpp

index ede76ad..3093f92 100644 (file)
@@ -81,12 +81,12 @@ Widget_RendDesc::Widget_RendDesc():
        Gtk::Notebook(),
        adjustment_width(1,1,SYNFIG_MAX_PIXEL_WIDTH),
        adjustment_height(1,1,SYNFIG_MAX_PIXEL_HEIGHT),
-       adjustment_xres(0,0,10000000),
-       adjustment_yres(0,0,10000000),
-       adjustment_phy_width(0,0,10000000),
-       adjustment_phy_height(0,0,10000000),
-       adjustment_fps(0,0,10000000),
-       adjustment_span(0,0,10000000)
+       adjustment_xres(0,0.0000000001,10000000),
+       adjustment_yres(0,0.0000000001,10000000),
+       adjustment_phy_width(0,0.0000000001,10000000),
+       adjustment_phy_height(0,0.0000000001,10000000),
+       adjustment_fps(0,0.0000000001,10000000),
+       adjustment_span(0,0.0000000001,10000000)
 {
        update_lock=0;