9 years agoMerge -c 28014 from COLLADA branch into trunk.
Arystanbek Dyussenov [Mon, 5 Apr 2010 15:47:57 +0000 (15:47 +0000)]
Merge -c 28014 from COLLADA branch into trunk.

9 years agoFix #21641: crash when disabling active addon, removing operator
Brecht Van Lommel [Mon, 5 Apr 2010 14:21:57 +0000 (14:21 +0000)]
Fix #21641: crash when disabling active addon, removing operator
type could still leave it in the history stack.

9 years agoBugfix #21856: Empty F-Curves created when keyframing with 'auto keyframing mode...
Joshua Leung [Mon, 5 Apr 2010 12:17:33 +0000 (12:17 +0000)]
Bugfix #21856: Empty F-Curves created when keyframing with 'auto keyframing mode' set to 'replace' caused problems with bad rotations and scaling to a point.

Now, when the mode is 'replace', no F-Curves are created during keyframing (i.e. only existing F-Curves are used).


Also, fixed missing line in previous commit for Select Linked.

9 years agoAnimation Editors: Select Linked Operator
Joshua Leung [Mon, 5 Apr 2010 11:47:55 +0000 (11:47 +0000)]
Animation Editors: Select Linked Operator

This operator selects all the keyframes in the same F-Curve as a selected keyframe.

9 years agoFix #21828: vertex group remove function removes vertices from all groups.
Brecht Van Lommel [Mon, 5 Apr 2010 11:22:49 +0000 (11:22 +0000)]
Fix #21828: vertex group remove function removes vertices from all groups.

9 years agoFix #21885: constraint with copy location/rotation from vertex group crashes.
Brecht Van Lommel [Mon, 5 Apr 2010 11:11:15 +0000 (11:11 +0000)]
Fix #21885: constraint with copy location/rotation from vertex group crashes.

9 years agoFix #21349: triple buffer drawing doesn't work well with thousands of
Brecht Van Lommel [Mon, 5 Apr 2010 10:25:40 +0000 (10:25 +0000)]
Fix #21349: triple buffer drawing doesn't work well with thousands of
colors setting on Mac, just disabled it in that case.

9 years agoFix for [#21908] SPH fluids - crash when editing while playing
Janne Karhu [Mon, 5 Apr 2010 09:46:01 +0000 (09:46 +0000)]
Fix for [#21908] SPH fluids - crash when editing while playing

9 years ago'Fix' [#21843] Manipulating Set Render Border sliders causes a crash
Matt Ebb [Mon, 5 Apr 2010 08:13:04 +0000 (08:13 +0000)]
'Fix' [#21843] Manipulating Set Render Border sliders causes a crash

Just make the operator cancel if the region in the context is not a RegionView3d.
This is not an issue isolated to this operator, it affects other ones that require a
RegionView3d too, like knife. One to solve for later, at least this doesn't crash now.

9 years agoFix [#21909] full sample motion blur
Matt Ebb [Mon, 5 Apr 2010 07:57:05 +0000 (07:57 +0000)]
Fix [#21909] full sample motion blur

Stop animation playback before rendering

9 years agoBugfix #21914: SigSegV when loading file with missing proxy object
Joshua Leung [Mon, 5 Apr 2010 07:20:34 +0000 (07:20 +0000)]
Bugfix #21914: SigSegV when loading file with missing proxy object

This 'should' fix it...

9 years agoBugfix #21212: Segfault when object.add_vertex_to_group() called with invalid vertex...
Joshua Leung [Mon, 5 Apr 2010 07:16:22 +0000 (07:16 +0000)]
Bugfix #21212: Segfault when object.add_vertex_to_group() called with invalid vertex index

Safety checks are now performed before indexing into the dvert array obtained.

9 years agoBugfixes for Grease Pencil and the Image Editor (includes fix for #20921):
Joshua Leung [Mon, 5 Apr 2010 06:52:27 +0000 (06:52 +0000)]
Bugfixes for Grease Pencil and the Image Editor (includes fix for #20921):

* Fixed crash with when/after undoing Grease Pencil sketches in the Image Editor. To get this working, I've had to sacrifice the backwards-compat loading for old .blend files from 2.49 which were using the same pointer as the new data (local data vs datablock data). If anyone has any ingenious hacks to fix this, go ahead, but otherwise, some caution is advised here...

* Grease Pencil block used for Image Editor instances can now be changed

* Enabled proper active polls on the advanced 3D-view projection methods for drawing. These are not valid in views other than the 3D-View, and so should not be shown as available for use elsewhere (though may still be shown just so that users know what mode an 'imported' datablock may be using).

* Enabled proper updates for Grease Pencil editing in the Image Editor. Was missing notifiers for this stuff.

* When drawing in the Image Editor with no image active, the system now (quietly) switches to using screen-space 'view' vs 'cursor' space for the strokes, since the previous behaviour was confusing with strokes disappearing after drawing them. IMO this is a much better option than the confusion that occurred before, even though it does change the user's settings under their feet!

9 years agoFix [#21886] OBJ export crashes if attempted while in edit mode
Matt Ebb [Mon, 5 Apr 2010 06:45:44 +0000 (06:45 +0000)]
Fix [#21886] OBJ export crashes if attempted while in edit mode

Didn't crash for me, but did export incorrectly since editmode changes weren't flushed.
Fixed this by setting all exporters to go back to object mode before exporting.

Also cleaned up some naming in exporter creator strings, it's "Blender" not "Blender3D".

9 years agoFix [#21861] hemi light and shadow only maerial
Matt Ebb [Mon, 5 Apr 2010 05:46:39 +0000 (05:46 +0000)]
Fix [#21861] hemi light and shadow only maerial

Made Shadow only materials render as completely transparent when there are no
shadow casting lamps - more logical than solid black.

9 years agoFix [#21895] Incorrect calculations for measurement system
Matt Ebb [Mon, 5 Apr 2010 05:32:16 +0000 (05:32 +0000)]
Fix [#21895] Incorrect calculations for measurement system

3d view grid scale text description wasn't using unit scale correctly

9 years agoFix [#21912] knife and subdivide tools do not split edges properly
Matt Ebb [Mon, 5 Apr 2010 04:58:17 +0000 (04:58 +0000)]
Fix [#21912] knife and subdivide tools do not split edges properly

Added back the 'corner cut pattern' as an operator property for subdivide operator.
Not added for knife yet, since operator redo doesn't seem to be working at all -
already logged in the tracker.

9 years agoDurian Feature Request for Graph Editor: Border Select (optionally) considers handles
Joshua Leung [Mon, 5 Apr 2010 03:37:28 +0000 (03:37 +0000)]
Durian Feature Request for Graph Editor: Border Select (optionally) considers handles

Early when implementing the Graph Editor in 2.5, a key complaint that was levelled at the old 'IPO Editor' was that it was a constant annoyance that adjacent handles were getting selected in addition to the keyframes, when only the keyframes were intended. I solved this by making this default to only selecting keyframes and ignoring the handles, but this means that it isn't possible to batch move several handles at once.

I've now improved this situation by adding an option to the border select operator (involved using Ctrl-B instead of B) which makes the handles get treated separately (as if they were separate verts, as in 2.4x). The default is still to only select keyframes, to have consistency with the DopeSheet...

Also performed some more renaming work in the code...

9 years agoMissed one of the tweak operator for nodes when adding new param.
Martin Poirier [Mon, 5 Apr 2010 00:06:06 +0000 (00:06 +0000)]
Missed one of the tweak operator for nodes when adding new param.

9 years agoAnimation fixup squad to the rescue!
Joshua Leung [Sun, 4 Apr 2010 22:13:57 +0000 (22:13 +0000)]
Animation fixup squad to the rescue!

R 27991 broke all script-based Keying Set support, including all the Built-In Keying Sets. This meant that it nearly impossible to still keyframe anything (there are other less convenient ways, but none work quite as well).

9 years ago[#21910] Add Current Time to Render Stamps
Campbell Barton [Sun, 4 Apr 2010 21:57:51 +0000 (21:57 +0000)]
[#21910] Add Current Time to Render Stamps
by Harley Acheson (harley)

note from the submission
While in there I removed the Win32 conditionals that made "_strdate" used to
get date on Windows. "localtime" works fine on Windows so the results are consistent on all platforms.

9 years agoCommented out some unimplemented operators, avoids gray text in the UI
Elia Sarti [Sun, 4 Apr 2010 18:56:03 +0000 (18:56 +0000)]
Commented out some unimplemented operators, avoids gray text in the UI
Also I noticed there's a check on strip.type == 'EFFECT', which can never be true because strip.type actually contains the type of effect, e.g. "GLOW", "ADD" etc. Not a big problem currently because it's not used.

9 years agomake keying set path functions members of the paths collection
Campbell Barton [Sun, 4 Apr 2010 17:42:40 +0000 (17:42 +0000)]
make keying set path functions members of the paths collection

9 years agoadded negative bounds checks so drawing text into a buffer wont crash.
Campbell Barton [Sun, 4 Apr 2010 15:03:45 +0000 (15:03 +0000)]
added negative bounds checks so drawing text into a buffer wont crash.

9 years agopep8 cleanup
Campbell Barton [Sun, 4 Apr 2010 14:52:15 +0000 (14:52 +0000)]
pep8 cleanup

9 years agono functional changes. use sizeof() and MAXFRAME
Campbell Barton [Sun, 4 Apr 2010 14:33:41 +0000 (14:33 +0000)]
no functional changes. use sizeof() and MAXFRAME

9 years ago[#21867] Add rotate option to blf module
Campbell Barton [Sun, 4 Apr 2010 13:05:38 +0000 (13:05 +0000)]
[#21867] Add rotate option to blf module
by Dan Eicher (dna)

9 years agoFluid physics for particles by Raul Fernandez Hernandez (Farsthary) and Stephen Swhit...
Janne Karhu [Sun, 4 Apr 2010 12:29:06 +0000 (12:29 +0000)]
Fluid physics for particles by Raul Fernandez Hernandez (Farsthary) and Stephen Swhitehorn:

This patch add SPH (Smoothed Particle Hydrodynamics)fluid dynamics to the
blender particle system. SPH is an boundless Lagrangian interpolation
technique to solve the fluid motion equations.

From liquids to sand, goo and gases could be simulated using the particle

It features internal viscosity, a double density relaxation that accounts
for surface tension effects, static internal springs for plastic fluids,
and buoyancy for gases.


This is a commit of the core fluid physics. Raul will work on proper
documentation soon and more features such as surface extraction from
the particle point cloud and increasing stability by sub-frame calculations

9 years ago2.5 Preview Render:
Thomas Dinges [Sun, 4 Apr 2010 12:09:59 +0000 (12:09 +0000)]
2.5 Preview Render:
* Converted Type Buttons (Flat, Cube, Monkey etc.) in Material Preview to RNA.
* "Alpha" option in texture Preview Render is back!

9 years agoUse DerivedMesh->getNumFaces function in drawSolidSelect() if curve
Sergey Sharybin [Sun, 4 Apr 2010 11:07:42 +0000 (11:07 +0000)]
Use DerivedMesh->getNumFaces function in drawSolidSelect() if curve
object has got derived mesh.

9 years agoFix #21850: Modifier applied to surface doesnt work when only a curve.
Sergey Sharybin [Sun, 4 Apr 2010 11:07:34 +0000 (11:07 +0000)]
Fix #21850: Modifier applied to surface doesnt work when only a curve.

I removed 3D flag checking for DL_POLY displists in nurbs-to-mesh conversion
function -- DL_POLY displist should be always converted to edge loop.
DL_POLY which should be converted to something else is odd i think.

This commit also fixes trouble cyclic surface curve to mesh conversion problem.

9 years agoFix crash entering edit mode on linked duplicate meshes with
Brecht Van Lommel [Sun, 4 Apr 2010 10:37:47 +0000 (10:37 +0000)]
Fix crash entering edit mode on linked duplicate meshes with
dupliverts. The flag mode & OB_MODE_EDIT only indicates that
this object is being edited by the user, not if the mesh is
in editmode or not, it should check for the existence of
me->edit_mesh. Also corrected two other places for this.

9 years agoHistogram and line sample can now be resized vertically
Matt Ebb [Sun, 4 Apr 2010 02:37:22 +0000 (02:37 +0000)]
Histogram and line sample can now be resized vertically

9 years ago'Active spline' theme setting was not getting initialised on old files
Joshua Leung [Sun, 4 Apr 2010 02:08:38 +0000 (02:08 +0000)]
'Active spline' theme setting was not getting initialised on old files

9 years agoAdded a new 'straight line' gesture type that can be used in any operator.
Matt Ebb [Sun, 4 Apr 2010 00:21:37 +0000 (00:21 +0000)]
Added a new 'straight line' gesture type that can be used in any operator.

Use this for image editor Line Sample tool, rather than custom modal operator/
custom drawing.

9 years agokeymap.add_item, add_modal_items --> keymap.items.add()/add_modal()
Campbell Barton [Sat, 3 Apr 2010 22:09:44 +0000 (22:09 +0000)]
keymap.add_item, add_modal_items --> keymap.items.add()/add_modal()

9 years agoMore work on Drag Immediate:
Martin Poirier [Sat, 3 Apr 2010 17:38:43 +0000 (17:38 +0000)]
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).

9 years agoBugfix #21896: Adding an modifier to a NLA strip adds it to all NLA strips
Joshua Leung [Sat, 3 Apr 2010 11:19:17 +0000 (11:19 +0000)]
Bugfix #21896: Adding an modifier to a NLA strip adds it to all NLA strips

When adding modifiers to a NLA strips vs adding to the active NLA strip only, was missing a check that strips were selected first.

9 years agoOSX: CMake & scons update for Ogg/Vorbis/FLAC added support to lib SNDFILE
Damien Plisson [Sat, 3 Apr 2010 09:54:38 +0000 (09:54 +0000)]
OSX: CMake & scons update for Ogg/Vorbis/FLAC added support to lib SNDFILE

Note that you need to svn up the precompiled lib folder (darwin-*) too to be able to build with SNDFILE

9 years agoCommit removing Mesh Deform modifier's surface mode broke the it's UI
Daniel Salazar [Sat, 3 Apr 2010 09:09:48 +0000 (09:09 +0000)]
Commit removing Mesh Deform modifier's surface mode broke the it's  UI

9 years agoAdding Subdivide UVs flag to modifier UI
Daniel Salazar [Sat, 3 Apr 2010 07:57:28 +0000 (07:57 +0000)]
Adding Subdivide UVs flag to modifier UI

9 years agoPatch #21892 by Ruslan M (luciofulci): Removing 16 materials per mesh
Daniel Salazar [Sat, 3 Apr 2010 05:20:58 +0000 (05:20 +0000)]
Patch #21892 by Ruslan M (luciofulci): Removing 16 materials per mesh
limit from OBJ import script. Also made split materials off by default

9 years ago[#21840] When clicking to move a Node it sticks to the mouse
Martin Poirier [Fri, 2 Apr 2010 19:40:51 +0000 (19:40 +0000)]
[#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.

9 years agoRNA Property debug in Main, mapped to G.f's G_DEBUG
Martin Poirier [Fri, 2 Apr 2010 19:38:20 +0000 (19:38 +0000)]
RNA Property debug in Main, mapped to G.f's G_DEBUG

9 years ago[#21865] Blender V Alpha 2 X-mirror Extruding error
Martin Poirier [Fri, 2 Apr 2010 18:16:24 +0000 (18:16 +0000)]
[#21865] Blender V Alpha 2 X-mirror Extruding error

Forcing mirror off on extrude transform

9 years agoSet Scenes and Physics
Campbell Barton [Fri, 2 Apr 2010 14:57:12 +0000 (14:57 +0000)]
Set Scenes and Physics
- objects in a set scene now are evaluated with the frame from the current scene.
- pointcache now loops over all set scene objects.

9 years agobugfix [#21230] set-scene animation updates not working
Campbell Barton [Fri, 2 Apr 2010 13:43:56 +0000 (13:43 +0000)]
bugfix [#21230] set-scene animation updates not working
fix for empty scenes with SETLOOPER macro.

9 years agocommenting hamx format, should evertually be removed along with amiga format.
Campbell Barton [Fri, 2 Apr 2010 12:18:01 +0000 (12:18 +0000)]
commenting hamx format, should evertually be removed along with amiga format.

9 years agoBatch renaming some keyframe editing internals in preparation for more generic keyfra...
Joshua Leung [Fri, 2 Apr 2010 12:02:39 +0000 (12:02 +0000)]
Batch renaming some keyframe editing internals in preparation for more generic keyframe editing API, allowing more niceties...

9 years ago"Fix" #20225: mesh deform surface modifier problems. This mode was an
Brecht Van Lommel [Fri, 2 Apr 2010 11:39:40 +0000 (11:39 +0000)]
"Fix" #20225: mesh deform surface modifier problems. This mode was an
experiment and turn out to work poorly because it does not preserve
rotations, so I've just removed the option now. Alternative is to use
a solidify modifier on the cage mesh, which will usually give better

9 years agopointcache in set scenes wasnt updating
Campbell Barton [Fri, 2 Apr 2010 11:18:52 +0000 (11:18 +0000)]
pointcache in set scenes wasnt updating

9 years agoFix [#21694] text input box last character not editable
Matt Ebb [Fri, 2 Apr 2010 11:15:37 +0000 (11:15 +0000)]
Fix [#21694] text input box last character not editable

Font kerning needs to be set in order to get accurate results out of BLF_width().
Would be nice if this was more automatic, I've added it to a few other places that
seem like they need this though it's a little unclear due to the globals etc. Also
some other minor tweaks when editing text fields.

9 years agotext drawing with zbuffer checks was way too slow, commenting for now.
Campbell Barton [Fri, 2 Apr 2010 10:32:58 +0000 (10:32 +0000)]
text drawing with zbuffer checks was way too slow, commenting for now.

9 years agoSimple crasher fix: TAB to change mode crashed after moving all the scene's objects...
Joshua Leung [Fri, 2 Apr 2010 10:07:31 +0000 (10:07 +0000)]
Simple crasher fix: TAB to change mode crashed after moving all the scene's objects to a hidden layer.

9 years agoWorld RNA:
Thomas Dinges [Fri, 2 Apr 2010 09:09:10 +0000 (09:09 +0000)]
World RNA:
*3D View (camera perspective) didn't update on changing some Star settings. They were missing ND_WORLD_DRAW notifier.

9 years agoavoid error message when stopping animation playback.
Campbell Barton [Fri, 2 Apr 2010 08:51:48 +0000 (08:51 +0000)]
avoid error message when stopping animation playback.

9 years agoFix [#21868] Header flickering when mouse moves over region borders
Matt Ebb [Fri, 2 Apr 2010 05:46:05 +0000 (05:46 +0000)]
Fix [#21868] Header flickering when mouse moves over region borders

Patch by Elia Sarti, thanks!

9 years agoFix [#21852] Empty Objects slow down performance
Matt Ebb [Fri, 2 Apr 2010 05:05:49 +0000 (05:05 +0000)]
Fix [#21852] Empty Objects slow down performance

This replaces the screen-aligned bitmap text drawing with wireframe x/y/z as
part of the empty axis openGL code. It's a lot faster in all situations that draw
empty axes to screen - including posing armatures with axes on (5fps vs 40fps
on tracker test file).

9 years agoBugfix #21853: Border zoom in the 2D-Views zooms out
Joshua Leung [Fri, 2 Apr 2010 03:52:44 +0000 (03:52 +0000)]
Bugfix #21853: Border zoom in the 2D-Views zooms out

* Fixed the way the operator was checking for what the user wanted when using the operator
* Added a few specific defines to a copy of the gesture border modal keymap (added one for zooming only) labelled 'In' and 'Out' which make this more useful than being hacked to use select and deselect

9 years agoFix [#21874] Sun/ Sky breaks when sun is in the night rotation
Matt Ebb [Fri, 2 Apr 2010 01:28:14 +0000 (01:28 +0000)]
Fix [#21874] Sun/ Sky breaks when sun is in the night rotation

Disable atmosphere when the sun lamp direction is below the horizon. This
feature needs a re-code...

9 years agoBump subversion number so that new defaults initialisations from prev commit will...
Joshua Leung [Fri, 2 Apr 2010 01:04:26 +0000 (01:04 +0000)]
Bump subversion number so that new defaults initialisations from prev commit will work ok. Missed this file when committing...

9 years agoKeyframe Defaults and Cleanups:
Joshua Leung [Fri, 2 Apr 2010 01:03:40 +0000 (01:03 +0000)]
Keyframe Defaults and Cleanups:

This commit fixes reports #21638 and #21818, which were both also Durian feature requests.

* Added new default setting for the type of handles created when creating keyframes. This can be found in the user-preferences, and is used whenever existing keyframes aren't being overwritten (instead of the value being always taken from the keyframes either side, #21638).

* When keyframing over existing keyframes, only the values will be changed. The handles will be offset by the same amount that the value of the keyframe changed, though how well this works in practice still needs to be tested more thoroughly (#21818, already fixed earlier, but this commit is the full fix).

* When 'free' handles are added by default, they are offset to be +/- 1 frame on either side of the keyframe so that it is obvious that they can be moved. However, they just take the same value of the keyframe since this is easiest.

* Properly initialising handle colour defaults for 3D-View and Graph Editor. Graph Editor's theme userprefs also show these settings now, though the layout is really quick hack-style.

9 years agoTiny fix [#21871] Mesh tools, merge, use of "vertices" where only a single vertex...
Matt Ebb [Fri, 2 Apr 2010 00:27:30 +0000 (00:27 +0000)]
Tiny fix [#21871] Mesh tools, merge, use of "vertices" where only a single vertex has been removed.

9 years agowould not want to wait for 'that' on every build
Jens Ole Wund [Thu, 1 Apr 2010 23:58:12 +0000 (23:58 +0000)]
would not want to wait for 'that' on every build
MS scons win32  skip calling makebsc by default

9 years agorna naming, *_frame --> frame_*
Campbell Barton [Thu, 1 Apr 2010 21:44:56 +0000 (21:44 +0000)]
rna naming, *_frame --> frame_*

9 years agoRemove some experimental python script code.
Brecht Van Lommel [Thu, 1 Apr 2010 20:48:20 +0000 (20:48 +0000)]
Remove some experimental python script code.

9 years agoAdded visible_bases and visible_objects to screen Context.
Elia Sarti [Thu, 1 Apr 2010 19:48:29 +0000 (19:48 +0000)]
Added visible_bases and visible_objects to screen Context.
Also fixes [#21576] bpy.ops.object.select_all() doesn't function

9 years ago[#21835] Improved Addons in User Prefs by Keith Boshoff (wahooney)
Thomas Dinges [Thu, 1 Apr 2010 17:50:49 +0000 (17:50 +0000)]
[#21835] Improved Addons in User Prefs by Keith Boshoff (wahooney)

This adds a "description" field to addons (ideally a small 1 liner, with basic info)

9 years agoSmoke:
Daniel Genrich [Thu, 1 Apr 2010 14:44:31 +0000 (14:44 +0000)]
* Bugfix for missing high res calculation when low res cache was already there
* Bugfix for loading file with smoke but tfor the first "round" of alt-a nothing happened. Now the smoke gets calculated on file load, too.

9 years agoFix #21771: crash in render baking with image that can't be loaded.
Brecht Van Lommel [Thu, 1 Apr 2010 14:32:08 +0000 (14:32 +0000)]
Fix #21771: crash in render baking with image that can't be loaded.

9 years agomove operator reports into a global list so they display in the console.
Campbell Barton [Thu, 1 Apr 2010 13:54:53 +0000 (13:54 +0000)]
move operator reports into a global list so they display in the console.

9 years agoSome minor python UI script fixes.
Brecht Van Lommel [Thu, 1 Apr 2010 12:53:38 +0000 (12:53 +0000)]
Some minor python UI script fixes.

9 years agoAttempted fixes for render crashes on windows, still can't redo them here
Brecht Van Lommel [Thu, 1 Apr 2010 12:51:24 +0000 (12:51 +0000)]
Attempted fixes for render crashes on windows, still can't redo them here
in a virtual machine, maybe that has some different threading behavior.
Also should fix a problem with displaying render passes and multiple slots.

9 years agoscene.timeline_markers.add/remove() support.
Campbell Barton [Thu, 1 Apr 2010 12:10:21 +0000 (12:10 +0000)]
scene.timeline_markers.add/remove() support.

9 years agoBugfix #21763: extremly zooming into graph editor via ctrl+mmb locks up blender
Joshua Leung [Thu, 1 Apr 2010 11:59:27 +0000 (11:59 +0000)]
Bugfix #21763: extremly zooming into graph editor via ctrl+mmb locks up blender

Curve sampling minimum 'sampling frequency' for display could get too low causing a hang (with really-slow convergence). Clamping with a coarses limit now.

9 years agomissed in merging from render branch
Campbell Barton [Thu, 1 Apr 2010 09:29:35 +0000 (09:29 +0000)]
missed in merging from render branch

9 years agoAdded missing Bottom, Left, Back view modes in the "View" menu on 3D area
Daniel Salazar [Thu, 1 Apr 2010 08:55:47 +0000 (08:55 +0000)]
Added missing Bottom, Left, Back view modes in the "View" menu on 3D area

9 years agocommit 27896 : merge render branch into trunk reverted changes in rna_curve.c
Campbell Barton [Thu, 1 Apr 2010 08:49:11 +0000 (08:49 +0000)]
commit 27896 : merge render branch into trunk reverted changes in rna_curve.c

9 years agoallow action groups with "" name, (just uses "Group" instead)
Campbell Barton [Thu, 1 Apr 2010 08:39:08 +0000 (08:39 +0000)]
allow action groups with "" name, (just uses "Group" instead)

9 years agoFix [#21860] Quads/Triangles Selection miss to mark some Edges.
Matt Ebb [Thu, 1 Apr 2010 06:37:35 +0000 (06:37 +0000)]
Fix [#21860] Quads/Triangles Selection miss to mark some Edges.

9 years agoFix [#21347] no image at node editor
Matt Ebb [Thu, 1 Apr 2010 06:30:05 +0000 (06:30 +0000)]
Fix [#21347] no image at node editor

Node preview render wasn't getting the correct test_break callback

9 years agoAssorted animsys fixes/tweaks:
Joshua Leung [Thu, 1 Apr 2010 06:26:41 +0000 (06:26 +0000)]
Assorted animsys fixes/tweaks:

* Fixed all the dangerous code added in 27907. Using the code there, scripters could corrupt animation files in ways which would render them useless, with channels not appearing in any animation editors, and others not getting evaluated at all.

* Partial fix of bug 21818, by disabling destructive replacement of keyframes. Will followup this commit with a more comprehensive commit which gets rid of the rest of the problems, by incorporating some requests from Durian team.

* Fixed problems with users being able to see+edit the name of the active Keying Set in the Scene buttons. There is still a bug though with the list widget given how the indices are now interpreted...

9 years agoFix [#21298] Colour Management: Convert To Float & Use Colour Balance Linearising...
Matt Ebb [Thu, 1 Apr 2010 03:58:20 +0000 (03:58 +0000)]
Fix [#21298] Colour Management: Convert To Float & Use Colour Balance Linearising VSE Strip

Removed all colour management from sequencer, need better design/plan for this.

9 years agoFix [#20711] Loop selection not working with Emulate MMB + Left mouse select
Matt Ebb [Thu, 1 Apr 2010 02:28:08 +0000 (02:28 +0000)]
Fix [#20711] Loop selection not working with Emulate MMB + Left mouse select

Emulate 3 button mouse is now disabled when Left mouse select is used, to
prevent keymap conflicts. Configs for single button macs etc we can do with
keymap presets.

9 years agoFix [#21775] Double-clicking icons in the file browser doesn't open files
Matt Ebb [Thu, 1 Apr 2010 01:27:22 +0000 (01:27 +0000)]
Fix [#21775] Double-clicking icons in the file browser doesn't open files

Complicated issue, but this should be correct, and testing goes fine. fingers crossed.

9 years agoBGE fix: Parenting the object to itself crashes BGE + stubs update
Dalai Felinto [Wed, 31 Mar 2010 22:49:59 +0000 (22:49 +0000)]
BGE fix: Parenting the object to itself crashes BGE + stubs update
it may happen if you start doing exec, setParent, ... in Python
not a big deal, but to crash Blender is always bad

9 years agosvn merge -r27895:27901...
Campbell Barton [Wed, 31 Mar 2010 20:39:08 +0000 (20:39 +0000)]
svn merge -r27895:27901; svn merge -r27902:27907, skipping 27902

9 years agocleanup
Andrea Weikert [Wed, 31 Mar 2010 18:02:56 +0000 (18:02 +0000)]
* removed code that could lead to Blender writing in the Windows directory - is very old cruft and doesn't work on recent versions of Windows anymore and rightly so :)

9 years agoMSVC 9 projectfiles
Andrea Weikert [Wed, 31 Mar 2010 17:46:17 +0000 (17:46 +0000)]
MSVC 9 projectfiles
* maintenance - removed BLI_dynamiclist.c

9 years agoMerge -c 27903 from COLLADA branch into trunk.
Arystanbek Dyussenov [Wed, 31 Mar 2010 15:04:46 +0000 (15:04 +0000)]
Merge -c 27903 from COLLADA branch into trunk.

9 years ago[#21762] BLI_dynamiclist is never used
Campbell Barton [Wed, 31 Mar 2010 12:35:05 +0000 (12:35 +0000)]
[#21762] BLI_dynamiclist is never used

 data structure has some advantages but isnt used. removing for now.

9 years ago[#21851] Bugfix: [#21254] text editor jump to line crash
Campbell Barton [Wed, 31 Mar 2010 08:33:43 +0000 (08:33 +0000)]
[#21851] Bugfix: [#21254] text editor jump to line crash
 by Ignacio Fern├índez (hellmoon666)

9 years agosvn merge -r27867:27871
Campbell Barton [Wed, 31 Mar 2010 07:28:23 +0000 (07:28 +0000)]
svn merge -r27867:27871

9 years agosvn merge -r27875:27895
Campbell Barton [Wed, 31 Mar 2010 07:22:18 +0000 (07:22 +0000)]
svn merge -r27875:27895

9 years agoOnly add drivers (and keying sets, keyframes etc) when exact key combo is
Matt Ebb [Wed, 31 Mar 2010 07:03:13 +0000 (07:03 +0000)]
Only add drivers (and keying sets, keyframes etc) when exact key combo is
pressed. This prevent adding drivers to properties when mouse is over a node,
trying to duplicate it with Shift D.

9 years agotaper/bevel object checking moved from RNA update to RNA pointer set function.
Sergey Sharybin [Wed, 31 Mar 2010 07:02:24 +0000 (07:02 +0000)]
taper/bevel object checking moved from RNA update to RNA pointer set function.

9 years agoFix [#21826] Memory Map growing in size on each render
Matt Ebb [Wed, 31 Mar 2010 07:00:59 +0000 (07:00 +0000)]
Fix [#21826] Memory Map growing in size on each render

Image node wasn't properly getting marked to free compbuf data when using premul.

9 years agoFix [#21727] texture in compositor quickly results in crash
Matt Ebb [Wed, 31 Mar 2010 05:44:21 +0000 (05:44 +0000)]
Fix [#21727] texture in compositor quickly results in crash

Hopefully this is correct - looks like the CompBuf->node pointer was getting left
out of the per-thread copying/localisation.

9 years agoFix:
Matt Ebb [Wed, 31 Mar 2010 02:21:32 +0000 (02:21 +0000)]
[#21841] SplitViewer doesn't backdrop in Node Editor
[#21803] Cant See Split Viewer on UV editor

9 years agoFix [#21832] Add Modifier, Pinned Context
Matt Ebb [Wed, 31 Mar 2010 00:55:01 +0000 (00:55 +0000)]
Fix [#21832] Add Modifier, Pinned Context

Added convenience function ED_object_active_context(C) to get either the
object in the data context, or if not, the active object.