43e6ccd57b
Move rotOrder to proper transform data structure
2010-11-14 19:19:58 +00:00
de8e066a1c
bugfix [ #24505 ] Python command bpy.ops.transform.rotate(...) does not follow axis=(...) attribute
...
the axis was being constantly re-initialized from the view.
2010-11-03 04:38:07 +00:00
369a5cc29e
fix for compiling with the c90 standard, support for non-static variable initializers is a c99 feature.
2010-11-02 13:12:30 +00:00
ca3ade6ac4
Patch [ #24497 ] Fix for [ #24484 ] Right Ctrl for snapping by Alexander Kuznetsov. Thank you!
...
This fixes [#24484 ] Right Hand Ctrl key none functional for snapping?
2010-11-02 09:04:57 +00:00
3367ef8b65
initialize structs to zero rather then using memset().
2010-10-31 15:39:37 +00:00
1424a171a4
bugfix [ #21097 ] Rotating multiple bones with non-local location behaves incorrectly.
...
- rotation and bone scaling with Durian feature 'Local Location' would fail to correctly translate the bone
because a different matrix is needed for translation and rotation.
2010-10-24 06:16:44 +00:00
59d1740671
bugfix [ #24331 ] EdgeSlide not as flawless as 2.49's
...
ensure minimum mouse distance for sliding edge verts else it becomes unusable.
2010-10-21 13:33:51 +00:00
5738f3b0b4
bugfix [ #24322 ] Rotating objects with Axis+Angle mode fails.
2010-10-19 10:32:02 +00:00
013ffe9041
Bugfix #24296 : AutoIK interactive chain length adjustment feature is missing
...
In 2.49, you could adjust the maximum length of Auto-IK Chains by using scrollwheel up/down or page up/down while moving Auto-IK bones. Now this is possible again with those hotkeys, but you need to hold SHIFT to get this to work, otherwise we get a conflict with the hotkeys for proportional edit nowadays.
Was broken when transform tools switched from using hardcoded key mappings to using a modal keymap.
2010-10-17 11:20:12 +00:00
8268a4be71
most unused arg warnings corrected.
...
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-16 14:32:17 +00:00
568cb06616
rename Command key to OSKey, Window manager already called it the OSKey but internally it was mixed.
2010-10-05 19:10:15 +00:00
30bd26d435
[ #24028 ] Minor fixes to BLI_math_vector
...
+ minor warning fixes.
2010-09-28 11:48:13 +00:00
aa7db99a38
bugfix [ #23832 ] Moving a pose bone doesnt update the transform button props realtime.
2010-09-22 14:34:02 +00:00
22317d7a29
Fix for [ #23818 ] Edge slide not resetting properly when displaying edge lengths
...
* Temp selections weren't cleared on ending edge slide.
2010-09-21 15:16:58 +00:00
155c2d1212
Fix #23181 : crash in bone roll with project snapping enabled.
2010-08-25 09:30:52 +00:00
f32a35fd9d
apply rna naming for ToolSettings
2010-08-18 03:24:52 +00:00
3e58edda3a
remove unused includes
2010-08-08 13:03:07 +00:00
0c659da03b
bugfix [ #23158 ] Translate operator leaks memory if nothing selected
2010-08-03 22:36:59 +00:00
327b4d588b
Separate proportional edit setting between edit and object mode. They are now used and toggled independently.
2010-07-31 19:26:21 +00:00
cc673669c7
use more BLI math funcs (no functional changes)
2010-07-31 10:58:10 +00:00
44160c9747
Fix #20196 : division by zero in edge slide with two overlapping loops.
2010-07-21 15:22:11 +00:00
a52632182c
[ #22682 ] some missing keymaps
...
Added proportional influence up/down to transform modal keymap.
Also fixed a crash in restoring to previous key map item after edits.
2010-06-27 23:57:58 +00:00
bfd0810beb
Notifier cleanup - replaced ND_*_EDIT and ND_*_SELECT data notifiers
...
with the generic action equivalents (NA_EDITED and new NA_SELECTED)
2010-06-18 04:39:32 +00:00
ef840868a3
Durian request: Attempted fix for rotations not taking non-uniform scaling of Graph Editor views into account.
...
With this fix, handles do not appear to rotate as violently as before, though this correction may still be too subtle to be noticed by many users.
2010-05-15 02:40:44 +00:00
1613829e8e
Minor formatting tweaks (killing some "caterpillar if's"... yuck those things are nasty to edit/extend)
2010-05-07 10:59:48 +00:00
389e590460
ghash alloc string from render branch
...
svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28571:28573
svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28575:28576
2010-05-07 07:54:25 +00:00
9610515b22
keyframe transform, both through dopesheet/action editor and graph editor, works a bit better with handles. handles now follow keyframes properly in frame snap mode, in situations where they would move (but the keyframe would not) in undesirable ways before. also hopefully fixed vector scope crash in image editor. and disabled snapping to seconds (ever); this can be a seperate option, silently switching to second snapping in frame snapping mode is absolutely evil. also, the action editor draws in hundredth of seconds, not seconds, so it didn't even work. Aligorith: I hope this code is ok, if not feel free to rewrite it.
2010-05-06 19:54:43 +00:00
39c0e690d3
sub_v3_v3v3 --> sub_v3_v3 (where possible)
2010-04-23 23:57:00 +00:00
fba7ebcbea
replace add_v3_v3v3() --> add_v3_v3() where possible
2010-04-21 12:27:48 +00:00
1dce678c2b
Fix problem with limit rotation constraints during transform. This code
...
would convert from quat to matrix and back if the bone had any constraint,
but did not normalize the quat first as done in other places, giving a
sudden jump when starting transform on some bones with constraints. Two
changes:
* Normalize quaternion first.
* Only do this conversion on bones with limit rotation constraints,
instead of all bones with any constraint.
2010-04-19 09:38:36 +00:00
8f1500da00
remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now.
2010-04-18 10:28:37 +00:00
584dbcc2fc
[ #21993 ] Edge Slide operator should disable projection snapping
...
Adding proper flag.
If there are others like that, other people can fix them too, it's easy peasy.
2010-04-12 22:42:09 +00:00
824be96dc0
More work on Drag Immediate:
...
- Rename option and flag to something more sane
- Add property to manipulator operator and set true by default
Confirm on Release can now be forced true or false per operator, in which case it won't use the default value (the user preference).
2010-04-03 17:38:43 +00:00
5a805c5fc3
[ #21840 ] When clicking to move a Node it sticks to the mouse
...
Add hidden property to be able to force confirm on release (drag immediately is a silly name) on or off.
Streamline method for adding common properties to transform operators.
2010-04-02 19:40:51 +00:00
d010dae91b
[ #21767 ] Project Vert. on the Surf. of Other Obj. enabled causes crash when trying to Crease some edges
...
Don't want to project for Crease (and others).
2010-03-28 13:59:33 +00:00
f743b583bf
more lint includes
...
Only source/blender/editors/ dir, should not give errors on different platforms
Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-23 14:09:09 +00:00
1e9bf0cfdb
spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)
2010-03-22 09:30:00 +00:00
5e7b1bde8d
Hack to make people stop bugging me.
...
Working around a problem in a work around for holes in the operator API and event system.
2010-03-19 03:26:31 +00:00
ae6ee27d37
Fix #21619 and #21613 : edge loop delete crashes, after recent transform
...
manipulator ctrl+click increment fix.
2010-03-15 20:22:05 +00:00
cbe776655a
transform: Ctrl-Click on manipulators uses increments correctly.
2010-03-14 19:38:36 +00:00
9b660f3425
[ #21523 ] Drag Immediately only working when "Select With" is set to LMB
...
Partial fix. Check lauch event if left or right mouse.
Also added a bug fix for manipulator (sometimes, type = 0)
2010-03-14 18:58:14 +00:00
70efb8d322
[ #21433 ] Angular rotation snap issue, final value set is not snapped - SVN 27250 and 2.50A1
...
Proper fix for this. Moving special mouse input stuff to custom callbacks (this also makes the per transform main functions a bit cleaner).
It also fixes the operator property (value) for shear and warp.
2010-03-09 01:19:32 +00:00
1138214a8c
commit from r27250 to fix bug #21433 , broke local axis rotation for pose bones and objects.
...
commented fix and reopened report.
2010-03-08 11:47:43 +00:00
8a4f9ef831
[ #21433 ] Angular rotation snap issue, final value set is not snapped - SVN 27250 and 2.50A1
...
Needed to reassign calculated rotation into the values vector.
2010-03-07 15:36:52 +00:00
9352c9f0c1
use negate_v3 rather then multiplying a vector by -1.0 (no functional changes)
2010-02-26 09:02:52 +00:00
a8d364ce4a
Move increment value into numinput structure.
...
Easier for transform to have different values per transform then (also different from gears values).
(Based on a bug reported by Jonathan Smith)
2010-02-22 23:25:34 +00:00
438b93dccc
[ #21265 ] Rotate behaves wrong with constraints
...
With new axis var for rotate, it wasn't reset properly when constraints are turned off.
2010-02-21 14:13:20 +00:00
ddc0c68a5c
Bugfix #21234 : Autokey "insert only available" userpref inserts keys for all bones in an armature
...
--
Bugfix: When autokey is enabled, notifiers to refresh the animation editors *after* transforms finished for objects were missing.
While I understand the need to limit these to not doing this during transform, after transform, this lead to lag/inconsistent UI problems.
--
* Added 'Damped Track' Option to 'Make Track' Operator
* Improved the code of the 'Clear Track' operator to include other types of tracking constraint too
2010-02-21 11:42:32 +00:00
aa67aa9ecc
Split numinput from transform (reusable in other operator).
...
Use in marker move operator.
2010-02-20 20:29:09 +00:00
1d914556f8
Missing flag to Curve Shrink Fatten transform
2010-02-16 01:42:34 +00:00