Commit Graph

16603 Commits

Author SHA1 Message Date
Thomas Dinges
a15ba4f35d * Wrong Property Range for Blur Size_Y. 2009-09-21 19:26:27 +00:00
Brecht Van Lommel
c8a977db78 Fix #19426: loop select with occlude background geometry did not
work after subdivide operator, needed a check for valid backbuf.
2009-09-21 17:32:25 +00:00
Brecht Van Lommel
fe27bb6dd4 Fix #19384: missing redraw when changing transform orientation. 2009-09-21 17:00:22 +00:00
Brecht Van Lommel
b49e4e7bcf Fix #19378: border render coordinates were not RNA wrapped. 2009-09-21 16:51:04 +00:00
Brecht Van Lommel
6117d9c6e2 Fix #19361: BGE keyboard sensor allowed to set mouse events
too, should only be keyboard events.
2009-09-21 16:39:07 +00:00
Thomas Dinges
04ec0ea190 2.5 Nodes:
* Wrapped Color Key and Blur Node.
* Nodes using RNA properties can be animated. You can now choose if the Nodes Window should be updated while animation playback too. (Timeline>Playback Menu)
2009-09-21 16:21:54 +00:00
Brecht Van Lommel
8141725342 Fix #19382: crash on uv edit stitch, tweaking limit property in tool area. 2009-09-21 16:08:38 +00:00
Brecht Van Lommel
1e63545a3b Second attempt at fixing #19335: holding down backspace in the
text editor creates squares on some systems. Based on info from
Martin, it appears the keymodifier is being set when it shouldn't.
I think this is happening become some systems may be generating
KM_PRESS events without a matching KM_RELEASE?

Also ignore ascii values 1-32 now instead of 14-32, not sure why
they were included now in 2.5 because they were not in 2.4, but
I don't see a reason to do it. This fixes squares when pressing
e.g. ctrl+b or ctrl+n.
2009-09-21 15:51:29 +00:00
Campbell Barton
4453dc330f remove OS checks to use BLENDERPATH, apple or win32 should be easy to add now. 2009-09-21 15:47:41 +00:00
Thomas Dinges
b037d280d3 * Removed an unused context callback. 2009-09-21 14:45:28 +00:00
Brecht Van Lommel
6fc4e2d37f Fix #19425: crash with long filename and rendering full sample. 2009-09-21 14:30:59 +00:00
Brecht Van Lommel
3c5630a63d Fix #19418: file browse button for strip filename did not work,
sequence RNA now also splits up directory and filename automatic.
2009-09-21 13:23:47 +00:00
Joshua Leung
cdc5fd64e5 2.5 - Keyframes can now be marked as 'extremes' in addition to 'breakdowns'
* Extremes are shown as red/pink diamonds
* I've changed the order of extremes and breakdowns in the code to make for nicer sizing/ordering. This might break a couple of files out there, but it shouldn't be too many.

TODO:
Still on my todo is to make these tags more useful (i.e. less likely to be overwritten by keyframing)
2009-09-21 12:29:53 +00:00
Campbell Barton
e9ffd12133 bugfix [#19392] Typing help() in the console window freezes Blender
for now set the sys.stdin to None, this gives an error on input() or help() but better then locking up blender.
Would be nice to support for the blender console to be used as a stdin but this isnt so simple.

also quiet some warnings.
2009-09-21 12:23:56 +00:00
Joshua Leung
d2639e732b 2.5 - Partial Bugfixes for Parenting Objects to Curves (Ctrl-P)
* Path Constraint option (i.e. this creates a follow-path constraint but doesn't actually parent the object to the curve) works now. Fixed a crash here too.

* Follow Path option (i.e. parent the object to the curve, and follow it), is not working correctly yet. Some matrix seems to get set wrongly.
2009-09-21 12:09:00 +00:00
Campbell Barton
61c79adb8b colorbands could display with no items in the colorband array, letting you set 0 and -1 colorband index. 2009-09-21 10:57:46 +00:00
Brecht Van Lommel
551ddd1002 Fix #19389: add lamp had no submenu to choose the type. 2009-09-21 10:54:15 +00:00
Campbell Barton
2379af27d1 tested running the cheat-sheet, found a number of segfaults
pressing escape in the outliner was also crashing (somehow it tried to exit the file selector)
2009-09-21 09:17:14 +00:00
Matt Ebb
e2e0a864a8 * Added Armature data filter buttons in Dopesheet/Graph editor headers
* Fixed an RNA typo to fix ranges in action constraint
2009-09-21 07:25:48 +00:00
Matt Ebb
fcab32fa20 * Added AnimData for Armature data, for animating armature/bone settings.
This allows you to do funky things like animating the number of segments in a b-bone.
2009-09-21 06:43:20 +00:00
Campbell Barton
ad7fab49d4 5 button mouse support from b333rt in IRC with some edits for X11.
Tested in X11 where its fairly confusing.
buttons 4 and 5 are used for the wheel which is well known, but it seems 6 and 7 are used for horizontal scrolling, my mouse assigns the extra 2 buttons to events 8 & 9.

So the X11 events used for buttons called 4&5 in blender are 8&9 in X11.

The mouse buttons can be re-ordered like this once xorg starts (swaps 6,7 with 8,9)
  xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7"

Couldn't test Win32, Apple not supported.
If someone wants to add horizontal scrolling its quite easy.
2009-09-21 05:56:43 +00:00
Campbell Barton
e7abdd7d56 Better unix filesystem integration as documented here
http://wiki.blender.org/index.php/BlenderDev/Blender2.5/Unix_FHS

for scons WITH_BF_FHS enabled an alternative layout eg.
scons WITH_BF_FHS=1 BF_INSTALLDIR="/usr/local"

for CMake just run "make install" after make (CMAKE_INSTALL_PREFIX is used for the base path)

Currently only scripts use both the system and user path correctly, other areas of blender have their own path code inline with lots of ifdefs, needs to be carefully updated.
2009-09-21 03:16:26 +00:00
Matt Ebb
6c655aa2a7 * Testing removing the click-region-edge-to-minimise functionality
It was getting very annoying, hitting it by accident and having the region disappear. Now, you can still hide the region by resizing it down to zero, or by using the hotkeys (i.e. N, or T in the 3D View).

Perhaps this minimising would be better done in a RMB menu on sub-regions (i.e. like previous Header: top/bottom/hide stuff)
2009-09-21 01:32:37 +00:00
Martin Poirier
f560eb0c46 New transform input function for joeedh, to be used for edge slide.
Like Vertical or Horizontal ratio input, but along a line defined by two points on screen.
2009-09-21 00:48:36 +00:00
Guillermo S. Romero
76447ef615 Update condition checks to match user definable CC and CCC.
Also make faster to notice which FIX_NAN_WARN as not been replaced.
2009-09-20 20:21:01 +00:00
Guillermo S. Romero
b11acc659b Add audaspace search path. 2009-09-20 20:14:34 +00:00
Andrea Weikert
6d4fb84c4e 2.5 filebrowser
* fix crash in autocomplete for very long paths
* allow longer paths in directory button
* added some TODO comments for G.lib
2009-09-20 19:10:12 +00:00
Joerg Mueller
1de250014d Sound:
* 3D listener now working in GE
2009-09-20 18:35:14 +00:00
Andrea Weikert
3b4410367f 2.5 filebrowser
more bugfixes:
* removed refreshing code at file_init again, causes issues when resizing
* free library in the filelist after use
* make sure directory exists when library file for append/link doesn't exist, so browsing can continue from valid dir.
2009-09-20 18:26:02 +00:00
Joerg Mueller
189263e1d9 Sound:
* Fixed mixdown volume being int instead of float
* Fixed audio muting for sequencer not working
* Added 3D listener settings with RNA (not working in GE yet)
2009-09-20 17:55:03 +00:00
Martin Poirier
4f6ea2b683 Ghost/Compiz bug:
Sometimes, events for window size or move are sent even when the window hasn't changed. This triggers unneeded refreshes.

As a precaution, we now ignore all such events (eventually, it should be done in Ghost X11, but I don't know that code well enough).
2009-09-20 17:24:56 +00:00
Andrea Weikert
e4a50e3f47 2.5 filebrowser
* fix crash when filebrowser tried to invoke the file_exec or file_cancel in cases no operator was set.
2009-09-20 17:23:57 +00:00
Andrea Weikert
4b6c61e0a7 2.5 filebrowser
* changed filebrowser operator property "filename" to "path" - fixed two missing operators.
* small cleanup in init of filebrowser
2009-09-20 15:30:52 +00:00
Andrea Weikert
85e529433b 2.5 filebrowser
* fix selection related bugs:
** selection outside filelist would select first item
** border select would enter directory even if more than one is selected
2009-09-20 15:02:14 +00:00
Joerg Mueller
1185be4355 Sound:
* Moved AudioData back to Scene
* Updated RNA stuff
* Added mixdown volume
2009-09-20 14:00:00 +00:00
Thomas Dinges
7d86e92df9 2.5:
* Wrapped Invert, PremulKey Levels Node, Distance Key, Difference Key and Color Spill.
* Added RNA for Levels Node.
* Small RNA fixes.
2009-09-20 13:34:54 +00:00
Joshua Leung
2f71b49484 2.5 - Yet another round of bugfixes
* Copy Rotation constraint "should" work ok for custom rotation orders now. It now converts both rotations to the form used by the owner. So far, this doesn't seem to have broken any of the test rigs in my test-suite, though new specimens for the hall of flakiness are always welcome.

* Fixed many RNA wrapping bugs for Armature data. 
- Fixed a few wrong tooltips
- Made proper refreshes for restpose/posed, etc.

* Started converting special quaternion interpolation for Pose Sliding tools (push/relax/breakdown), though this doesn't seem to be working correctly yet. 
-->> Help to get these working right is welcome :)
2009-09-20 12:54:30 +00:00
Joshua Leung
ad25fc829e 2.5 - More animation/rigging bugfixes
* #19419: PoseLib rename/remove tools could crash when an invalid 
(However, now care is needed when touching that index field, since the warnings can keep piling up)

* Added Browse Poses for PoseLib to the toolbar

* Removing constraints from bones now properly updates. A DAG rebuild is now forced, and the constraint flags are cleared.

* Attempting to improve the situation with Copy Rotation constraint and rotation orders other than xyz. Unforunately, it looks like a different method is required...
2009-09-20 11:21:44 +00:00
Joshua Leung
22995e9c45 2.5 - Pose Relax/Push improvements
* Relax and Push are now interactive. Moving the mouse left<->right decreases/increases (respectively) the number of times the pose is relaxed or pushed. The sensitivity on this could be tweaked as necessary.

* Cancelling these 'pose sliding' tools now correctly restores the initial pose
* Autokeyframing is now only done when the operator is confirmed.

--

Also, made 'View persp/ortho' <-> 'View Persp/Ortho' to be more in line with other operator names, but to also make it easier to read.
2009-09-20 05:05:16 +00:00
Joshua Leung
f4b9ec0e37 2.5 - 2 Armature Related Crash Fixes
* #19397: Properties panel (transform panel in 3D-View) crashed when there was no active posechannel. 

* Breakdown/Push/Relax Pose tools crashed when auto-keyframing was enabled. There where 2 main causes here: 1) laziness to try and avoid having to clear some data everytime, 2) a typo for one of the KeyingSet names
2009-09-20 01:36:11 +00:00
William Reynish
8b4ad3584c A few smaller adjustments to armature and bone properties. 2009-09-19 21:40:37 +00:00
Thomas Dinges
f7d8275ddb More Nodes wrapped to Layout Engine:
* Map Value, Alpha Over, Hue Saturation, Dilate/Erode
* RNA fixes and additions.
2009-09-19 19:57:30 +00:00
Brecht Van Lommel
45089af1b2 Bone constraints are now in a separate tab. It's more consistent
since object constraints also have their own tab, and I didn't
want to break context going from left to right.
2009-09-19 19:40:38 +00:00
Brecht Van Lommel
01ef3301a8 Fix drawing of armature bone axes, these were not showing labels.
Also unified drawing code for object & particle text, was almost
the same function duplicated, and now also used for bones.
2009-09-19 18:45:31 +00:00
Brecht Van Lommel
fcbfd29796 Fix combined pose + weight paint mode, was using wrong object
in a few places, missing some checks.
2009-09-19 15:48:47 +00:00
Brecht Van Lommel
d25ab89ac0 RNA: for last commit, fix paths_location and paths_type enums,
these had wrong DNA variable name already before this change.
2009-09-19 14:16:02 +00:00
William Reynish
645ca520a3 Armature UI
Added the new pose tools in the toolbar.
Changed a few armature values to enums. 

Brecht: The Heads/Tails enum seems to also enable armature.draw_axis, and the paths_type enum affects armature.draw_names
2009-09-19 13:50:24 +00:00
Joshua Leung
7eb436a6b8 2.5 - More Animation Bugfixes
* Updating Preview Range settings results in correct updates for Animation Editors

* Compositing nodes now correctly animate when the values were set by IKEY/RMB on suitable node parameters. Beware that these nodes are not relinkable node-trees, hence the standard code not working.

* Ctrl-P to parent objects to bones now works in Pose Mode too. I needed to add a special keymap entry for this, though I thought this would have been better to be automatically inherited/present from Object keymap already?
* Ctrl-P -> Parent to Bone option now works correctly again. 1.5 lines of code missing here...

* Breakdowns tool now shows custom cursor during 'modal' phase so that it's not that confusing what's going on.
2009-09-19 12:36:22 +00:00
Joshua Leung
9710673192 2.5 - Animation Bugfixes:
* Breakdown tool for Poses (Shift-E in PoseMode) now works. Now this works as a modal operator when invoked, with the horizontal movement of the mouse (left to right) corresponding the placement of the breakdown relative to the endpoint keyframes.

* Moving bones between armature layers in Edit Mode didn't work (wrong variable name used)
* Fixed several notifier-related bugs regarding editing armature settings and the 3d-view not refreshing
* Duplicating bones preserves the rotation mode

* Animation Data for Nodes is now show in Datablocks viewer (i.e. AnimData for NodeTrees has now been wrapped)
2009-09-19 11:59:23 +00:00
Joseph Eagar
1ec44f3bb2 compile fix 2009-09-19 01:05:16 +00:00