blender.git
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. soc-2011-pepper
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.

8 years ago* Removing mocap GSoC (is an addon already).
Joerg Mueller [Sun, 28 Aug 2011 14:21:44 +0000 (14:21 +0000)]
* Removing mocap GSoC (is an addon already).
* Fixing ffmpeg-0.8 errors.
* Fixing Ketsji paths.
* Removing DoSound from BGE.
* Fixing audio scene update to use only current scene objects.

8 years agoAssorted comment clarification in response to code review notes
Joshua Leung [Sun, 28 Aug 2011 11:39:18 +0000 (11:39 +0000)]
Assorted comment clarification in response to code review notes

8 years agoRNA_property_as_string now escapes the string (so operator redo can include strings...
Campbell Barton [Sun, 28 Aug 2011 09:28:41 +0000 (09:28 +0000)]
RNA_property_as_string now escapes the string (so operator redo can include strings with ", \n etc), also fixed a bug in string escape length limit.

8 years ago- use static vars and functions where possible.
Campbell Barton [Sun, 28 Aug 2011 05:06:30 +0000 (05:06 +0000)]
- use static vars and functions where possible.
- use NULL rather than 0 when used as pointers.

8 years agocheck for unlikely error when freeing a library blend file from the BGE.
Campbell Barton [Sun, 28 Aug 2011 05:01:16 +0000 (05:01 +0000)]
check for unlikely error when freeing a library blend file from the BGE.

8 years agoremove implicit casts to doubles in the noise code, also use floating point math...
Campbell Barton [Sun, 28 Aug 2011 02:54:26 +0000 (02:54 +0000)]
remove implicit casts to doubles in the noise code, also use floating point math functions rather then double since the noise functions range is already limited by casting to ints in many places.
- gives a very small speedup.

8 years agofix [#28388] Clouds at high depth give artifacts.
Campbell Barton [Sun, 28 Aug 2011 02:04:40 +0000 (02:04 +0000)]
fix [#28388] Clouds at high depth give artifacts.
http://projects.blender.org/tracker/download.php/9/498/28388/17476/screen_bad.png

8 years agoDo not show confirm message when creating text block from menu.
Sergey Sharybin [Sat, 27 Aug 2011 12:01:01 +0000 (12:01 +0000)]
Do not show confirm message when creating text block from menu.

8 years agofix [#28373] "Lock camera to view" doew not work with 3D-mouse
Campbell Barton [Sat, 27 Aug 2011 11:52:59 +0000 (11:52 +0000)]
fix [#28373] "Lock camera to view" doew not work with 3D-mouse

8 years agoFix [#28341] writing }(alt+n) in text editor creates a new file
Sergey Sharybin [Sat, 27 Aug 2011 11:41:48 +0000 (11:41 +0000)]
Fix [#28341] writing }(alt+n) in text editor creates a new file

Change hotkey for new textblock to Ctrl-N.

8 years agomistake in own recent commit broke op[encollada with mingw
Campbell Barton [Sat, 27 Aug 2011 08:19:26 +0000 (08:19 +0000)]
mistake in own recent commit broke op[encollada with mingw

8 years ago- use python convention for headings
Campbell Barton [Sat, 27 Aug 2011 08:09:12 +0000 (08:09 +0000)]
- use python convention for headings
- use implicit examples rather than .. code-block::

8 years agofix for building with msvc, ssize_t is more correct but in this case its not going...
Campbell Barton [Sat, 27 Aug 2011 07:06:44 +0000 (07:06 +0000)]
fix for building with msvc, ssize_t is more correct but in this case its not going to give issues.

8 years agobpy Gotcha's section on bones by Bassam Kurdali, with some edit.
Campbell Barton [Sat, 27 Aug 2011 07:05:04 +0000 (07:05 +0000)]
bpy Gotcha's section on bones by Bassam Kurdali, with some edit.
added some examples & notes too.

8 years agoreplace octal 0177 with 127 to be more clear, no functional change.
Campbell Barton [Sat, 27 Aug 2011 03:34:11 +0000 (03:34 +0000)]
replace octal 0177 with 127 to be more clear, no functional change.

8 years ago- use %u rather tham %d for unsigned ints in string formatting funcs.
Campbell Barton [Sat, 27 Aug 2011 03:25:02 +0000 (03:25 +0000)]
- use %u rather tham %d for unsigned ints in string formatting funcs.
- replace (strlen(str) == 0) with str[0]=='\0'

8 years ago- fix for BL_Shader::SetUniform() missing out the last part of the matrix.
Campbell Barton [Sat, 27 Aug 2011 03:20:32 +0000 (03:20 +0000)]
- fix for BL_Shader::SetUniform() missing out the last part of the matrix.
- particle.c wasn't setting all components of the vector when reading cache and setting dummy velocity values.
- some functions incorrectly took a float[3] argument when the 4th value was set.
- remove a few redundant lines of code.

8 years agoBGE: Post drawing callbacks are now done per viewport instead of per scene. This...
Mitchell Stokes [Sat, 27 Aug 2011 03:19:46 +0000 (03:19 +0000)]
BGE: Post drawing callbacks are now done per viewport instead of per scene. This is handy for things like having a different HUD for each player in a splitscreen game. To figure out what viewport you're drawing too, check the scene's active_camera.

8 years agofix for bug with all rotation modes being treated as euler by the BGE, this bug is...
Campbell Barton [Sat, 27 Aug 2011 03:13:54 +0000 (03:13 +0000)]
fix for bug with all rotation modes being treated as euler by the BGE, this bug is in trunk too but fixing here because this code will replace whats in trunk.

also make initializers less verbose for ipo transform assignment.

8 years agoremove deprecated & unused sequencer transform vars
Campbell Barton [Sat, 27 Aug 2011 02:59:43 +0000 (02:59 +0000)]
remove deprecated & unused sequencer transform vars

8 years agosubtraction on unsigned values didnt work as intended for copying ID's.
Campbell Barton [Sat, 27 Aug 2011 02:45:35 +0000 (02:45 +0000)]
subtraction on unsigned values didnt work as intended for copying ID's.

8 years agobugfix for procedural textures used as bumpmap with osa not rendering right, also...
Campbell Barton [Sat, 27 Aug 2011 02:04:29 +0000 (02:04 +0000)]
bugfix for procedural textures used as bumpmap with osa not rendering right, also remove redundant assignment.

8 years agoremove deprecated & unused mat3_to_vec_rot and mat4_to_vec_rot functions.
Campbell Barton [Sat, 27 Aug 2011 01:42:49 +0000 (01:42 +0000)]
remove deprecated & unused mat3_to_vec_rot and mat4_to_vec_rot functions.

8 years agobge py api XK_GameObject.linVelocityMin was returning linVelocityMax.
Campbell Barton [Sat, 27 Aug 2011 01:37:47 +0000 (01:37 +0000)]
bge py api XK_GameObject.linVelocityMin was returning linVelocityMax.

8 years agoeek F4TOCHAR4 was assigning alpha twice too!, tsk tsk.
Campbell Barton [Sat, 27 Aug 2011 01:24:05 +0000 (01:24 +0000)]
eek F4TOCHAR4 was assigning alpha twice too!, tsk tsk.

8 years agoF3TOCHAR4 macro was assigning the same value twice (setting the alpha, then overwriti...
Campbell Barton [Sat, 27 Aug 2011 01:20:55 +0000 (01:20 +0000)]
F3TOCHAR4 macro was assigning the same value twice (setting the alpha, then overwriting with 255).

8 years agosub_v4_v4v4 was taking float[3] arguments.
Campbell Barton [Fri, 26 Aug 2011 22:37:20 +0000 (22:37 +0000)]
sub_v4_v4v4 was taking float[3] arguments.

8 years agocorrect missing bpy doc references.
Campbell Barton [Fri, 26 Aug 2011 18:48:48 +0000 (18:48 +0000)]
correct missing bpy doc references.

8 years agoadded a section to gotcha's python bpy docs about unicode encoding problems.
Campbell Barton [Fri, 26 Aug 2011 18:32:23 +0000 (18:32 +0000)]
added a section to gotcha's python bpy docs about unicode encoding problems.

8 years agofix for crash when running a python script in a non utf8 blend path, inspecting the...
Campbell Barton [Fri, 26 Aug 2011 17:55:03 +0000 (17:55 +0000)]
fix for crash when running a python script in a non utf8 blend path, inspecting the exception for the path assumed utf8.

8 years agoFix #28301: Sculpting a object with rotational have desface
Sergey Sharybin [Fri, 26 Aug 2011 16:38:23 +0000 (16:38 +0000)]
Fix #28301: Sculpting a object with rotational have desface

Patch from Juha Maki-Kanto

- initgrabz was called with local space coord.
- Brush radiu was multiplying by 2.0 for grab and snake brushes.
  Not sure why this was needed. Made some tests and didn't notice
  any regressions without this multiplication.

8 years agocode review fixes
Sukhitha Prabhath Jayathilake [Fri, 26 Aug 2011 15:16:27 +0000 (15:16 +0000)]
code review fixes

8 years agoFix #28370: border select for curve and metaball did not update number of
Brecht Van Lommel [Fri, 26 Aug 2011 11:35:33 +0000 (11:35 +0000)]
Fix #28370: border select for curve and metaball did not update number of
selected vertices in info header. Patch by Julien Duroure, thanks!

8 years agowhen applying armature object transform now transform the bone roll too.
Campbell Barton [Fri, 26 Aug 2011 06:22:12 +0000 (06:22 +0000)]
when applying armature object transform now transform the bone roll too.

This means you can import a BVH, rotate 90d and apply the rotation, the animation will still work as expected - thanks to Benjy's script for showing how obvious it is that this works :)

8 years agodocument some of the pitfalls in the blender python api (taken from frequent mails...
Campbell Barton [Fri, 26 Aug 2011 04:00:55 +0000 (04:00 +0000)]
document some of the pitfalls in the blender python api (taken from frequent mails and bug reports)

8 years agofile-selector: when converting operator arguments to the file selector, wasnt making...
Campbell Barton [Fri, 26 Aug 2011 01:32:07 +0000 (01:32 +0000)]
file-selector: when converting operator arguments to the file selector, wasnt making paths absolute (abs paths are made relative when converting the other way).

8 years agoexecuting operators that changed the context from the console wasnt returning an...
Campbell Barton [Thu, 25 Aug 2011 17:59:37 +0000 (17:59 +0000)]
executing operators that changed the context from the console wasnt returning an operator set/flag.

8 years agoerror when a python operator gave an incorrect return value was near useless, re...
Campbell Barton [Thu, 25 Aug 2011 17:54:30 +0000 (17:54 +0000)]
error when a python operator gave an incorrect return value was near useless, re-raise a more comprehensive error which includes the operator name.

8 years agobpy-rna - simplify enum string/set parsing.
Campbell Barton [Thu, 25 Aug 2011 17:01:33 +0000 (17:01 +0000)]
bpy-rna - simplify enum string/set parsing.

8 years agosanity checks on operator exec/modal/invoke return values.
Campbell Barton [Thu, 25 Aug 2011 16:42:42 +0000 (16:42 +0000)]
sanity checks on operator exec/modal/invoke return values.

8 years agoFix for [#28304]
Alexander Kuznetsov [Thu, 25 Aug 2011 16:41:08 +0000 (16:41 +0000)]
Fix for [#28304]

Show A: and B: drives in Windows file browser.

8 years agopicky style edits with screen/view/drawing, also remove own bad example doc.
Campbell Barton [Thu, 25 Aug 2011 15:49:52 +0000 (15:49 +0000)]
picky style edits with screen/view/drawing, also remove own bad example doc.

8 years agoups, syntax error, missing :
Jens Verwiebe [Thu, 25 Aug 2011 15:18:54 +0000 (15:18 +0000)]
ups, syntax error, missing :

8 years agoOSX: refine logic for NDOF, if WITH_BF_3DMOUSE is disabled also never do weak-link...
Jens Verwiebe [Thu, 25 Aug 2011 15:12:57 +0000 (15:12 +0000)]
OSX: refine logic for NDOF, if WITH_BF_3DMOUSE is disabled also never do weak-link framework, existing or not

8 years agoOSX: fix condition for NDOF linking
Jens Verwiebe [Thu, 25 Aug 2011 14:49:47 +0000 (14:49 +0000)]
OSX: fix condition for NDOF linking

8 years agoOSX/scons: don´t link to system stubs with 10.7 sdk
Jens Verwiebe [Thu, 25 Aug 2011 09:41:36 +0000 (09:41 +0000)]
OSX/scons: don´t link to system stubs with 10.7 sdk

8 years agoFix for [#28239] Particles Billboard 3x3 Split Error.
Janne Karhu [Thu, 25 Aug 2011 07:30:12 +0000 (07:30 +0000)]
Fix for [#28239] Particles Billboard 3x3 Split Error.
* Patch by Alex Fraser.

8 years agoSVN maintenance.
Guillermo S. Romero [Thu, 25 Aug 2011 06:16:26 +0000 (06:16 +0000)]
SVN maintenance.

8 years agomove wiki api intro and overview docs into the api reference docs.
Campbell Barton [Thu, 25 Aug 2011 04:25:33 +0000 (04:25 +0000)]
move wiki api intro and overview docs into the api reference docs.

Updated docs since some parts still were from beta still.

8 years agoPatch for bug #28289
Jeroen Bakker [Wed, 24 Aug 2011 20:48:37 +0000 (20:48 +0000)]
Patch for bug #28289

updated the logic behind node delete with reconnect.
When on input and output socket is connected, these two will be reconnected
see bug report for example.

http://projects.blender.org/tracker/?func=detail&aid=28289&group_id=9&atid=498

8 years agoCommitting patch #25675 "Make "Cast Buffer Shadows" option work in viewport and BGE...
Mitchell Stokes [Wed, 24 Aug 2011 20:28:54 +0000 (20:28 +0000)]
Committing patch #25675 "Make "Cast Buffer Shadows" option work in viewport and BGE" by me.

Description from the tracker:
"It's really handy to be able to prevent an object/material from casting a shadow. So, I made use of the Cast Buffer Shadows option in the material settings, and made it work in the viewport and the BGE."

8 years agopart of a patch from Dan Eicher for cmake packaging.
Campbell Barton [Wed, 24 Aug 2011 18:23:21 +0000 (18:23 +0000)]
part of a patch from Dan Eicher for cmake packaging.

8 years agothis should finally fix collada & ubuntu building with cmake
Campbell Barton [Wed, 24 Aug 2011 18:13:11 +0000 (18:13 +0000)]
this should finally fix collada & ubuntu building with cmake

8 years agoattempt to fix issue with opencollada + ubuntu ppa
Campbell Barton [Wed, 24 Aug 2011 17:09:25 +0000 (17:09 +0000)]
attempt to fix issue with opencollada + ubuntu ppa

8 years agoopencollada find module. hopefully solves the problem where includes can in an `...
Campbell Barton [Wed, 24 Aug 2011 16:04:35 +0000 (16:04 +0000)]
opencollada find module. hopefully solves the problem where includes can in an `/include` subdir or not.

8 years agofix [#28356] Import export STL files, problem in script in version r39307
Campbell Barton [Wed, 24 Aug 2011 14:22:41 +0000 (14:22 +0000)]
fix [#28356] Import export STL files, problem in script in version r39307
& correct some bad comments.

8 years agofix [#28340] Can't set image depth, quality from image save
Campbell Barton [Wed, 24 Aug 2011 00:44:58 +0000 (00:44 +0000)]
fix [#28340] Can't set image depth, quality from image save

8 years agofix [#28351] active RenderLayer can be set to None, leading to crash
Campbell Barton [Tue, 23 Aug 2011 20:54:44 +0000 (20:54 +0000)]
fix [#28351] active RenderLayer can be set to None, leading to crash

8 years agofix [#28352] Deleting group name in particle system -> panel: Render crashes Blender
Campbell Barton [Tue, 23 Aug 2011 20:49:06 +0000 (20:49 +0000)]
fix [#28352] Deleting group name in particle system -> panel: Render crashes Blender