Index: applications/editors/josm/plugins/piclayer/build.xml
===================================================================
--- applications/editors/josm/plugins/piclayer/build.xml	(revision 24244)
+++ applications/editors/josm/plugins/piclayer/build.xml	(revision 24288)
@@ -100,14 +100,5 @@
     -->
 	<target name="revision">
-
-		<!-- extract the SVN revision information for file build.number -->
-		<exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
-			<env key="LANG" value="C"/>
-			<arg value="info"/>
-			<arg value="--xml"/>
-			<arg value="."/>
-		</exec>
 		<xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
-		<delete file="REVISION"/>
 	</target>
 
Index: applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/RotatePictureAction.java
===================================================================
--- applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/RotatePictureAction.java	(revision 24244)
+++ applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/RotatePictureAction.java	(revision 24288)
@@ -87,6 +87,12 @@
         // Rotate the picture
         if(mb_dragging) {
-            // TODO: Magic number
-            m_currentLayer.rotatePictureBy( ( e.getY() - m_prevY ) / 10.0 );
+            double factor;
+            if ( ( e.getModifiersEx() & e.SHIFT_DOWN_MASK ) != 0 ) {
+                factor = Main.pref.getDouble("piclayer.rotatefactors.high_precision", 100.0);
+            }
+            else {
+                factor = Main.pref.getDouble("piclayer.rotatefactors.low_precision", 10.0 );
+            }            
+            m_currentLayer.rotatePictureBy( ( e.getY() - m_prevY ) / factor );
             m_prevY = e.getY();
             Main.map.mapView.repaint();
Index: applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/ScalePictureActionAbstract.java
===================================================================
--- applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/ScalePictureActionAbstract.java	(revision 24244)
+++ applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/ScalePictureActionAbstract.java	(revision 24288)
@@ -85,5 +85,12 @@
         // Scale the picture
         if(mb_dragging) {
-            doTheScale( ( e.getY() - m_prevY ) / 500.0 );
+            double factor;
+            if ( ( e.getModifiersEx() & e.SHIFT_DOWN_MASK ) != 0 ) {
+                factor = Main.pref.getDouble("piclayer.scalefactors.high_precision", 4000);
+            }
+            else {
+                factor = Main.pref.getDouble("piclayer.scalefactors.low_precision", 400);
+            }            
+            doTheScale( ( e.getY() - m_prevY ) / factor );
             m_prevY = e.getY();
             Main.map.mapView.repaint();
