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:
authorJiri Hnidek <jiri.hnidek@tul.cz>2005-04-11 23:31:05 +0400
committerJiri Hnidek <jiri.hnidek@tul.cz>2005-04-11 23:31:05 +0400
commit78939c0cc06a67dbf2853ed7d030b9829b812e3f (patch)
tree4a1050d0c6f172bed54dea52d9faf91f2542e24c /source/blender/src/transform.c
parent52b7b978e319d7cef224601b57350cc63a99faaa (diff)
- It is possible to scale radius of MetaElem again.
- It is possible to change dx, dy and dz params in 3Dview with manipulators or with some shortcuts (S-X, S-Y, S-Z). - User can scale stiffness when green circle is selected. - MetaElem is selected with RMB click at green or red circle, then user can grab or rotate with MetaElem as usual. - Screenshot: http://e-learning.vslib.cz/~hnidek/pics/scale_stiffness.jpg - Captured video: http://e-learning.vslib.cz/~hnidek/captured-videos/scale_stiffness.avi
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-xsource/blender/src/transform.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c
index 7358e68e4ff..525fea4ba3e 100755
--- a/source/blender/src/transform.c
+++ b/source/blender/src/transform.c
@@ -1021,6 +1021,9 @@ int Resize(TransInfo *t, short mval[2])
add_tdi_poin(tdi->sizez, tdi->oldsize+2, vec[2]);
}
+ else if((td->flag & TD_SINGLESIZE) && !(t->con.mode & CON_APPLY)){
+ *td->val = td->ival * fsize[0] * td->factor;
+ }
else {
td->ext->size[0] = td->ext->isize[0] * (fsize[0]) * td->factor;
td->ext->size[1] = td->ext->isize[1] * (fsize[1]) * td->factor;