Commit Graph

31574 Commits

Author SHA1 Message Date
Joshua Leung
ee40894c05 Bugfix [#28217] Moving multiple selected action strips causes strips
to scale towards zero

This is an attempted bugfix for a bug which seems to be very fickle to
reproduce (it only happens sporadically after quickly jerking the
strips around in a certain way). So far when testing, I haven't had
any more problems after applying this fix, though it may just be
unreliable testing.
2011-08-22 11:51:23 +00:00
Campbell Barton
1324173e99 pep8 edits and change '!= None' to 'is not None' 2011-08-22 09:01:49 +00:00
Campbell Barton
aa7545b0ea patch [#28320] Small change to trunk needed for Motion Capture Addon - GSoC 2011 - Pepper Branch
from Benjy Cook (benjycook)
2011-08-22 08:47:48 +00:00
Joshua Leung
a594196dc0 Bugfix: "Filters" toggle was being shown in Action Editor too, where
it was irrelevant
2011-08-22 02:30:43 +00:00
Joshua Leung
06ae5e4825 Reshuffling DopeSheet filter icons so that they appear more obviously
related to each other
2011-08-22 02:14:39 +00:00
Joshua Leung
2b0127a0c5 Rearrange anim channels - quick hotkey tweak
Use PageUp/Down for moving up/down, and Shift PageUp/Down for moving
to top/bottom. This is more comfortable than the old combinations
involving shift+ctrl.
2011-08-22 02:01:22 +00:00
Joshua Leung
cb05e40540 Improved hotkeys for frame/keyframe/jumping
Thanks pepeland and 3duan for the suggestions. I've been looking at
improving these for a while...

* Left/Right Arrow = Single Frame stepping as before
* Up/Down Arrow = Jumps to next/previous keyframe (used to be the
uncomfortable Shift PageUp/Down)
* Shift Up/Down Arrow = Jumps forward/back in 10 frame increments
(used to be Up/Down Arrows). 10 frame increment should get
customisable again as in 2.4, but need to find some UI space to put
that!
* Ctrl Shift Up/Down/Left/Right = Jump to start/end frame (used to be
Shift <Arrow Key>)
2011-08-22 01:22:14 +00:00
Campbell Barton
17c8621cc8 fix [bf-blender-Patches][27924] Redundant applying of SetNetworkDevice
noticed by Jorge Bernal (lordloki)
2011-08-21 21:17:55 +00:00
Jens Verwiebe
826614d66e name mandatory driver for OSX NDOF compile - testcommit same time 2011-08-21 21:11:26 +00:00
Sukhitha Prabhath Jayathilake
6b99cd05aa Armature object animations export. 2011-08-21 15:47:21 +00:00
Sukhitha Prabhath Jayathilake
4f75566672 export animations if a bone is in a deform group. ( on hold ) 2011-08-21 13:51:04 +00:00
Sergey Sharybin
36f20f162c Fix #28154: linux3-config.py doesn't exist
Change OURPLATFORM from "linux<major_version>" to simple "linux".
Since new policy for linux kernel versions that major version in
platform doesn't make much sense for building rules so the same
rules could be used for both of linux2 and linux3 now/

Tested on both of linux2 and linux3 systems.
2011-08-21 13:31:46 +00:00
Joshua Leung
ee938c3be8 Bugfix [#28309] pose lib too many keyframes in automatic keyframing
mode

Pose Library was checking in wrong place for what was selected and
what wasn't when determining what should get autokeyed.
2011-08-21 13:25:56 +00:00
Ton Roosendaal
4427c14683 Small fix, report in IRC by Olivier:
Click in Compositor on output node invoked a re-composite.
Only has to be done for inactive outputs.
2011-08-21 13:25:19 +00:00
Campbell Barton
bebee3fb60 new cmake doesn't consider CLang == GNUCC, set flags for clang explicitly. 2011-08-21 11:06:49 +00:00
Campbell Barton
8fcc8dd776 fix for out of bounds array access for shaded drawing in the UI, remove alpha blending for uiDrawBoxShade and uiDrawBoxVerticalShade. 2011-08-21 10:14:21 +00:00
Joshua Leung
be25346da6 Bugfix [#28308] Crashes when individual channels are moved in Action
Editor
2011-08-21 07:08:15 +00:00
Campbell Barton
f8ec017900 floats were being promoted to doubles in quite a few cases (using gcc's -Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%. 2011-08-20 17:39:13 +00:00
Sukhitha Prabhath Jayathilake
bcadb6b939 small fixes and refactoring. 2011-08-20 16:48:53 +00:00
Campbell Barton
d4dec1c3bc use ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel lite, will also speedup undo.
note: only works with CMake, wasn't able to get this working with scons, complains about same file being built in different environments.
2011-08-20 14:23:43 +00:00
Campbell Barton
a0a96a84fe fix for crash when loading a file from a script, and executing user modules in the newly loaded file. 2011-08-20 13:29:42 +00:00
Campbell Barton
5d88ba6165 remove over zealous undo's on operators that don't need it. 2011-08-19 20:25:25 +00:00
Campbell Barton
90d19ad883 py style change only - make property definitions consistent 2011-08-19 19:25:20 +00:00
Campbell Barton
3a81f23e09 warning cleanup for -Wdouble-promotion 2011-08-19 16:21:29 +00:00
Sukhitha Prabhath Jayathilake
ac3d785caa Animation exporter matrix source param fix. 2011-08-19 14:29:33 +00:00
Campbell Barton
2c1182664c minor speedup to python/rna api keyword argument lookups.
- dont use hash lookups in this case because converting the string to unicode and doing a hash lookup is slower then looping over the keys and comparing (which avoids creating and throwning away a unicode string).
2011-08-19 10:38:34 +00:00
Campbell Barton
561b49e925 minor style change 2011-08-19 10:35:47 +00:00
Nathan Letwory
c646519776 Export only objects on visible layers. This ensures we can hide for instance bone shapes. 2011-08-18 22:56:41 +00:00
Campbell Barton
0de9112102 store a pointer to the units system in the uiBlock since the button code was doing context lookups for the scene quite a lot. 2011-08-18 20:01:30 +00:00
Sukhitha Prabhath Jayathilake
2ee74be88c Blender tip profile for bones with 2 or more children. 2011-08-18 19:16:36 +00:00
Campbell Barton
042d4d3509 misc changes to unterface & undo
- operator strings were doing undo pushes (in fileselector text for example), this is dumb since the operators themselves handle undo.
- interface code checks rna props are arrays rather then checking the array length.
- disable properties window pin undoing.
- sequencer refresh was calling undo, disable since this is clearnign global data not handled by undo.
- added commented out code for drawing mesh vertex index/key index, useful for debugging shapekey - hook issyes.
2011-08-18 19:07:37 +00:00
Campbell Barton
238955070b minor change for operator OUTLINER_OT_item_activate
Noticed clicking anywhere in the outliner was doing undo pushes, even in empty areas.

- check if any selection is made before redrawing.
- don't do an undo push when selecting outliner items since only screen data is touched here.
2011-08-18 18:42:42 +00:00
Morten Mikkelsen
ccdec67fec bugfix: genx and geny are not the image resolution. Texture space variant needs this. 2011-08-18 17:25:54 +00:00
Campbell Barton
39a46cd4ed disable undo for hard coded interface buttons:
- space type switcher.
- header menu toggle.
- properties window header buttons.
- various view3d manipulator buttons.
2011-08-18 17:09:23 +00:00
Campbell Barton
00426038d0 disable undo for screen & wm RNA buttons, changing shading mode via the UI for eg was doing an undo push. 2011-08-18 16:26:34 +00:00
Campbell Barton
feb8318143 fix for undo issues with generic, multi-purpose WM_OT_context* operators, operators now check if they modify certain ID data (not screne, wm, brush or scene) and only do undo in those cass.
- Zkey to switch shading was pushing undo's.
- Wkey to interactively edit camera, lamp settings wasnt doing an undo push when it should.
- Toggling settings (such as bone boolean options) now skips an undo push if there are no items selected.
2011-08-18 16:01:11 +00:00
Campbell Barton
aa4d5ccbed more minor changes to wm.py, get data_path's once at the start of each func and some minor style changes. 2011-08-18 15:25:18 +00:00
Campbell Barton
2bd016fe3f formatting edits, no functional changes. 2011-08-18 12:20:10 +00:00
Campbell Barton
83c090a555 fix for bad array access in transform operator, was assigning an array to a single float operator value. 2011-08-18 12:09:53 +00:00
Nathan Letwory
475e0b8c02 Apply [#28287] COLLADA fix for inverse bind matrix of skin controller
Patch by Pelle Johnsen
2011-08-18 09:14:27 +00:00
Janne Karhu
591b087204 Fix for [#28216] particles objects rotation still wrong with r39287
* The emitter object's inverse matrix wasn't in global coordinates during rendering, so the surface normals of the hair emission locations were transformed with the wrong matrix.
2011-08-18 02:12:23 +00:00
Mitchell Stokes
5c20bc02ff BGE: Upon further investigation this should have been 8 since up/down and left/right both are just one axis each. So, in actuality, the number of directions = 2, not 4, and thus JOYAXIS_MAX/directions = 16/2 = 8. 8 was also the max used in 2.4x. 2011-08-17 20:44:15 +00:00
Mitchell Stokes
14d2d7c75f BGE: Upping the max Axis Number for the Axis event type on joystick sensors from 2 to 4. The BGE supports up to 16 axis. For Axis events (not Single Axis), you get for directions per axis (up, down, left, right). So, the max should be JOYAXIS_MAX/directions = 16/4 = 4. 2011-08-17 20:17:27 +00:00
Sukhitha Prabhath Jayathilake
a46f36c9b6 Animation export id bone animation + armature importer cleanup. 2011-08-17 20:15:40 +00:00
Sukhitha Prabhath Jayathilake
e86e922f5b Armature importer code cleanup. 2011-08-17 18:29:01 +00:00
Sukhitha Prabhath Jayathilake
f3c05e8eb2 armature animation export fix. 2011-08-17 18:28:01 +00:00
Brecht Van Lommel
1719963a08 Fix #28207: animating pin option for cloth didn't work, solver doesn't support
it, so set the property as not animatable.
2011-08-17 15:55:42 +00:00
Brecht Van Lommel
37f9d916fa Fix #28265: blender 2.59 not starting on OS X with old ndof driver.
Patch by Jens Verwiebe.
2011-08-17 15:01:26 +00:00
Brecht Van Lommel
feb7afe671 Fix #28262: uv unwrap in sync selection mode unwrapped all faces irrespective
of selection. Changed the fix for bug #27198, live unwrap not working with
sync selection.
2011-08-17 14:43:11 +00:00
Thomas Dinges
8536209260 2.6 RNA:
* Remove some NULL RNA property update calls, they do nothing.
2011-08-17 13:04:28 +00:00