aboutsummaryrefslogtreecommitdiff
path: root/js/data
diff options
context:
space:
mode:
authorPushkar Joshi2012-03-15 14:33:48 -0700
committerPushkar Joshi2012-03-15 14:33:48 -0700
commite574f722864a246bad40d3f5a4e59f7ccb206ea9 (patch)
treebaad38aa8440b7e929005acc058ca07bcc21bf5a /js/data
parent571ed9ef856780eded3ac7104ed0ce72c7c7c81c (diff)
downloadninja-e574f722864a246bad40d3f5a4e59f7ccb206ea9.tar.gz
update values in the PI from values of the selected brush stroke or pen tool path
Diffstat (limited to 'js/data')
-rwxr-xr-xjs/data/pi/pi-data.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/js/data/pi/pi-data.js b/js/data/pi/pi-data.js
index ebd15832..9d90aa3d 100755
--- a/js/data/pi/pi-data.js
+++ b/js/data/pi/pi-data.js
@@ -680,14 +680,14 @@ exports.PiData = Montage.create( Montage, {
680 id: "doSmoothing", 680 id: "doSmoothing",
681 prop: "doSmoothing", 681 prop: "doSmoothing",
682 defaultValue: false, 682 defaultValue: false,
683 value: "Smoothing", 683 value: "Y/N",
684 checked: false 684 checked: false
685 }, 685 },
686 { 686 {
687 type : "hottext", 687 type : "hottext",
688 id : "strokeSmoothing", 688 id : "strokeSmoothing",
689 prop : "strokeSmoothing", 689 prop : "strokeSmoothing",
690 label : "", 690 label : "Amount",
691 valueMutator: parseFloat, 691 valueMutator: parseFloat,
692 min : 0, 692 min : 0,
693 max : 100, 693 max : 100,
@@ -705,18 +705,20 @@ exports.PiData = Montage.create( Montage, {
705 id: "isCalligraphic", 705 id: "isCalligraphic",
706 prop: "isCalligraphic", 706 prop: "isCalligraphic",
707 defaultValue: false, 707 defaultValue: false,
708 value: "Calligraphic", 708 value: "Y/N",
709 checked: false 709 checked: false,
710 divider : true
710 }, 711 },
711 { 712 {
712 type : "hottext", 713 type : "hottext",
713 id : "strokeAngle", 714 id : "strokeAngle",
714 prop : "strokeAngle", 715 prop : "strokeAngle",
715 label : "", 716 label : "Angle",
716 valueMutator: parseFloat, 717 valueMutator: parseFloat,
717 min : -90, 718 min : -90,
718 max : 90, 719 max : 90,
719 value : 0 720 value : 0,
721 unit : "deg."
720 } 722 }
721 ] 723 ]
722 ] 724 ]