Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2007-12-04 17:21:58 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-12-04 17:21:58 +0300
commit114e3f35c37ae2f96f25fc157a7e6774c0105e35 (patch)
tree6e5e47725a8961c50367f04172238cac1cf62385 /source/blender/src/editparticle.c
parent32a8b4f8e686938ec2f0f95e6acc2eb3c25ebfdf (diff)
Particles
========= - Like sculptmode, a brush can now be selected from a menu with Ctrl+Tab in particle mode.
Diffstat (limited to 'source/blender/src/editparticle.c')
-rw-r--r--source/blender/src/editparticle.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/src/editparticle.c b/source/blender/src/editparticle.c
index d3f0fcfa09a..d2ac7bc5761 100644
--- a/source/blender/src/editparticle.c
+++ b/source/blender/src/editparticle.c
@@ -2768,6 +2768,21 @@ void PE_mirror_x(int tagged)
}
}
+void PE_selectbrush_menu(void)
+{
+ ParticleEditSettings *pset= PE_settings();
+ int val;
+
+ pupmenu_set_active(pset->brushtype);
+
+ val= pupmenu("Select Brush%t|None %x0|Comb %x1|Smooth %x7|Weight %x6|Add %x5|Length %x3|Puff %x4|Cut %x2");
+
+ if(val>=0) {
+ pset->brushtype= val-1;
+ allqueue(REDRAWVIEW3D, 1);
+ }
+}
+
/************************************************/
/* Particle Edit Undo */
/************************************************/