12 years agoFix #19391: quiting BGE could give drawing errors. Blender now restores
Brecht Van Lommel [Mon, 21 Sep 2009 21:37:19 +0000 (21:37 +0000)]
Fix #19391: quiting BGE could give drawing errors. Blender now restores
the default OpenGL state after exiting the game engine, and also removed
settings the default state on start, since the game engine already does

12 years agoUpdated some colors in node space and file browser to better match the color theme...
William Reynish [Mon, 21 Sep 2009 21:28:48 +0000 (21:28 +0000)]
Updated some colors in node space and file browser to better match the color theme in 2.5.

12 years agoFix #19427, problem in blenfont not computing the width of text correct,
Brecht Van Lommel [Mon, 21 Sep 2009 21:26:04 +0000 (21:26 +0000)]
Fix #19427, problem in blenfont not computing the width of text correct,
particularly text including spaces. This gave some problems with placing
the cursor and selection, and clipping text inside buttons.

12 years agoRNA: added a "factor" subtype next to "percentage", and only display
Brecht Van Lommel [Mon, 21 Sep 2009 21:19:58 +0000 (21:19 +0000)]
RNA: added a "factor" subtype next to "percentage", and only display
% sign for percentage assuming it is between 0-100, while factor is
for values 0-1.

Move collision setting absorption from modifier to collision settings,
was inconsistent to have it there as the only one, and made it have
range 0.0-1.0 instead of 0-100.

12 years agoFix part of #19307: modifier cage button not working as a toggle button.
Brecht Van Lommel [Mon, 21 Sep 2009 21:03:50 +0000 (21:03 +0000)]
Fix part of #19307: modifier cage button not working as a toggle button.

12 years agoFix part of #19309: editing node vector input in a popup did
Brecht Van Lommel [Mon, 21 Sep 2009 20:50:11 +0000 (20:50 +0000)]
Fix part of #19309: editing node vector input in a popup did
not keep it open after changing one of the buttons.

12 years ago* Wrong Property Range for Blur Size_Y.
Thomas Dinges [Mon, 21 Sep 2009 19:26:27 +0000 (19:26 +0000)]
* Wrong Property Range for Blur Size_Y.

12 years agoFix #19426: loop select with occlude background geometry did not
Brecht Van Lommel [Mon, 21 Sep 2009 17:32:25 +0000 (17:32 +0000)]
Fix #19426: loop select with occlude background geometry did not
work after subdivide operator, needed a check for valid backbuf.

12 years agoFix #19384: missing redraw when changing transform orientation.
Brecht Van Lommel [Mon, 21 Sep 2009 17:00:22 +0000 (17:00 +0000)]
Fix #19384: missing redraw when changing transform orientation.

12 years agoFix #19378: border render coordinates were not RNA wrapped.
Brecht Van Lommel [Mon, 21 Sep 2009 16:51:04 +0000 (16:51 +0000)]
Fix #19378: border render coordinates were not RNA wrapped.

12 years agoFix #19361: BGE keyboard sensor allowed to set mouse events
Brecht Van Lommel [Mon, 21 Sep 2009 16:39:07 +0000 (16:39 +0000)]
Fix #19361: BGE keyboard sensor allowed to set mouse events
too, should only be keyboard events.

12 years ago2.5 Nodes:
Thomas Dinges [Mon, 21 Sep 2009 16:21:54 +0000 (16:21 +0000)]
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)

12 years agoFix #19382: crash on uv edit stitch, tweaking limit property in tool area.
Brecht Van Lommel [Mon, 21 Sep 2009 16:08:38 +0000 (16:08 +0000)]
Fix #19382: crash on uv edit stitch, tweaking limit property in tool area.

12 years agonetrender: more load balancing rules
Martin Poirier [Mon, 21 Sep 2009 16:01:31 +0000 (16:01 +0000)]
netrender: more load balancing rules

12 years agoSecond attempt at fixing #19335: holding down backspace in the
Brecht Van Lommel [Mon, 21 Sep 2009 15:51:29 +0000 (15:51 +0000)]
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.

12 years agoremove OS checks to use BLENDERPATH, apple or win32 should be easy to add now.
Campbell Barton [Mon, 21 Sep 2009 15:47:41 +0000 (15:47 +0000)]
remove OS checks to use BLENDERPATH, apple or win32 should be easy to add now.

12 years ago* Removed an unused context callback.
Thomas Dinges [Mon, 21 Sep 2009 14:45:28 +0000 (14:45 +0000)]
* Removed an unused context callback.

12 years agoFix #19425: crash with long filename and rendering full sample.
Brecht Van Lommel [Mon, 21 Sep 2009 14:30:59 +0000 (14:30 +0000)]
Fix #19425: crash with long filename and rendering full sample.

12 years agoautocomplete poll function wasn't working, added autocomplete in the console header
Campbell Barton [Mon, 21 Sep 2009 13:43:11 +0000 (13:43 +0000)]
autocomplete poll function wasn't working, added autocomplete in the console header
operator docstrings with newlines and tabs show up as junk in tooltips so just use a single line.

12 years agoFix #19418: file browse button for strip filename did not work,
Brecht Van Lommel [Mon, 21 Sep 2009 13:23:47 +0000 (13:23 +0000)]
Fix #19418: file browse button for strip filename did not work,
sequence RNA now also splits up directory and filename automatic.

12 years ago2.5 - Keyframes can now be marked as 'extremes' in addition to 'breakdowns'
Joshua Leung [Mon, 21 Sep 2009 12:29:53 +0000 (12:29 +0000)]
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.

Still on my todo is to make these tags more useful (i.e. less likely to be overwritten by keyframing)

12 years agobugfix [#19392] Typing help() in the console window freezes Blender
Campbell Barton [Mon, 21 Sep 2009 12:23:56 +0000 (12:23 +0000)]
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.

12 years ago2.5 - Partial Bugfixes for Parenting Objects to Curves (Ctrl-P)
Joshua Leung [Mon, 21 Sep 2009 12:09:00 +0000 (12:09 +0000)]
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.

12 years agocolorbands could display with no items in the colorband array, letting you set 0...
Campbell Barton [Mon, 21 Sep 2009 10:57:46 +0000 (10:57 +0000)]
colorbands could display with no items in the colorband array, letting you set 0 and -1 colorband index.

12 years agoFix #19389: add lamp had no submenu to choose the type.
Brecht Van Lommel [Mon, 21 Sep 2009 10:54:15 +0000 (10:54 +0000)]
Fix #19389: add lamp had no submenu to choose the type.

12 years agotested running the cheat-sheet, found a number of segfaults
Campbell Barton [Mon, 21 Sep 2009 09:17:14 +0000 (09:17 +0000)]
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)

12 years ago* Added Armature data filter buttons in Dopesheet/Graph editor headers
Matt Ebb [Mon, 21 Sep 2009 07:25:48 +0000 (07:25 +0000)]
* Added Armature data filter buttons in Dopesheet/Graph editor headers

* Fixed an RNA typo to fix ranges in action constraint

12 years ago* Added AnimData for Armature data, for animating armature/bone settings.
Matt Ebb [Mon, 21 Sep 2009 06:43:20 +0000 (06:43 +0000)]
* 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.

12 years ago5 button mouse support from b333rt in IRC with some edits for X11.
Campbell Barton [Mon, 21 Sep 2009 05:56:43 +0000 (05:56 +0000)]
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.

12 years agoBetter unix filesystem integration as documented here
Campbell Barton [Mon, 21 Sep 2009 03:16:26 +0000 (03:16 +0000)]
Better unix filesystem integration as documented here

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.

12 years ago* Testing removing the click-region-edge-to-minimise functionality
Matt Ebb [Mon, 21 Sep 2009 01:32:37 +0000 (01:32 +0000)]
* 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)

12 years agoNew transform input function for joeedh, to be used for edge slide.
Martin Poirier [Mon, 21 Sep 2009 00:48:36 +0000 (00:48 +0000)]
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.

12 years agoUpdate condition checks to match user definable CC and CCC.
Guillermo S. Romero [Sun, 20 Sep 2009 20:21:01 +0000 (20:21 +0000)]
Update condition checks to match user definable CC and CCC.
Also make faster to notice which FIX_NAN_WARN as not been replaced.

12 years agoAdd audaspace search path.
Guillermo S. Romero [Sun, 20 Sep 2009 20:14:34 +0000 (20:14 +0000)]
Add audaspace search path.

12 years ago2.5 filebrowser
Andrea Weikert [Sun, 20 Sep 2009 19:10:12 +0000 (19:10 +0000)]
2.5 filebrowser
* fix crash in autocomplete for very long paths
* allow longer paths in directory button
* added some TODO comments for G.lib

12 years ago2.5 Game Sound:
Thomas Dinges [Sun, 20 Sep 2009 18:49:46 +0000 (18:49 +0000)]
2.5 Game Sound:

* Added Sound Buttons for Game in the Scene Buttons.

12 years agoSound:
Joerg Mueller [Sun, 20 Sep 2009 18:35:14 +0000 (18:35 +0000)]

* 3D listener now working in GE

12 years ago2.5 filebrowser
Andrea Weikert [Sun, 20 Sep 2009 18:26:02 +0000 (18:26 +0000)]
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.

12 years agoSound:
Joerg Mueller [Sun, 20 Sep 2009 17:55:03 +0000 (17:55 +0000)]

* 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)

12 years agoGhost/Compiz bug:
Martin Poirier [Sun, 20 Sep 2009 17:24:56 +0000 (17:24 +0000)]
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).

12 years ago2.5 filebrowser
Andrea Weikert [Sun, 20 Sep 2009 17:23:57 +0000 (17:23 +0000)]
2.5 filebrowser
* fix crash when filebrowser tried to invoke the file_exec or file_cancel in cases no operator was set.

12 years ago2.5 filebrowser
Andrea Weikert [Sun, 20 Sep 2009 15:30:52 +0000 (15:30 +0000)]
2.5 filebrowser
* changed filebrowser operator property "filename" to "path" - fixed two missing operators.
* small cleanup in init of filebrowser

12 years ago2.5 filebrowser
Andrea Weikert [Sun, 20 Sep 2009 15:02:14 +0000 (15:02 +0000)]
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

12 years ago* UI for recent sound commit.
Thomas Dinges [Sun, 20 Sep 2009 14:14:40 +0000 (14:14 +0000)]
* UI for recent sound commit.

12 years agoSound:
Joerg Mueller [Sun, 20 Sep 2009 14:00:00 +0000 (14:00 +0000)]

* Moved AudioData back to Scene
* Updated RNA stuff
* Added mixdown volume

12 years ago2.5:
Thomas Dinges [Sun, 20 Sep 2009 13:34:54 +0000 (13:34 +0000)]
* Wrapped Invert, PremulKey Levels Node, Distance Key, Difference Key and Color Spill.
* Added RNA for Levels Node.
* Small RNA fixes.

12 years ago2.5 - Yet another round of bugfixes
Joshua Leung [Sun, 20 Sep 2009 12:54:30 +0000 (12:54 +0000)]
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 :)

12 years ago2.5 - More animation/rigging bugfixes
Joshua Leung [Sun, 20 Sep 2009 11:21:44 +0000 (11:21 +0000)]
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...

12 years ago2.5 MSVC projectfiles
Andrea Weikert [Sun, 20 Sep 2009 11:13:57 +0000 (11:13 +0000)]
2.5 MSVC projectfiles
* maintenance (added poseSlide.c)

12 years ago2.5 - Pose Relax/Push improvements
Joshua Leung [Sun, 20 Sep 2009 05:05:16 +0000 (05:05 +0000)]
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.

12 years ago2.5 - 2 Armature Related Crash Fixes
Joshua Leung [Sun, 20 Sep 2009 01:36:11 +0000 (01:36 +0000)]
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

12 years agonetrender: first draft for job balancer + some minor fixes
Martin Poirier [Sat, 19 Sep 2009 22:11:26 +0000 (22:11 +0000)]
netrender: first draft for job balancer + some minor fixes

12 years agoA few smaller adjustments to armature and bone properties.
William Reynish [Sat, 19 Sep 2009 21:40:37 +0000 (21:40 +0000)]
A few smaller adjustments to armature and bone properties.

12 years agoMore Nodes wrapped to Layout Engine:
Thomas Dinges [Sat, 19 Sep 2009 19:57:30 +0000 (19:57 +0000)]
More Nodes wrapped to Layout Engine:

* Map Value, Alpha Over, Hue Saturation, Dilate/Erode
* RNA fixes and additions.

12 years agoBone constraints are now in a separate tab. It's more consistent
Brecht Van Lommel [Sat, 19 Sep 2009 19:40:38 +0000 (19:40 +0000)]
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.

12 years agoFix drawing of armature bone axes, these were not showing labels.
Brecht Van Lommel [Sat, 19 Sep 2009 18:45:31 +0000 (18:45 +0000)]
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.

12 years agoFix combined pose + weight paint mode, was using wrong object
Brecht Van Lommel [Sat, 19 Sep 2009 15:48:47 +0000 (15:48 +0000)]
Fix combined pose + weight paint mode, was using wrong object
in a few places, missing some checks.

12 years agoRNA: for last commit, fix paths_location and paths_type enums,
Brecht Van Lommel [Sat, 19 Sep 2009 14:16:02 +0000 (14:16 +0000)]
RNA: for last commit, fix paths_location and paths_type enums,
these had wrong DNA variable name already before this change.

12 years agoArmature UI
William Reynish [Sat, 19 Sep 2009 13:50:24 +0000 (13:50 +0000)]
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

12 years ago2.5 - More Animation Bugfixes
Joshua Leung [Sat, 19 Sep 2009 12:36:22 +0000 (12:36 +0000)]
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.

12 years ago2.5 - Animation Bugfixes:
Joshua Leung [Sat, 19 Sep 2009 11:59:23 +0000 (11:59 +0000)]
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)

12 years agocompile fix
Joseph Eagar [Sat, 19 Sep 2009 01:05:16 +0000 (01:05 +0000)]
compile fix

12 years ago2.5 - Pose Enhancement Tools
Joshua Leung [Sat, 19 Sep 2009 00:18:42 +0000 (00:18 +0000)]
2.5 - Pose Enhancement Tools

This commit restores the 'Relax Pose' tool, and also introduces two others: 'Push Pose' and 'Pose Breakdowner'.
Be aware that this commit is just the initial starting point, with some parts yet to be done.

A short description of these tools follows:
* Relax Pose (Alt-E) - makes the current pose more like the poses on either side of it
* Push Pose (Ctrl-E) - exaggerates the current pose
* Breakdowner (Shift-E)[not working yet] - when this works, it will allow for interactive selection of a good in-between pose to act as a breakdown.

* Connect up the 'percentage' slider in the operator settings to allow these effects to be dialed in/out, exaggerating/relaxing/moveing-between-keyframes by varying degrees until the desired effect is reached.
* Allow these effects to be interactively dialed in/out. The idea is to use the mouse to interactively set the percentage slider value initially, then use the percentage slider to tweak later.
* Figure out why breakdown breaks down

12 years agoAdd path to find SYS_System.h (which is only included with gameengine).
Guillermo S. Romero [Fri, 18 Sep 2009 22:12:29 +0000 (22:12 +0000)]
Add path to find SYS_System.h (which is only included with gameengine).
Reported by Jasper Mine.

Fixed comment, it was away from the directive it explained.

12 years ago2.5 Nodes:
Thomas Dinges [Fri, 18 Sep 2009 21:04:54 +0000 (21:04 +0000)]
2.5 Nodes:

More Nodes are wrapped to the layout engine. +a bit code cleanup.

Brecht: please check on greying out, it doesn't look correct. :)

12 years agoMove some static math functions out of paint_image.c into arithb.c
Campbell Barton [Fri, 18 Sep 2009 16:39:45 +0000 (16:39 +0000)]
Move some static math functions out of paint_image.c into arithb.c
* VecLerp3f and Vec2Lerp3f - interpolate 3 2d/3d vectors from 3 weights
* AngleToLength(angle) - useful for making even width shell/walls based on the angles of the surrounding geometry from each point. (same method used in 2.4x python solidify script).

also quiet some warnings.

12 years agoUI: fix some python errors in sculpt/paint modes when there is no brush.
Brecht Van Lommel [Fri, 18 Sep 2009 15:52:28 +0000 (15:52 +0000)]
UI: fix some python errors in sculpt/paint modes when there is no brush.

12 years agoHandlers/keymaps, some tweaks for previous commits:
Brecht Van Lommel [Fri, 18 Sep 2009 15:48:49 +0000 (15:48 +0000)]
Handlers/keymaps, some tweaks for previous commits:

* Screen keymap is now split up in two, some of the area/region
  manipulation operators here need to be handled before others.
* Moved paint/sculpt/sketch out of the 3d view keymap, these were
  there as a workaround, now with keymap poll no longer needed.
* Also fixes #19297, 3d cursor moves when combing in particle mode.

12 years agoVecAngle3_2D, VecAngle2 and VecAngle3 returned degrees, in arithb.c degrees are most...
Campbell Barton [Fri, 18 Sep 2009 15:47:00 +0000 (15:47 +0000)]
VecAngle3_2D, VecAngle2 and VecAngle3 returned degrees, in arithb.c degrees are most common.
- These now return radians
- added macro RAD2DEG(rad)
- renamed VecAngle3_2D to Vec2Angle3 since Vec2* is used in arithb.c for 2D vector functions.

12 years agoFix #19381: Switching from sculpt to object mode does not update toolbar.
Brecht Van Lommel [Fri, 18 Sep 2009 13:17:33 +0000 (13:17 +0000)]
Fix #19381: Switching from sculpt to object mode does not update toolbar.

12 years agoFix #19383: crash pressing image open in texture buttons.
Brecht Van Lommel [Fri, 18 Sep 2009 13:13:28 +0000 (13:13 +0000)]
Fix #19383: crash pressing image open in texture buttons.

12 years ago2.5: Python operators now have a working poll() function,
Brecht Van Lommel [Fri, 18 Sep 2009 13:02:20 +0000 (13:02 +0000)]
2.5: Python operators now have a working poll() function,
solved by wrapping all polling in WM_operator_poll and
adding a special callback for python.

12 years ago2.5: Handlers are now evaluated in a different order, fixing some
Brecht Van Lommel [Fri, 18 Sep 2009 12:43:36 +0000 (12:43 +0000)]
2.5: Handlers are now evaluated in a different order, fixing some
issues like Shift+R (repeat last) not giving capital R in the text
editor. There is also new modal handler list at the window level,
and the API call will always add it to that one now, since modal
handlers were not used in other levels.

The order used to be:
* window modal + keymap
* area modal + keymap
* region modal + keymap

Now it is:
* window modal
* region keymap
* area keymap
* window keymap

12 years ago- jitter for painting (image and projection painting, others can be added)
Campbell Barton [Fri, 18 Sep 2009 11:25:52 +0000 (11:25 +0000)]
- jitter for painting (image and projection painting, others can be added)
- remove falloff setting now the curve is used.
- bugfix for airbrush & tablet, with no movement it would assume 1.0 pressure.
- rna, use the use_* prefix for brush options.

12 years agoChanged a few mutually exclusive options in preferences to radio buttons (enums)
William Reynish [Fri, 18 Sep 2009 07:44:52 +0000 (07:44 +0000)]
Changed a few mutually exclusive options in preferences to radio buttons (enums)

12 years agocurve could return values lower then zero, making a brush add and subtract the color...
Campbell Barton [Fri, 18 Sep 2009 04:07:41 +0000 (04:07 +0000)]
curve could return values lower then zero, making a brush add and subtract the color in different parts. (cool but not useful!)

12 years ago* fix for previous commit, didn't take brush strength into account
Matt Ebb [Fri, 18 Sep 2009 03:47:17 +0000 (03:47 +0000)]
* fix for previous commit, didn't take brush strength into account

12 years agoremove brush_sample_falloff, #if 0, unused function is_tablet_cursor
Campbell Barton [Fri, 18 Sep 2009 03:41:37 +0000 (03:41 +0000)]
remove brush_sample_falloff, #if 0, unused function is_tablet_cursor

12 years agonetrender: only one log file for each chunk
Martin Poirier [Fri, 18 Sep 2009 03:29:50 +0000 (03:29 +0000)]
netrender: only one log file for each chunk

12 years ago* Added notifiers/redraws for brush edits in 3d view and image editor (so using radia...
Matt Ebb [Fri, 18 Sep 2009 03:11:17 +0000 (03:11 +0000)]
* Added notifiers/redraws for brush edits in 3d view and image editor (so using radial control updates tool properties)

* Changed the non-projection paint code to use the brush falloff curve, rather than a predefined falloff. This makes non-projection painting in the 3d view, and image editor painting much more consistent with other brush usage.

12 years agosame as r23322 in 2.4x
Campbell Barton [Fri, 18 Sep 2009 02:38:38 +0000 (02:38 +0000)]
same as r23322 in 2.4x
--- 2.4x log
use functions to detect stylus and eraser from the wine project, supposed to work with non-wacom tablets too (searches for wizardpen & acecad as well as 'stylus').
2.4x did an exact check on the name, 2.5 does a case insensitive search on the type.

This does a case insensitive check on both the name and type.

close the devices on exit too.

12 years ago* Made image editor paint use predefined left/right mouse buttons rather than action...
Matt Ebb [Fri, 18 Sep 2009 02:19:27 +0000 (02:19 +0000)]
* Made image editor paint use predefined left/right mouse buttons rather than action/select, consistent with 3d view painting (and better for tablets!)

* Fixed a small bug in project paint tool ui

12 years agoParticles cleanup, optimizations and some small new stuff.
Janne Karhu [Thu, 17 Sep 2009 22:00:49 +0000 (22:00 +0000)]
Particles cleanup, optimizations and some small new stuff.

New stuff
- Bending springs for hair dynamics.

Code cleanup & optimization
- Disabled reactor particles temporarily for cleanup, it's a clumsy system that will be replaced with something better.
- Removed child seams, something better will come here too :)
- Normal particle drawing data is now saved between redraws if the particles don't move between redraws.
* For example rotating the 3d view is now realtime even with 1M particles.
- Many random values for particles now come from a lookup table making things much faster.
- Most accessed small point cache functions are now much faster as macros.
- Lot's of general code cleanup.
- Nothing big should have changed so if something doesn't work like it used to it's probably just a typo somewhere :)

12 years agoKeymaps now have a poll() function, rather than adding/removing
Brecht Van Lommel [Thu, 17 Sep 2009 21:36:02 +0000 (21:36 +0000)]
Keymaps now have a poll() function, rather than adding/removing
their handlers based on notifiers, which is simpler and more

This fixes for example editmode or uv edit keymaps not working
when creating a new 3dview or image space.

12 years agonetrender:
Martin Poirier [Thu, 17 Sep 2009 18:40:37 +0000 (18:40 +0000)]

Disable windows' blocking crash reports in child process. (windows only)
Get server port as well as ip address from master broadcast (broadcast is on a fixed port).

12 years agoForgot to delete unused code.
William Reynish [Thu, 17 Sep 2009 17:44:54 +0000 (17:44 +0000)]
Forgot to delete unused code.

12 years ago-Shuffled some user prefs around to make better use of the available space in Prefere...
William Reynish [Thu, 17 Sep 2009 17:42:08 +0000 (17:42 +0000)]
-Shuffled some user prefs around to make better use of the available space in Preferences.
-Temporarily disabled the Themes tab until we figure out how to manage themes properly.

12 years ago2.5: Adding a crop node caused crash, wrong layout deceleration was used.
Thomas Dinges [Thu, 17 Sep 2009 17:31:50 +0000 (17:31 +0000)]
2.5: Adding a crop node caused crash, wrong layout deceleration was used.

12 years ago-Added Loop Cut to toolbar
William Reynish [Thu, 17 Sep 2009 16:47:04 +0000 (16:47 +0000)]
-Added Loop Cut to toolbar
-Adjusted some UV Editor panels slightly
-Made a few nodes clearer. The Crop node was especially confusing.

12 years agoWrapped some more Nodes:
Thomas Dinges [Thu, 17 Sep 2009 15:06:03 +0000 (15:06 +0000)]
Wrapped some more Nodes:
* Composite: Flip, Crop, Map UV, Lens Distortion.

12 years agoWarning fixes for blenkernel and editors.
Brecht Van Lommel [Thu, 17 Sep 2009 14:46:22 +0000 (14:46 +0000)]
Warning fixes for blenkernel and editors.

Note sure what to do with this one, and personally think
we should avoid using macros for this kind of thing:

source/blender/editors/mesh/loopcut.c:232: warning: value computed is not used

12 years agoFix #19371: vertex group dropdown crash, own fault in commit yesterday.
Brecht Van Lommel [Thu, 17 Sep 2009 14:37:08 +0000 (14:37 +0000)]
Fix #19371: vertex group dropdown crash, own fault in commit yesterday.

12 years agoUI: fix display of shape key list to show with no items,
Brecht Van Lommel [Thu, 17 Sep 2009 14:35:08 +0000 (14:35 +0000)]
UI: fix display of shape key list to show with no items,
list template should also accept None.

12 years agoUpdate MSVC project files.
Benoit Bolsee [Thu, 17 Sep 2009 11:17:49 +0000 (11:17 +0000)]
Update MSVC project files.

12 years ago2.5 - Animation Utility Function
Joshua Leung [Thu, 17 Sep 2009 10:14:56 +0000 (10:14 +0000)]
2.5 - Animation Utility Function

Added a utility function to check which transforms for an object or bone are animated, returning these as bitflags and/or optionally retrieving the relevant F-Curves too. Beware that this method may not be working correctly yet, but it shouldn't hurt anyone in the meantime :)

Also, split RNA-path building function up into a version which only creates the path up to the given struct, with the other parts being added later.

12 years agorna function api was overwriting useful errors with keyword errors.
Campbell Barton [Thu, 17 Sep 2009 00:14:47 +0000 (00:14 +0000)]
rna function api was overwriting useful errors with keyword errors.
fix some missing checks in the python interface.

12 years ago* fix compilation on osx
Matt Ebb [Wed, 16 Sep 2009 22:27:27 +0000 (22:27 +0000)]
* fix compilation on osx

12 years agobugfix for LineIntersectLine()
Remigiusz Fiedler [Wed, 16 Sep 2009 22:12:23 +0000 (22:12 +0000)]
bugfix for LineIntersectLine()
- was imperfect calculation for points marking shortest distance for non-crossing lines in 3d

12 years ago2.5:
Thomas Dinges [Wed, 16 Sep 2009 20:07:05 +0000 (20:07 +0000)]
Test Commit, converted Filter Composite Node to use layout engine. :)
Will do other Nodes in the next few days.

12 years ago*Changed image field order property to enum, making it consistent with the correspond...
William Reynish [Wed, 16 Sep 2009 19:58:01 +0000 (19:58 +0000)]
*Changed image field order property to enum, making it consistent with the corresponding render option
*Tiny edit to image panel.