diff options
author | Phillip <pacardon@u.washington.edu> | 2011-02-23 08:19:21 +0000 |
---|---|---|
committer | Phillip <pacardon@u.washington.edu> | 2011-02-23 08:19:21 +0000 |
commit | d65550e3a82364d6c5048ac4628143dcd2168ea7 (patch) | |
tree | f23266371a36bdaec13cac927d19a388402ca076 /src/tesseract/newmenu/NewToroidMenuItem.java | |
parent | 943d399633381d5a7138d7276eb13372288189d0 (diff) |
Added Color Button to qualifying shapes (planar polygon param window did NOT receive color button).
Added new constructor to MenuItem to prevent or allow color button (bool value, false to turn off button), use two parameter constructor or true in three param to turn on color button.
Removed color chooser after clicking enter button on both particle emitter and particle as this function is now handled by the color button.
Diffstat (limited to 'src/tesseract/newmenu/NewToroidMenuItem.java')
-rw-r--r-- | src/tesseract/newmenu/NewToroidMenuItem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tesseract/newmenu/NewToroidMenuItem.java b/src/tesseract/newmenu/NewToroidMenuItem.java index 59f07e8..4656603 100644 --- a/src/tesseract/newmenu/NewToroidMenuItem.java +++ b/src/tesseract/newmenu/NewToroidMenuItem.java @@ -97,7 +97,7 @@ public class NewToroidMenuItem extends MenuItem { ((Float) myParameters.get("Toroid Radius")
).floatValue(),
((Integer) myParameters.get("Toroid Resolution")
- ).intValue()));
+ ).intValue(), myColor));
params.dispose();
}
}
|