9 years agosvn merge -r 37306:39975
Benoit Bolsee [Wed, 7 Sep 2011 15:34:04 +0000 (15:34 +0000)]
svn merge -r 37306:39975

9 years agoFix for multiple parallel group node executions.
Lukas Toenne [Tue, 6 Sep 2011 16:32:51 +0000 (16:32 +0000)]
Fix for multiple parallel group node executions.

This would previously break because begin/end functions for each tree type still have some checks of the ntree->execdata pointer in them, despite the intended use of execdata instances instead of trees themselves for execution data storage. This is an artifact of the old execution system that required these checks to be made in the functions to avoid multiple execution of top-level trees. Now these functions take an additional argument, so group nodes can prevent them from setting and checking the nodetree->execdata pointers.

9 years agoAmbient Occlusion:
Thomas Dinges [Tue, 6 Sep 2011 15:44:44 +0000 (15:44 +0000)]
Ambient Occlusion:
* Increase max. samples from 32 to 128.

9 years agoFix #28524: Push/Pull Assert when using Operator Panel to Alter Distance value
Sergey Sharybin [Tue, 6 Sep 2011 14:59:55 +0000 (14:59 +0000)]
Fix #28524: Push/Pull Assert when using Operator Panel to Alter Distance value

Some transform operators (like push/pull, shrink/fatten, to sphere and so)
were creating "value" as single scalar value. This used to confuse
RNA_float_get_array used in initTransform.

Use RNA_float_get_array for array values and RNA_float_get for scalar value
in transform initi function.

9 years agoFix for poly line grease pencil and surface drawing.
Sergey Sharybin [Tue, 6 Sep 2011 14:02:28 +0000 (14:02 +0000)]
Fix for poly line grease pencil and surface drawing.

9 years agoremove -Wundef for code we don't maintain & generated code.
Campbell Barton [Tue, 6 Sep 2011 13:00:46 +0000 (13:00 +0000)]
remove -Wundef for code we don't maintain & generated code.

9 years agoFix for wrong offset of the input socket column in group node tree display.
Lukas Toenne [Tue, 6 Sep 2011 11:42:20 +0000 (11:42 +0000)]
Fix for wrong offset of the input socket column in group node tree display.

9 years agoBackward compatibility fix for SOCK_DYNAMICS flag on group sockets.
Lukas Toenne [Tue, 6 Sep 2011 11:38:44 +0000 (11:38 +0000)]
Backward compatibility fix for SOCK_DYNAMICS flag on group sockets.

This is currently only needed for displaying the up/down buttons of group sockets. All regular group sockets should have this flag to indicate they are added by the user. More complex "group-type" trees may use non-dynamic sockets in the future for sockets that are not supposed to be manipulated.

9 years agofix link issues with MinGW - a substitute declaration(correctByteOrder) for itoln...
Antony Riakiotakis [Tue, 6 Sep 2011 11:17:29 +0000 (11:17 +0000)]
fix link issues with MinGW - a substitute declaration(correctByteOrder) for itoln that was not present in MinGW was being used. Duplicated the declaration from <winsock2.h>(tried including but gave some errors) and added the appropriate link library, wsock32, according to MinGW documentation.

9 years agotexture evaluation function (like we had in 2.4x api), requested by Lee.
Campbell Barton [Tue, 6 Sep 2011 10:49:55 +0000 (10:49 +0000)]
texture evaluation function (like we had in 2.4x api), requested by Lee.

 red, green, blue, intensity = texture.evaluate(vec)

9 years agoNew grease pencil mode: poly line drawing
Sergey Sharybin [Tue, 6 Sep 2011 08:30:17 +0000 (08:30 +0000)]
New grease pencil mode: poly line drawing

- It's like sketch mode for lines, but you're specifying line knots
  by clicking on position you want to add next knot.
- View can be navigated between knots creation.
- Holding LMB down and sliding mouse will lead to new segment preview
  so it can be created more accurate.

Additional change: fixed GP->Bezier conversion. Last point used to
                   be ignored in this operator.

9 years agoFix for #28517, group nodes losing all links from older files.
Lukas Toenne [Tue, 6 Sep 2011 08:28:06 +0000 (08:28 +0000)]
Fix for #28517, group nodes losing all links from older files.

The reason was that group nodes tried to reconstruct sockets from the template lists, which are empty. Now the verification function checks if there are any sockets in the template lists, which are always empty for group nodes.

9 years agoGrease pencil: non-blocking sketch sessions
Sergey Sharybin [Tue, 6 Sep 2011 07:59:18 +0000 (07:59 +0000)]
Grease pencil: non-blocking sketch sessions

- Implement own undo stack for grease pencil, so now there'll be no keymaps conflicts.
- Supported redo's during sketch session.
- Get rid of flag stored in Globals -- use undo stack to check if grease pencil session is active.

9 years agofix for error in strinc.c's BLI_strescape
Campbell Barton [Tue, 6 Sep 2011 07:08:20 +0000 (07:08 +0000)]
fix for error in strinc.c's BLI_strescape

9 years agomore minor doc fixes
Campbell Barton [Tue, 6 Sep 2011 00:41:28 +0000 (00:41 +0000)]
more minor doc fixes

9 years agofix for doc building after pepper merge, also WIP tips/tricks.
Campbell Barton [Tue, 6 Sep 2011 00:12:34 +0000 (00:12 +0000)]
fix for doc building after pepper merge, also WIP tips/tricks.

9 years agoreplace define '#if FFTW3==1' --> '#ifdef WITH_FFTW3'
Campbell Barton [Mon, 5 Sep 2011 23:46:08 +0000 (23:46 +0000)]
replace define '#if FFTW3==1' --> '#ifdef WITH_FFTW3'

9 years agofix some complier warnings and add -Wundef to CMake's default GCC warnings.
Campbell Barton [Mon, 5 Sep 2011 23:40:52 +0000 (23:40 +0000)]
fix some complier warnings and add -Wundef to CMake's default GCC warnings.

9 years agoTypofix
Nathan Letwory [Mon, 5 Sep 2011 22:15:07 +0000 (22:15 +0000)]

9 years agoSVN maintenance.
Guillermo S. Romero [Mon, 5 Sep 2011 22:04:30 +0000 (22:04 +0000)]
SVN maintenance.

9 years agoFix for blender player linker bug, missing a stub function used in RNA.
Lukas Toenne [Mon, 5 Sep 2011 22:04:23 +0000 (22:04 +0000)]
Fix for blender player linker bug, missing a stub function used in RNA.

9 years agoPut dead zone printout behind debug.
Nathan Letwory [Mon, 5 Sep 2011 21:52:06 +0000 (21:52 +0000)]
Put dead zone printout behind debug.

9 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:

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

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

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

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

9 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,

9 years agoFix #28389: 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: function didn't emboss menu button correct in the
3d view tools region.

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

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

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

9 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

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

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

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

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

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

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

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

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

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

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

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

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

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

9 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

9 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

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

9 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

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

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

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

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

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

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

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

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

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

9 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

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

9 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

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

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

9 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

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

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

9 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

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

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

9 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

9 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

9 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

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

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

9 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!)

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

9 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

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

9 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().

9 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

9 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

9 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 (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.ops.render.render(animation=False, write_still=True)

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

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

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

9 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

9 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

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

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

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

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

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

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

9 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! :)

9 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 ;-)

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

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

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

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

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