11 years agoMerged changes in the trunk up to revision 27992.
Tamito Kajiyama [Sun, 4 Apr 2010 19:50:22 +0000 (19:50 +0000)]
Merged changes in the trunk up to revision 27992.

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

11 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

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

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

11 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

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

11 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

11 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!

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

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

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

11 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

11 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

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

11 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()

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

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

11 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

11 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

11 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

11 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

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

11 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

11 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

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

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

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

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

11 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

11 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

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

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

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

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

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

11 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!

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

11 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

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

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

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

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

11 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

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

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

11 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

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

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

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

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

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

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

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

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

11 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

11 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

11 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

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

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

11 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

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

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

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

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

11 years agoFixed a compiler error in AppCanvas.h (thanks paulhart2). Also fixed
Tamito Kajiyama [Thu, 1 Apr 2010 01:15:23 +0000 (01:15 +0000)]
Fixed a compiler error in AppCanvas.h (thanks paulhart2).  Also fixed
a compiler warning in pipeline.c with regard to the missing prototype
definition of free_libblock().

11 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

11 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

11 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 :)

11 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

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

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

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

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

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

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

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

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

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

11 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

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

11 years agoPatch from Xavier Thomas:
Matt Ebb [Tue, 30 Mar 2010 23:32:16 +0000 (23:32 +0000)]
Patch from Xavier Thomas:

YCbCr conversion function according to ITU-R BT.601/709 and JFIF

Clarifies color space usage in rgb->ycc conversion, doesn't change existing results.

11 years agobugfix [#21743] Incorrect Rim Normals with Screw mod and Solidify Mod on a Curve...
Campbell Barton [Tue, 30 Mar 2010 23:16:42 +0000 (23:16 +0000)]
bugfix [#21743] Incorrect Rim Normals with Screw mod and Solidify Mod on a Curve Object

11 years agotrick to give correct normals for cyclic curves used with the screw modifier.
Campbell Barton [Tue, 30 Mar 2010 22:43:43 +0000 (22:43 +0000)]
trick to give correct normals for cyclic curves used with the screw modifier.

11 years agobge bplayer stub update.
Dalai Felinto [Tue, 30 Mar 2010 21:39:05 +0000 (21:39 +0000)]
bge bplayer stub update.
For the record Blenderplayer looks working pretty well now. If you have problems loading textures make sure you rebuild your makesdna project (or try to find the non-existent bug for a few hours).

11 years agoMerge -c 27876 from COLLADA branch into trunk.
Arystanbek Dyussenov [Tue, 30 Mar 2010 18:21:47 +0000 (18:21 +0000)]
Merge -c 27876 from COLLADA branch into trunk.

11 years ago- Call DAG_id_flush_update for each object in convert operator if keep_original
Sergey Sharybin [Tue, 30 Mar 2010 18:10:05 +0000 (18:10 +0000)]
- Call DAG_id_flush_update for each object in convert operator if keep_original
  option is switched off. This fixes trouble when user converts curve which is
  set as taper/bevel object to mesh (scene kept unchanged until object
- Moved checking of taper/bevel objects type to RNA property update handlers.
- Added resetting taper/bevel object in do_makeDispListCurveTypes it this
  objects aren't curves.

11 years agoFix for the issue described in the commit log of revision 27846: Made
Tamito Kajiyama [Tue, 30 Mar 2010 17:10:52 +0000 (17:10 +0000)]
Fix for the issue described in the commit log of revision 27846: Made
the diffuse and Z depth information accessible from style modules when
the border option is enabled.

11 years agoFixed segmentation fault when non-curve object is setting as a taper
Sergey Sharybin [Tue, 30 Mar 2010 14:33:05 +0000 (14:33 +0000)]
Fixed segmentation fault when non-curve object is setting as a taper

Deny user to select non-curve objects for taper and bevel lists, also
added some checking into displist and curve modules - object could be
converted from curve to mesh (would be better to unset bevel/taper
object in this case -- will try to implement a bit later).

11 years agoAttempted fixes for color picker trouble (can't reproduce here..)
Matt Ebb [Tue, 30 Mar 2010 12:43:39 +0000 (12:43 +0000)]
Attempted fixes for color picker trouble (can't reproduce here..)

11 years agoBaking for dupligroup & linked library objects
Brecht Van Lommel [Tue, 30 Mar 2010 12:23:13 +0000 (12:23 +0000)]
Baking for dupligroup & linked library objects
- library data allows pointcache writing (hard to know how this should work long term so ifdef'd for now)
- changing the frame now updates the dupligroup objects
- BKE_ptcache_ids_from_object(), option to get the id's from duplis

note! scene_update_tagged() is called from the main() loop, and runs BKE_ptcache_quick_cache_all(), this could become a performance issue, especially with duplis, should probably not call BKE_ptcache_quick_cache_all() all the time, even when not playing back animation.
(commits 27856 by Campbell from render25 branch)

11 years ago* Multiply for panorama cameras
Brecht Van Lommel [Tue, 30 Mar 2010 12:15:16 +0000 (12:15 +0000)]
* Multiply for panorama cameras
* Some cases of struct name being set where it shouldnt have been.
* Spelling: wich --> which
* Copy and initialize uv modifier scale, remove unneeded enum.
* Ability to pin any object into the context.
* Update uv window while transforming (useful when used with UVProject modifier)
* Patch by Wahooney, so new template's are internal text and dont get saved over
  by mistake.
* Fix for
  Bug 572186 - [abrt] crash in blender-2.49b-5.fc12: Process
  /usr/bin/blender.bin was killed by signal 6 (SIGABRT). Original fix submitted
  by Jochen Schmitt.
* [#21816] has stopped working on Windows. moved to, missed this call.

(commits 27726,27825,27828,27831,27832,27833,27834,27836,27837,27838,27839,27858 by Campbell from render25 branch)

11 years ago* Assign weight from bones in weight paint mode now respects paint face
Brecht Van Lommel [Tue, 30 Mar 2010 12:01:17 +0000 (12:01 +0000)]
* Assign weight from bones in weight paint mode now respects paint face
  mask, also avoid making vertex groups if they will not be filled.
* Add back image pin option in image editor header.
* Fix deep shadow not respecting Cast Buffer Shadows option.
* Tangent space normal map baking should work again now.
* Fix a problem with particle duplis, due to own bugfix for #20350,
  the problem for that seems to be in dupliverts, not particles.
* Fix external multires data link getting lost on exiting editmode.

(commits 27776,27777,27830,27840,27841,27862 by Brecht from render25 branch)

11 years agoRest shape key for cloth option, this makes it possible
Brecht Van Lommel [Tue, 30 Mar 2010 11:49:07 +0000 (11:49 +0000)]
Rest shape key for cloth option, this makes it possible
to specify different spring lengths.

Implementation is quite ugly because the shape key has to be pulled
through the modifier stack somehow, need a more flexible data mask
system to solve this properly.

(commits 27773,27775,27778 by Brecht from render25 branch)

11 years agoFix a few warning in editors/ module.
Brecht Van Lommel [Tue, 30 Mar 2010 11:38:06 +0000 (11:38 +0000)]
Fix a few warning in editors/ module.

11 years agoBugfix for [#21582] Adjusting material color (color picker) crashes
Elia Sarti [Tue, 30 Mar 2010 10:13:55 +0000 (10:13 +0000)]
Bugfix for [#21582] Adjusting material color (color picker) crashes

This fixes only the crash, which was due to buffer overrun for col Hex char buffer. It doesn't actually fix the real issue of overflowing the color values up to infinity.

11 years agoFix #21827: Outer portions of extruded 2D curves do not render correctly
Sergey Sharybin [Tue, 30 Mar 2010 09:57:58 +0000 (09:57 +0000)]
Fix #21827: Outer portions of extruded 2D curves do not render correctly

DispList->rt is used by render stuff to set vlak flags. This rt field is setting
to nurbs's flags in displist creation function. Possible flags for nurbs are
CU_SMOOTH and CU_2D. CU_SMOOTH is ok, but CU_2D conflicts with R_NOPUNOFLIP.

I cleared rt's CU_2D flag. Don't forget about possible conflicts if new
nurbs flags will be added.

11 years agoPerformance tweak - on region pan/scale, only redraw the region itself
Matt Ebb [Tue, 30 Mar 2010 07:57:07 +0000 (07:57 +0000)]
Performance tweak - on region pan/scale, only redraw the region itself
instead of the entire area (eg. so panning tool shelf doesn't lag when 3d view
redrawing is slow).

11 years agoBGE API DOC: a guide on how to build epydoc for windows
Dalai Felinto [Tue, 30 Mar 2010 06:37:44 +0000 (06:37 +0000)]
BGE API DOC: a guide on how to build epydoc for windows
We have already a .sh file to build epydocs from Linux, so why not to have it in Windows as well ;) I think that this guide can help people interested in help with the API documentation to test their work.

I'm actually already in touch with at least one volunteer helping with PhysicsConstraints module. VideoTexture may not be a one man job though, for I hope this document can also help.

11 years agoFix [#21711] Position of 2d cursor is not displayed correctly and cannot be set
Matt Ebb [Tue, 30 Mar 2010 05:52:05 +0000 (05:52 +0000)]
Fix [#21711] Position of 2d cursor is not displayed correctly and cannot be set
in uv/image editor properties panel

Note: Moved UV editor 2d cursor to SpaceImage rather than View2d, so it's
more accessible to RNA.