summaryrefslogtreecommitdiffstats
path: root/src/ui/tools
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-11-07 23:18:24 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-11-07 23:18:24 +0000
commit26783ada6dd88c1f2df732707628bae6a4d68e42 (patch)
treec8b4302f6b365f6f4b57fccd1e5ce8f7100f3f39 /src/ui/tools
parentFix for scale bug pointed by Mc- (diff)
downloadinkscape-26783ada6dd88c1f2df732707628bae6a4d68e42.tar.gz
inkscape-26783ada6dd88c1f2df732707628bae6a4d68e42.zip
Fixes from review form Mc-
(bzr r14422.1.46)
Diffstat (limited to 'src/ui/tools')
-rw-r--r--src/ui/tools/spray-tool.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ui/tools/spray-tool.cpp b/src/ui/tools/spray-tool.cpp
index 6af30b5fc..17b82fe1d 100644
--- a/src/ui/tools/spray-tool.cpp
+++ b/src/ui/tools/spray-tool.cpp
@@ -331,7 +331,6 @@ static void sp_spray_extinput(SprayTool *tc, GdkEvent *event)
static double get_width(SprayTool *tc)
{
double pressure = (tc->usepressurewidth? tc->pressure / TC_DEFAULT_PRESSURE : 1);
- //g_warning("Pressure, population: %f, %f", pressure, pressure * tc->population);
return pressure * tc->width;
}
@@ -353,14 +352,12 @@ static double get_path_standard_deviation(SprayTool *tc)
static double get_population(SprayTool *tc)
{
double pressure = (tc->usepressurepopulation? tc->pressure / TC_DEFAULT_PRESSURE : 1);
- //g_warning("Pressure, population: %f, %f", pressure, pressure * tc->population);
return pressure * tc->population;
}
static double get_pressure(SprayTool *tc)
{
double pressure = tc->pressure / TC_DEFAULT_PRESSURE;
- //g_warning("Pressure, population: %f, %f", pressure, pressure * tc->population);
return pressure;
}
@@ -676,7 +673,7 @@ static bool fit_item(SPDesktop *desktop,
if (pick_to_presence) {
if (g_random_double_range (0, 1) > val) {
//Hidding the element is a way to retain original
- //behabiohur of tiled clones for presence option.
+ //behaviour of tiled clones for presence option.
sp_repr_css_set_property(css, "opacity", "0");
}
}