9 years agoRevert a crappy line from revision 28060.
Thomas Dinges [Wed, 7 Apr 2010 05:48:52 +0000 (05:48 +0000)]
Revert a crappy line from revision 28060.

9 years agoFix [#21677] mouse dragging the translated object doesn't release the object
Matt Ebb [Wed, 7 Apr 2010 05:39:24 +0000 (05:39 +0000)]
Fix [#21677] mouse dragging the translated object doesn't release the object
after a while

Drag code was inadvertently changing the eventstate->type, which isn't
necessary. Patch #21723 by Anthony Edlin fixes this. Thanks!

9 years agomore functions to stubs.c
Tom Musgrove [Wed, 7 Apr 2010 02:14:46 +0000 (02:14 +0000)]
more functions to stubs.c

9 years agoClarify tooltip for 'Align to View' option for adding objects -
Matt Ebb [Wed, 7 Apr 2010 01:51:32 +0000 (01:51 +0000)]
Clarify tooltip for 'Align to View' option for adding objects -
It can only align to 3D view when adding the object from a 3d View (eg. shift A),
not the top level add menu.

9 years agoFix [#21257] Renders blank images when audio clip is present.
Matt Ebb [Wed, 7 Apr 2010 01:21:10 +0000 (01:21 +0000)]
Fix [#21257] Renders blank images when audio clip is present.

Only render sequencer when there are non-audio strips on the timeline.

9 years ago[#21931] Rotate Edge CW inverted with CCW
Matt Ebb [Wed, 7 Apr 2010 00:54:13 +0000 (00:54 +0000)]
[#21931] Rotate Edge CW inverted with CCW

Edge rotate directions were seemingly switched (when looking at geometry with face
normal pointing at view), so flipped them.

9 years agoFix [#21760] Snap to Origin doesn't work
Matt Ebb [Wed, 7 Apr 2010 00:43:06 +0000 (00:43 +0000)]
Fix [#21760] Snap to Origin doesn't work

Removed the 'Snap selected to origin' operator, it was dysfunctional and other operators
contain better functionality to do the same things.

9 years agoBrought back:
Ton Roosendaal [Tue, 6 Apr 2010 17:47:21 +0000 (17:47 +0000)]
Brought back:

Node R-key: read scene layers (from temp buffers)
     SHIFT+R: read full sample layers.

9 years agoFix #20365: new render window does not respect Windows taskbar at top of screen.
Brecht Van Lommel [Tue, 6 Apr 2010 17:11:38 +0000 (17:11 +0000)]
Fix #20365: new render window does not respect Windows taskbar at top of screen.

9 years agoFix #21166: changing image file path does not update texture preview. I've
Brecht Van Lommel [Tue, 6 Apr 2010 16:53:48 +0000 (16:53 +0000)]
Fix #21166: changing image file path does not update texture preview. I've
made it regenerate previews and icons now for this case. Depsgraph for all
datablocks could solve this much nicer..

9 years agoFix #20911: automatic bone weights work poorly when vertex lies
Brecht Van Lommel [Tue, 6 Apr 2010 16:25:06 +0000 (16:25 +0000)]
Fix #20911: automatic bone weights work poorly when vertex lies
exactly on a bone, tweak epsilons to make this work better.

9 years agoFix #21545: geometry node front/back incorrectly depended on camera angle, can
Brecht Van Lommel [Tue, 6 Apr 2010 10:24:57 +0000 (10:24 +0000)]
Fix #21545: geometry node front/back incorrectly depended on camera angle, can
actually be implemented simpler now.

9 years agoQuick fix to NLA-Baking for Beorn:
Joshua Leung [Tue, 6 Apr 2010 10:07:24 +0000 (10:07 +0000)]
Quick fix to NLA-Baking for Beorn:
Group baked F-Curves by bones instead of by transform type.

9 years agoArea Swap: fix memory leak and access to freed memory.
Brecht Van Lommel [Tue, 6 Apr 2010 09:36:35 +0000 (09:36 +0000)]
Area Swap: fix memory leak and access to freed memory.

9 years agoFix, python changes to array properties were not yet calling update
Brecht Van Lommel [Tue, 6 Apr 2010 09:11:33 +0000 (09:11 +0000)]
Fix, python changes to array properties were not yet calling update
and notifiers like other properties.

9 years agoFix #21402: python operator redo properties not refreshed. Now sends a
Brecht Van Lommel [Tue, 6 Apr 2010 09:07:39 +0000 (09:07 +0000)]
Fix #21402: python operator redo properties not refreshed. Now sends a
NC_WM|ND_HISTORY notifier on registering an operator.

9 years agoTweak/code shuffle to make disabled buttons draw nicer on nodes.
Matt Ebb [Tue, 6 Apr 2010 09:05:00 +0000 (09:05 +0000)]
Tweak/code shuffle to make disabled buttons draw nicer on nodes.

9 years agoFix #21393: some render error messages were not passed to the user.
Brecht Van Lommel [Tue, 6 Apr 2010 08:47:20 +0000 (08:47 +0000)]
Fix #21393: some render error messages were not passed to the user.

9 years ago"Fix" for [#21591] Explode modifier bug
Janne Karhu [Tue, 6 Apr 2010 08:43:52 +0000 (08:43 +0000)]
"Fix" for [#21591] Explode modifier bug
* The new default particle size is quite small, so exploded pieces didn't match the original pieces
* There's now an option to use the particle size (useful for some effects), but it isn't used by default
* This commit will change how some old files look (explode modifier and not 1.0 particle size), but the exact old behavior is achieved with the new "size" option

9 years agoFix for [#21928] Can't assign hair
Janne Karhu [Tue, 6 Apr 2010 08:23:28 +0000 (08:23 +0000)]
Fix for [#21928] Can't assign hair

9 years agoFix [#21194] Swap regions stopped working
Matt Ebb [Tue, 6 Apr 2010 08:11:37 +0000 (08:11 +0000)]
Fix [#21194] Swap regions stopped working

Cleaned up a code mismatch that I think got there by accident before.
Now area swap is assigned to Ctrl LMB drag to prevent any 'emulate mmb' conflicts.

9 years ago- new docstrings for bpy.type.Struct methods & some corrections.
Campbell Barton [Tue, 6 Apr 2010 07:49:10 +0000 (07:49 +0000)]
- new docstrings for bpy.type.Struct methods & some corrections.
- struct.path_to_id() --> path_from_id().

9 years agoFix [#21516] UI artifacts in array modifier
Matt Ebb [Tue, 6 Apr 2010 07:02:16 +0000 (07:02 +0000)]
Fix [#21516] UI artifacts in array modifier

Modify the glClearColor used to draw disabled buttons, when creating a ROUNDBOX
ui element. Made a convenience function and rippled it though, too.

9 years agoFix [#21440] Bug or loose feature? Texture painting brushes
Matt Ebb [Tue, 6 Apr 2010 05:52:52 +0000 (05:52 +0000)]
Fix [#21440] Bug or loose feature? Texture painting brushes

Removed extra brush features that aren't applicable in some painting modes from the UI.
Would be great to have this properly cleaned up and made consistent.

Also tweak to startup blend, hiding brush tools panel.

9 years agoPatch #21911: Uppercase Windows Drive Letters in File Open Window
Joshua Leung [Tue, 6 Apr 2010 05:02:59 +0000 (05:02 +0000)]
Patch #21911: Uppercase Windows Drive Letters in File Open Window
Submitted by: Harley Acheson

Harley writes:
The normal convention in Windows is to show drive letters in uppercase, as in "C:\", not "c:\" as
seen in the File window.

Although Windows file paths are generally case insensitive, drive letters have been shown as uppercase since the early
DOS days.  Seeing them in lowercase in the Blender File window looks a bit strange.

9 years agoBugfix #21552: Alt S Envelope scaling key conflict
Joshua Leung [Tue, 6 Apr 2010 04:45:49 +0000 (04:45 +0000)]
Bugfix #21552: Alt S Envelope scaling key conflict

Keymap conflict. Remapped all shrink/fatten or 'fatness' resizing tools to use Ctrl-Alt-S instead of Alt-S, since Alt-S needs to be kept for consistency with clear transforms operators.

9 years agoBugfix #21916: Baking NLA strips doesn't group transforms
Joshua Leung [Tue, 6 Apr 2010 04:25:48 +0000 (04:25 +0000)]
Bugfix #21916: Baking NLA strips doesn't group transforms

- Added an optional string arg to struct.keyframe_insert() and struct.keyframe_delete() for the name of the group to add the keyframes to (for newly created F-Curves), instead of doing this as post process.

- Added error prints to the RNA function for setting an F-Curve's group. The old way of setting the groups afterwards couldn't be used anymore, since there was no way to find the action the F-Curve belonged to. This is necessary if the F-Curve list is to be kept in a valid state, since adding to any random group that may not be in the same Action does not work well. There were other issues with the list being iterated over changing while it was still being iterated over too...

Find a way to allow the iterator there to still work ok?

9 years agoFix [#21678] Crease color cannot be adjusted
Matt Ebb [Tue, 6 Apr 2010 02:36:37 +0000 (02:36 +0000)]
Fix [#21678] Crease color cannot be adjusted

Gave edge crease a unique theme colour.

9 years agoPatch [#21750] Add luma waveform and vectorscope to image view
Matt Ebb [Tue, 6 Apr 2010 02:05:54 +0000 (02:05 +0000)]
Patch [#21750] Add luma waveform and vectorscope to image view
by Xavier Thomas

This adds the waveform monitor and vectorscope to the image editor 'scopes'
region, bringing it inline (plus a bit more) with sequence editor functionality,
and a big step closer to the end goal of unifying the display code for image/
comp/sequence editor. It's non-intrusive, using the same code paths as
the histogram.

There's still room for more tweaks - I modified the original patch, changing
the openGL immediate mode drawing of the waveform display to vertex arrays for
speed optimisation. Xavier can look at doing this for the vectorscope now too.

Thanks very much Xavier!

9 years agoCompile fix to collada after ED_object_apply_obmat() was removed.
Matt Ebb [Tue, 6 Apr 2010 02:05:02 +0000 (02:05 +0000)]
Compile fix to collada after ED_object_apply_obmat() was removed.

Arystanbek, please feel free to fix if it's not ok :)

9 years agoPatch #21697: GLSL shadows work again, by Matthias Fauconneau, thanks!
Brecht Van Lommel [Tue, 6 Apr 2010 01:34:55 +0000 (01:34 +0000)]
Patch #21697: GLSL shadows work again, by Matthias Fauconneau, thanks!

9 years agoObject API changes so these functions now require a scene as first argument:
Brecht Van Lommel [Tue, 6 Apr 2010 01:28:39 +0000 (01:28 +0000)]
Object API changes so these functions now require a scene as first argument:
create_mesh, create_dupli_list, make_display_list and is_visible.

This is done in order to make these context independent as the RNA API should
be as much as possible, and to fix #21297 and #21719, where there was an
assumption from these functions that there is a scene in the context, which
does not work for external render engines exporting in a separate thread.

Also avoided using context in a number of other functions, ideally only UI/WM
type functions should use context.

I've updated the scripts in trunk, but the addons and external ones in
development will need updates too.

9 years agoFix compile error, missing semicolon.
Brecht Van Lommel [Tue, 6 Apr 2010 01:20:45 +0000 (01:20 +0000)]
Fix compile error, missing semicolon.

9 years agoFix #21577: incorrect camera selected when loading file without UI.
Brecht Van Lommel [Tue, 6 Apr 2010 01:18:52 +0000 (01:18 +0000)]
Fix #21577: incorrect camera selected when loading file without UI.

9 years agoFix #21383: appending a group would also instance it by default, which
Brecht Van Lommel [Tue, 6 Apr 2010 01:16:39 +0000 (01:16 +0000)]
Fix #21383: appending a group would also instance it by default, which
will give duplicate objects since the actual object are appended already,
so only enable this option by default for linking now.

9 years agoMaking sure updates are not lost.
Guillermo S. Romero [Tue, 6 Apr 2010 01:00:59 +0000 (01:00 +0000)]
Making sure updates are not lost.

9 years agodocument bpy.types.Struct methods C methods, currently only keyframe_delete() and...
Campbell Barton [Mon, 5 Apr 2010 22:37:09 +0000 (22:37 +0000)]
document bpy.types.Struct methods C methods, currently only keyframe_delete() and keyframe_insert() have useful docstrings.

9 years agoRequest: auto link to viewer node back. Used to be ctrl+click, is now
Ton Roosendaal [Mon, 5 Apr 2010 18:34:18 +0000 (18:34 +0000)]
Request: auto link to viewer node back. Used to be ctrl+click, is now
shift+ctrl+click, because the ctrl_click goes to knife cutting.

Implementation note: this is a macro, select + link.

9 years agoFix #21266: cyclic dependency checking for texture nodes was missing.
Brecht Van Lommel [Mon, 5 Apr 2010 17:30:11 +0000 (17:30 +0000)]
Fix #21266: cyclic dependency checking for texture nodes was missing.

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...