blender-staging.git
8 years agoMerged the particles-2010 branch with node improvements into trunk.
Lukas Toenne [Mon, 5 Sep 2011 21:01:50 +0000 (21:01 +0000)]
Merged the particles-2010 branch with node improvements into trunk.

This branch adds mostly organizational improvements to the node system by renaming the node folders and files. A couple of internal features have been added too.
Detailed information can be found on the wiki page:

http://wiki.blender.org/index.php/User:Phonybone/Particles2010

8 years agoAdd parser error handler.
Nathan Letwory [Mon, 5 Sep 2011 20:41:58 +0000 (20:41 +0000)]
Add parser error handler.

OpenCOLLADA is a validating parser, so is pretty strict about document form. The added error handler will print out any errors the parser finds. A pop-up will be shown too, advising the user to check the console for the error log.

8 years agoCode cleanup: remove context from RNA update functions, only one left.
Brecht Van Lommel [Mon, 5 Sep 2011 19:34:27 +0000 (19:34 +0000)]
Code cleanup: remove context from RNA update functions, only one left.

8 years agoCode cleanup: warning fixes.
Brecht Van Lommel [Mon, 5 Sep 2011 19:27:21 +0000 (19:27 +0000)]
Code cleanup: warning fixes.

8 years agoFix #28404: certain keyboard shortcuts not shown in menus, e.g. move operators
Brecht Van Lommel [Mon, 5 Sep 2011 17:57:04 +0000 (17:57 +0000)]
Fix #28404: certain keyboard shortcuts not shown in menus, e.g. move operators
in graph editor > channel menu. Problem was these did not inherit operator
execution context correctly.

Fix found by Sergey, also needed to fix logic operators which were not working
when invoked instead of executed.

8 years agoFix #28394: clouds texture error with high noise depth and blender original
Brecht Van Lommel [Mon, 5 Sep 2011 16:25:42 +0000 (16:25 +0000)]
Fix #28394: clouds texture error with high noise depth and blender original
noise, patch from Campbell,

8 years agoFix #28389: UILayout.menu function didn't emboss menu button correct in the
Brecht Van Lommel [Mon, 5 Sep 2011 15:55:53 +0000 (15:55 +0000)]
Fix #28389: UILayout.menu function didn't emboss menu button correct in the
3d view tools region.

8 years agoLeft debug print accidently enabled.
Nathan Letwory [Mon, 5 Sep 2011 15:03:31 +0000 (15:03 +0000)]
Left debug print accidently enabled.

8 years agoFix #28504: lib linking errors were not shown when opening a file from
Brecht Van Lommel [Mon, 5 Sep 2011 13:19:19 +0000 (13:19 +0000)]
Fix #28504: lib linking errors were not shown when opening a file from
the splash screen.

8 years agoPartial revert commit 39878 "Fix #28280: Insert Hook wrong index"
Sergey Sharybin [Mon, 5 Sep 2011 08:20:11 +0000 (08:20 +0000)]
Partial revert commit 39878 "Fix #28280: Insert Hook wrong index"

Such load/make edit structures introduced regression into iterators
via object's geometry (vertices, edges, control points and so) when
adding hooks in the body of this iterator.

Fix for wrong index should be non-destructable for geometry.

This will fix #28506: Unusual behavior in curves.

8 years agoAdding noise module by default in driver_namespace
Daniel Salazar [Mon, 5 Sep 2011 05:42:49 +0000 (05:42 +0000)]
Adding noise module by default in driver_namespace

http://www.pasteall.org/blend/8677

8 years agoRemove NULL-checks, as they might cause infinite loops while reading a DAE containing...
Nathan Letwory [Sun, 4 Sep 2011 22:14:28 +0000 (22:14 +0000)]
Remove NULL-checks, as they might cause infinite loops while reading a DAE containing unsupported data, i.e. <lines> geometry.

8 years agoFix #28503: Selecting a Grease Pencil from the Properties panel does not update 3D...
Sergey Sharybin [Sun, 4 Sep 2011 15:53:12 +0000 (15:53 +0000)]
Fix #28503: Selecting a Grease Pencil from the Properties panel does not update 3D View

Added missing notifiers.

8 years ago[#27884] Collada import: materials mismatch when 2 instance_geometry reference the...
Nathan Letwory [Sun, 4 Sep 2011 14:31:23 +0000 (14:31 +0000)]
[#27884] Collada import: materials mismatch when 2 instance_geometry reference the same material
Reported by David Roy

Multi-materials used on different meshes would get ignored (resulting in white faces in textured view).

8 years agoFix #28500: Reshape in multires modifier makes blender crash
Sergey Sharybin [Sun, 4 Sep 2011 11:38:53 +0000 (11:38 +0000)]
Fix #28500: Reshape in multires modifier makes blender crash

Multires doesn't store displacement for base mesh and reshaping when
multires subdivision level is set to zero is crappy.

Add report that reshape can't work with base level and cancel reshape operator.

8 years agoFix #28423: Screw-modifier crash in cunjunction with subsurf modifier
Sergey Sharybin [Sun, 4 Sep 2011 11:13:41 +0000 (11:13 +0000)]
Fix #28423: Screw-modifier crash in cunjunction with subsurf modifier

Problems was caused by angle=2*pi and steps=2 in screw modifier.
Such configuration produced duplicated geometry to close object
and it was confusing for subsurf cache.

Restrict steps=2 for screw modifier now, so now 3<=steps<=512.

8 years agoPrevent potential crasher, commonEffects could be empty.
Nathan Letwory [Sun, 4 Sep 2011 02:12:03 +0000 (02:12 +0000)]
Prevent potential crasher, commonEffects could be empty.

8 years agoBGE animations: fixing initialization order issues for BL_ActionActuator and BL_Armat...
Mitchell Stokes [Sun, 4 Sep 2011 01:42:47 +0000 (01:42 +0000)]
BGE animations: fixing initialization order issues for BL_ActionActuator and BL_ArmatureObject. Thanks to z0r for pointing them out and providing a fix.

8 years agoBGE animations: Fixing a potential crash when using camera IPOs. The IPOs were being...
Mitchell Stokes [Sun, 4 Sep 2011 01:27:16 +0000 (01:27 +0000)]
BGE animations: Fixing a potential crash when using camera IPOs. The IPOs were being created off of blendercamera->adt->action when they should have been using the supplied action. Thanks to z0r for pointing out the problem and a potential fix.

8 years agoFix [#28322] COLLADA imports messed up UVs
Nathan Letwory [Sun, 4 Sep 2011 01:13:44 +0000 (01:13 +0000)]
Fix [#28322] COLLADA imports messed up UVs
Reported by Chad Gleason

Imported index order could put mface->v4==0. We already know amount of verts, so use that instead.

8 years agoSome whitespace changes
Nathan Letwory [Sun, 4 Sep 2011 00:15:59 +0000 (00:15 +0000)]
Some whitespace changes

8 years agoBGE animations: Adding a separate list to KX_Scene for animated objects. This makes...
Mitchell Stokes [Sat, 3 Sep 2011 20:48:47 +0000 (20:48 +0000)]
BGE animations: Adding a separate list to KX_Scene for animated objects. This makes scenes with a lot of non-animated objects faster. In my test scene with 8000 static, non-animated cubes my time spent on animations went from 1.5~1.7ms to 0.001ms.

8 years agoBGE animations: Fixing a crash that would happen if the property for a property mode...
Mitchell Stokes [Sat, 3 Sep 2011 19:33:07 +0000 (19:33 +0000)]
BGE animations: Fixing a crash that would happen if the property for a property mode action actuator was invalid.

8 years agowarning fixes
Campbell Barton [Sat, 3 Sep 2011 15:36:36 +0000 (15:36 +0000)]
warning fixes

8 years agominor edits to build on openbsd
Campbell Barton [Sat, 3 Sep 2011 09:43:20 +0000 (09:43 +0000)]
minor edits to build on openbsd

8 years ago== CustomData ==
Nicholas Bishop [Sat, 3 Sep 2011 08:18:43 +0000 (08:18 +0000)]
== CustomData ==

* Added comments for each entry in the LAYERTYPEINFO array noting the
  number and name of the layer type; was hard to tell before which
  entry was what

8 years agoPyC_ExceptionBuffer is now threadsafe, used for converting exceptions into reports.
Campbell Barton [Sat, 3 Sep 2011 06:46:31 +0000 (06:46 +0000)]
PyC_ExceptionBuffer is now threadsafe, used for converting exceptions into reports.

8 years agofix [#28462] Tiled textures and 2D filters don't mix
Campbell Barton [Sat, 3 Sep 2011 04:44:18 +0000 (04:44 +0000)]
fix [#28462] Tiled textures and 2D filters don't mix
patch by Juha Mäki-Kanto

8 years agowhitespace edits
Campbell Barton [Sat, 3 Sep 2011 02:15:49 +0000 (02:15 +0000)]
whitespace edits

8 years agoFix for grid lines drawing outside of histogram widget.
Sergey Sharybin [Fri, 2 Sep 2011 19:25:32 +0000 (19:25 +0000)]
Fix for grid lines drawing outside of histogram widget.

8 years agoAdd missed notifier when toggling object's force field.
Sergey Sharybin [Fri, 2 Sep 2011 18:05:07 +0000 (18:05 +0000)]
Add missed notifier when toggling object's force field.

8 years agoFix crash caused by recently added assert about if string was set properly.
Sergey Sharybin [Fri, 2 Sep 2011 17:58:09 +0000 (17:58 +0000)]
Fix crash caused by recently added assert about if string was set properly.

Memory Estimate is actually 31 characters length, str[31] is a null-terminator.

Return length of 31 for memory estimate property. Returning proper length
would lead to slowdown because of 2x iteration through vertices.

8 years agoFix #28280: Insert Hook wrong index
Sergey Sharybin [Fri, 2 Sep 2011 15:19:30 +0000 (15:19 +0000)]
Fix #28280: Insert Hook wrong index

Use quite easy and stupid approach like it used for shape keys:
re-make editmesh (editcurve or editlattice) before creating index array
for hook or storing vertex index in parenting object.

Even if hook was added in "current" edit mode, it should be re-mapped on
loading edit data because topology could be changed after it was created.
Such kind of re-loading edit structures is the easiest way for now to
update keyindexes to relevant state.

Also, fixed bug with not re-mapping indices for vertex-parented objects.
Really old error, not sure why it wasn't noticed yet.

8 years agoFix #28467: Crash while deleting objects in outliner too fast
Sergey Sharybin [Fri, 2 Sep 2011 13:23:44 +0000 (13:23 +0000)]
Fix #28467: Crash while deleting objects in outliner too fast

Cleanup tree when handling object delete from outliner.
Prevents handling the same tree item twice when clicking fast.

8 years agoBugfix [#28435] Key Visual transform and Parenting not working
Joshua Leung [Fri, 2 Sep 2011 12:26:57 +0000 (12:26 +0000)]
Bugfix [#28435] Key Visual transform and Parenting not working

After reviewing this code, it seems that this case can work after all.
However, several things needed to be tweaked:
1) Removed check which stopped parented objects from getting the
visual keying coordinates determined. This actually wasn't doing
anything, given that this case would never occur as...
2) Tweaked the visualkey_can_use() function to also consider parenting
as a cause for visual-keying to be necessary.

8 years agoparanoid check that RNA string functions set the string, would have helped solve...
Campbell Barton [Fri, 2 Sep 2011 10:43:51 +0000 (10:43 +0000)]
paranoid check that RNA string functions set the string, would have helped solve keymap search bug.
disabled in release mode.

8 years agoPartial fix for #28441: Tab width in texteditor ignored if used tabs as spaces
Sergey Sharybin [Fri, 2 Sep 2011 09:39:21 +0000 (09:39 +0000)]
Partial fix for #28441: Tab width in texteditor ignored if used tabs as spaces

Scroll to cursor when displaying text datablock was changed.
This behavior was lost in 2.5x.

8 years agopatch [#28473] Outliner Simple Todo
Campbell Barton [Fri, 2 Sep 2011 08:35:46 +0000 (08:35 +0000)]
patch [#28473] Outliner Simple Todo
from Julien DUROURE (julien)

---

* right click --> rename, as proposed on http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Simple_Todos

* implementation of Toggle visibility/rendarability/selectability on right click on Groups ( was in menu, but not implemented )

8 years agofix [#28460] SEGFAULT when trying to make empty display as image
Campbell Barton [Fri, 2 Sep 2011 08:20:30 +0000 (08:20 +0000)]
fix [#28460] SEGFAULT when trying to make empty display as image

8 years agotweak to WM_operatortype_find to perform better when called with empty strings (as...
Campbell Barton [Fri, 2 Sep 2011 08:01:01 +0000 (08:01 +0000)]
tweak to WM_operatortype_find to perform better when called with empty strings (as the keymap editor does a lot)

8 years agofix for keymap search, was using uninitialized memory when the keymaps operator could...
Campbell Barton [Fri, 2 Sep 2011 07:51:19 +0000 (07:51 +0000)]
fix for keymap search, was using uninitialized memory when the keymaps operator couldn't be found.

8 years agofix for error in recent commit, when audaspace is enabled
Campbell Barton [Fri, 2 Sep 2011 04:34:58 +0000 (04:34 +0000)]
fix for error in recent commit, when audaspace is enabled

8 years agoBGE animations: adding a missing comma.
Mitchell Stokes [Fri, 2 Sep 2011 03:57:37 +0000 (03:57 +0000)]
BGE animations: adding a missing comma.

8 years agoCredits generator which cross references with the patch tracker to credit the origina...
Campbell Barton [Fri, 2 Sep 2011 03:42:16 +0000 (03:42 +0000)]
Credits generator which cross references with the patch tracker to credit the original authors.

the script has a unix-name <> real-name mapping which is not totally complete since I couldn't find everyones real names.

In this case the commit name is credited.

Also added a link to the credits page in the splash.

8 years agominor warning fixes, also correct some float -> double promotions in shadeoutput.c
Campbell Barton [Fri, 2 Sep 2011 03:32:57 +0000 (03:32 +0000)]
minor warning fixes, also correct some float -> double promotions in shadeoutput.c

8 years agoBGE animations: This is an attempt to help smooth out some more compatibility issues...
Mitchell Stokes [Thu, 1 Sep 2011 21:47:46 +0000 (21:47 +0000)]
BGE animations: This is an attempt to help smooth out some more compatibility issues with the new action actuator. It now has a similar pulse behavior to the old actuator. This has worked well in most of my tests, but YoFrankie still has problems, and it appears to have gotten a little worse.

8 years agoBGE: Undoing r39729 and applying a simpler fix (ensuring that the viewport is correct...
Mitchell Stokes [Thu, 1 Sep 2011 19:53:14 +0000 (19:53 +0000)]
BGE: Undoing r39729 and applying a simpler fix (ensuring that the viewport is correct for PostRenderScene()). This way both 2d filters and post_draw callbacks with with multiple viewports.

8 years agoFeature Request #28449: Pose Library poses can be renamed from
Joshua Leung [Thu, 1 Sep 2011 10:56:16 +0000 (10:56 +0000)]
Feature Request #28449: Pose Library poses can be renamed from
Properties Editor

8 years agouse a fixed 32byte buffer for getting an rna string from python. gives a slight speed...
Campbell Barton [Thu, 1 Sep 2011 09:47:21 +0000 (09:47 +0000)]
use a fixed 32byte buffer for getting an rna string from python. gives a slight speedup when drawing heavy UI's

8 years agofix for building without audaspace, since pepper merge
Campbell Barton [Thu, 1 Sep 2011 09:46:07 +0000 (09:46 +0000)]
fix for building without audaspace, since pepper merge

8 years agowip doc for py api tips and tricks.
Campbell Barton [Thu, 1 Sep 2011 07:07:18 +0000 (07:07 +0000)]
wip doc for py api tips and tricks.

8 years agowhitespace bge edits
Campbell Barton [Thu, 1 Sep 2011 02:12:53 +0000 (02:12 +0000)]
whitespace bge edits

8 years agospaces -> tabs (configure you're editors right!)
Campbell Barton [Thu, 1 Sep 2011 01:48:50 +0000 (01:48 +0000)]
spaces -> tabs (configure you're editors right!)

8 years agofix for error in patch from r39821.
Campbell Barton [Thu, 1 Sep 2011 01:13:50 +0000 (01:13 +0000)]
fix for error in patch from r39821.

8 years agomaking carbon to build again (note: NDOF is not working here)
Dalai Felinto [Thu, 1 Sep 2011 00:03:20 +0000 (00:03 +0000)]
making carbon to build again (note: NDOF is not working here)
- fix typo
- isolate NDOF callsi in #ifdefs

8 years agoBGE animations: Updating some constant names. They were still the originally proposed...
Mitchell Stokes [Wed, 31 Aug 2011 23:46:31 +0000 (23:46 +0000)]
BGE animations: Updating some constant names. They were still the originally proposed names instead of the ones that are actually used now.

8 years agoBGE Animations: The return type for KX_GameObject.getActionFrame() was an integer...
Mitchell Stokes [Wed, 31 Aug 2011 22:32:14 +0000 (22:32 +0000)]
BGE Animations: The return type for KX_GameObject.getActionFrame() was an integer when it should have been a float. I've fixed this and converted the tabs in the new BGE animation docs to space. I have also added more info on return types for KX_GameObject.getActionFrame() and KX_GameObject.isPlayingAction().

8 years agoset OSX default python to static
Jens Verwiebe [Wed, 31 Aug 2011 14:46:27 +0000 (14:46 +0000)]
set OSX default python to static

8 years agoOSX/scons: fix compile with static python, my patch was a bit outdates, sorry
Jens Verwiebe [Wed, 31 Aug 2011 14:15:14 +0000 (14:15 +0000)]
OSX/scons: fix compile with static python, my patch was a bit outdates, sorry

8 years agopatch [#28218] During-render callback functionality
Campbell Barton [Wed, 31 Aug 2011 10:43:22 +0000 (10:43 +0000)]
patch [#28218] During-render callback functionality
from Jesse Kaukonen (gekko)

--- text from the patch.

Recently Campbell Barton added callback functionality for Python's usage, but this only includes pre- and post-render callbacks. There are no callbacks for the duration of the render. This patch adds the few lines required for executing a callback while Blender Render is working. The callback resides in the rendering pipeline stats function, so whenever statistics are printed, the callback is executed. This functionality is required if one wants to:

1) Observe what is happening while Blender is rendering via the command line
2) Add custom statistics that Blender prints while the renderer works
3) The user wants to continue executing his Python script without the code halting at bpy.ops.render.render()

Personally I'm currently using this for printing out more detailed progress reports at Renderfarm.fi (such as CPU time, time spent rendering, total progress in regards to the entire rendering process). Tested on Windows, Linux and OS X.

Example on how to use the callback:

  def statscall(context): print("Thanks for calling!")
  bpy.app.handlers.render_stats.append(statscall)
  bpy.ops.render.render(animation=False, write_still=True)

8 years agoCOLLADA: Take parent bone length and direction instead of using bone pointing up...
Nathan Letwory [Wed, 31 Aug 2011 09:37:14 +0000 (09:37 +0000)]
COLLADA: Take parent bone length and direction instead of using bone pointing up with length 1. Looks much nicer and less confusing on larger armatures now.

8 years agoBGE: Adding two new functions to bge.render to allow users to change the anisotropic...
Mitchell Stokes [Wed, 31 Aug 2011 05:51:51 +0000 (05:51 +0000)]
BGE: Adding two new functions to bge.render to allow users to change the anisotropic filtering level used by textures:
  * setAnisotropicFiltering(level)
  * getAnisotropicFiltering()

8 years agotypo fix: end of lines ;; --> ;
Campbell Barton [Wed, 31 Aug 2011 01:07:55 +0000 (01:07 +0000)]
typo fix: end of lines ;; --> ;

8 years agofix [#28430] Image with Stampinfo does not get saved correctly with alpha
Campbell Barton [Wed, 31 Aug 2011 01:05:40 +0000 (01:05 +0000)]
fix [#28430] Image with Stampinfo does not get saved correctly with alpha

8 years agoOSX: additionally choice to link against python-framework again
Jens Verwiebe [Tue, 30 Aug 2011 23:52:12 +0000 (23:52 +0000)]
OSX: additionally choice to link against python-framework again

8 years agofix for error in my recent change to image save.
Campbell Barton [Tue, 30 Aug 2011 23:37:46 +0000 (23:37 +0000)]
fix for error in my recent change to image save.
- relative path wasn't being made absolute.
- saving renders was always defaulting to multilayer exr, now use the output format set.

8 years agocatch exception and report an error when failing to write exr files - was crashing...
Campbell Barton [Tue, 30 Aug 2011 23:08:38 +0000 (23:08 +0000)]
catch exception and report an error when failing to write exr files - was crashing with debug builds.

8 years agoSVN maintenance.
Guillermo S. Romero [Tue, 30 Aug 2011 19:38:32 +0000 (19:38 +0000)]
SVN maintenance.

8 years agoWhen creating a multisample window for Win32, the first context created, which checks...
Mitchell Stokes [Tue, 30 Aug 2011 17:30:35 +0000 (17:30 +0000)]
When creating a multisample window for Win32, the first context created, which checks for multisample support, was never being deleted.

8 years agoCheck for potential crasher.
Nathan Letwory [Tue, 30 Aug 2011 15:43:00 +0000 (15:43 +0000)]
Check for potential crasher.

Reported and suggested in [#27687] by Dean Giberson. Couldn't redo crash myself, but better safe than sorry :)

8 years agoFix #28427: smooth faces flash momentarily when extruded using "extrude and move...
Sergey Sharybin [Tue, 30 Aug 2011 15:30:38 +0000 (15:30 +0000)]
Fix #28427: smooth faces flash momentarily when extruded using "extrude and move on normals" tool (E key)

Update normals just after extrude -- topology is changing when extruding
and normals for non-extruded faces should be recalculated after this.

8 years agoFix for [#28425] when user prefs -> editing -> align to == "view" newly inserted...
Thomas Dinges [Tue, 30 Aug 2011 14:41:23 +0000 (14:41 +0000)]
Fix for [#28425] when user prefs -> editing -> align to == "view" newly inserted objects do not show the applied rotation in the tools panel

Patch by Andrew Wiggin, thanks! :)

8 years ago2.5 Game UI:
Thomas Dinges [Tue, 30 Aug 2011 12:45:56 +0000 (12:45 +0000)]
2.5 Game UI:
*Fix for clutter after pepper merge, 3 booleans in one row, is 1 too much here ;-)

8 years agoEnable libsndfile by default on win32 too.
Nathan Letwory [Tue, 30 Aug 2011 12:40:15 +0000 (12:40 +0000)]
Enable libsndfile by default on win32 too.

8 years agoFix for my last commit.
Thomas Dinges [Tue, 30 Aug 2011 11:31:48 +0000 (11:31 +0000)]
Fix for my last commit.

8 years agominor edits, pep8 - also correct float -> double promotion for blf.
Campbell Barton [Tue, 30 Aug 2011 10:49:58 +0000 (10:49 +0000)]
minor edits, pep8 - also correct float -> double promotion for blf.

8 years ago2.5 UI Files:
Thomas Dinges [Tue, 30 Aug 2011 10:44:02 +0000 (10:44 +0000)]
2.5 UI Files:
* Code cleanup after Pepper merge.

8 years agoFix for [#25062] Sound Actuator - Positional Audio.
Joerg Mueller [Tue, 30 Aug 2011 10:09:10 +0000 (10:09 +0000)]
Fix for [#25062] Sound Actuator - Positional Audio.

Now all sounds that are not mono but have 3D checked automatically get reduced to mono during BGE conversion time.
Also removed the now unneeded function sound_get_channels and added a missing header file to audaspace's CMakeLists.txt.

8 years agoFixes for snprintf usage:
Brecht Van Lommel [Tue, 30 Aug 2011 10:07:50 +0000 (10:07 +0000)]
Fixes for snprintf usage:
* replace by BLI_snprintf in various places, note _snprintf on windows
  does not properly null terminate the string.
* fix overflow in sequencer proxy code due to buffer being smaller than
  specified size.
* fix some usage of snprintf as strcpy, this is will go wrong if the
  string contains % characters.
* remove BLI_dynstr_printf function in gpu module, use BLI_dynstr_appendf

8 years agofix for some warnings with the recent merge, also tag unused args.
Campbell Barton [Tue, 30 Aug 2011 09:50:31 +0000 (09:50 +0000)]
fix for some warnings with the recent merge, also tag unused args.

8 years agoRemoving outdated files.
Joerg Mueller [Tue, 30 Aug 2011 09:26:59 +0000 (09:26 +0000)]
Removing outdated files.

8 years agoMerging pepper to trunk at revision 39791.
Joerg Mueller [Tue, 30 Aug 2011 09:15:55 +0000 (09:15 +0000)]
Merging pepper to trunk at revision 39791.

Important note: I used rsync to do the local merge, as "svn merge --reintegrate ^/branches/soc-2011-pepper" doesn't work with our svn server right now!

8 years ago* Merge trunk up to r39790.
Joerg Mueller [Tue, 30 Aug 2011 08:22:03 +0000 (08:22 +0000)]
* Merge trunk up to r39790.
* Subversion bump (also for init_userdef_do_versions).
* Minor fix for compilation without ffmpeg.

8 years agoLast bunch of minor fixes before merge.
Joerg Mueller [Tue, 30 Aug 2011 07:57:55 +0000 (07:57 +0000)]
Last bunch of minor fixes before merge.
* Use NULL in AUD_Reference.h
* Use SETLOOPER in sound.c
* Move flags to the end of Speaker struct.

8 years agofix [#28413] bpy.ops.nla.bake can't bake from frame 0
Campbell Barton [Tue, 30 Aug 2011 04:13:48 +0000 (04:13 +0000)]
fix [#28413] bpy.ops.nla.bake can't bake from frame 0

8 years agoFix #28295 Outliner, mouse button on menu's pass through.
Sergey Sharybin [Mon, 29 Aug 2011 17:46:07 +0000 (17:46 +0000)]
Fix #28295 Outliner, mouse button on menu's pass through.

It was introduced in rev33603 with not good patch -- release event
was catching by outliner after clicking on menu item.

Use KM_CLICK instead of KM_RELEASE to deal with icon drag/drop.
This not changes drag/drop behavior, but prevents unneeded event be handled.
Also make consistent behavior of activating and extending selection.

8 years agoFix #28347: VBO's highlights wrong faces when Mirror modifier is in use
Sergey Sharybin [Mon, 29 Aug 2011 16:07:44 +0000 (16:07 +0000)]
Fix #28347: VBO's highlights wrong faces when Mirror modifier is in use

Added callback to drawMappedFaces which checks if two faces have got equal draw options.

After discussion with Brecht we found it's nicest solution for now:
- Disabling VBOs in edit mode for this case wouldn't be nicer for this case -
  some additional flag stored in DM should be added in this case.
- Adding new callback in DM isn't nicer that this solution.
- Handling face selection in drawobject would lead to duplicated code
  which is also not nice.

Hopefully, this callback could handle all cases in the future.

Also, Brecht mentioned current VBO implementation isn't perfect, so maybe
when we'll redesign this area dealing with edit mode wouldn't be so tricky.

8 years ago* Reverting Titlecard commit r37537
Joerg Mueller [Mon, 29 Aug 2011 15:01:55 +0000 (15:01 +0000)]
* Reverting Titlecard commit r37537
* Reverting update recent files commit r37155
* Turning reference counts into unsigned ints
* Minor things

8 years agoFix player build error after envmap commit.
Brecht Van Lommel [Mon, 29 Aug 2011 12:57:46 +0000 (12:57 +0000)]
Fix player build error after envmap commit.

8 years agoBGE Animations: Various changes to make code reviewers happy:
Mitchell Stokes [Mon, 29 Aug 2011 06:19:55 +0000 (06:19 +0000)]
BGE Animations: Various changes to make code reviewers happy:
  * Naming/style changes
  * Taking advantage of switch statements
  * Removing unneeded NULL checks
  * etc

8 years agobge bugfix: [#28362] Controllers names appear incorrectly with a python query
Dalai Felinto [Mon, 29 Aug 2011 03:20:15 +0000 (03:20 +0000)]
bge bugfix: [#28362] Controllers names appear incorrectly with a python query
the uniquename was never fully implemented for sensors and actuators, only for controllers.
at some point we either get rid of all of them, or bring them all on.

For now removing the "unique name" of controllers

8 years agoclear some warnings with new proxy code.
Campbell Barton [Mon, 29 Aug 2011 01:00:14 +0000 (01:00 +0000)]
clear some warnings with new proxy code.

8 years agoSVN maintenance.
Guillermo S. Romero [Sun, 28 Aug 2011 23:44:43 +0000 (23:44 +0000)]
SVN maintenance.

8 years agopatch [#28355] Better Environment Map scripting
Campbell Barton [Sun, 28 Aug 2011 23:24:34 +0000 (23:24 +0000)]
patch [#28355] Better Environment Map scripting
from Tom Edwards (artfunkel), with minor edits.

This patch makes the following improvements to environment map scripting:

* Adds a "is_valid" RNA property to envmaps. True if the map is ready for use, False if it needs rendering.
* Adds a "clear" RNA function to envmaps. Deletes any envmap image data.
* Adds a "save" RNA function to envmaps. Writes the envmap to disc with a configurable layout. (Defaults to the current hard-coded layout.)
* Updates bpy.ops.texture.envmap_save with configurable layout support as above.

These changes, particularly configurable layouts, make exporting envmaps to other software much easier.

8 years agoSVN maintenance.
Guillermo S. Romero [Sun, 28 Aug 2011 21:48:52 +0000 (21:48 +0000)]
SVN maintenance.

8 years agofix [#28401] OpenGL render option disables border clipping
Campbell Barton [Sun, 28 Aug 2011 21:13:03 +0000 (21:13 +0000)]
fix [#28401] OpenGL render option disables border clipping

8 years ago== Sequencer / proxies ==
Peter Schlaile [Sun, 28 Aug 2011 19:58:33 +0000 (19:58 +0000)]
== Sequencer / proxies ==

fixed crash pointed out by blendervse:
100%-proxy could lead to a segfault under certain conditions.

8 years agoMissed notifier was found when looking at #28393
Sergey Sharybin [Sun, 28 Aug 2011 18:54:02 +0000 (18:54 +0000)]
Missed notifier was found when looking at #28393

8 years agoarmature object animation bug fix.
Sukhitha Prabhath Jayathilake [Sun, 28 Aug 2011 18:30:18 +0000 (18:30 +0000)]
armature object animation bug fix.

8 years ago== Sequencer ==
Peter Schlaile [Sun, 28 Aug 2011 14:46:03 +0000 (14:46 +0000)]
== Sequencer ==

This patch adds:

* support for proxy building again (missing feature from Blender 2.49)
  additionally to the way, Blender 2.49 worked, you can select several
  strips at once and make Blender build proxies in the background (using
  the job system)
  Also a new thing: movie proxies are now build into AVI files, and
  the proxy system is moved into ImBuf-library, so that other parts
  of blender can also benefit from it.

* Timecode support: to fix seeking issues with files, that have
  a) varying frame rates
  b) very large GOP lengths
  c) are broken inbetween
  d) use different time code tracks

  the proxy builder can now also build timecode indices, which are
  used (optionally) for seeking.

  For the first time, it is possible, to do frame exact seeking on
  all file types.

* Support for different video-streams in one video file (can be
  selected in sequencer, other parts of blender can also use it,
  but UI has to be added accordingly)

* IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since
  older versions don't support the pkt_pts field, that is essential
  for building timecode indices.

  Windows and Mac libs are already updated, Linux-users have to build
  their own ffmpeg verions until distros keep up.