9 years agoFix #33405: preview render getting stuck in a particular .blend file, ObjectKey
Brecht Van Lommel [Tue, 4 Dec 2012 07:48:09 +0000 (07:48 +0000)]
Fix #33405: preview render getting stuck in a particular .blend file, ObjectKey
operator< had wrong brackets, changed it now to be more clear.

Fix #33404: crash GPU rendering with OSL option still enabled. There was a check
to disable OSL in this case, but it shouldn't have modified scene->params because
this is used for comparison in scene->modified().

9 years agoosl style cleanup and update man-page.
Campbell Barton [Tue, 4 Dec 2012 03:18:08 +0000 (03:18 +0000)]
osl style cleanup and update man-page.

9 years agoAdd libjeack0 as (Debian and co) dep.
Bastien Montagne [Mon, 3 Dec 2012 17:53:01 +0000 (17:53 +0000)]
Add libjeack0 as (Debian and co) dep.
Also add --skip-foo args to command line.

9 years agoExit when package manager fails (exit status >= 1).
Bastien Montagne [Mon, 3 Dec 2012 17:22:52 +0000 (17:22 +0000)]
Exit when package manager fails (exit status >= 1).

9 years agoFix scons not installing closure/ directory for runtime compiles of CUDA kernel.
Brecht Van Lommel [Mon, 3 Dec 2012 16:51:05 +0000 (16:51 +0000)]
Fix scons not installing closure/ directory for runtime compiles of CUDA kernel.

9 years agoFix #33398: Missed undo push when script execution failed
Sergey Sharybin [Mon, 3 Dec 2012 16:47:38 +0000 (16:47 +0000)]
Fix #33398: Missed undo push when script execution failed

Undo push was missed in cases when script failed to run with some error
when using Run Script in text editor. As far as i can see it makes sense
to skip undo push here only in cases live editing is enabled.

Otherwise it's indeed annoying to return to previous scene state when
debugging the script.

9 years agoFix cycles viewport render getting stuck with driven/animated nodes, the updated
Brecht Van Lommel [Mon, 3 Dec 2012 16:21:43 +0000 (16:21 +0000)]
Fix cycles viewport render getting stuck with driven/animated nodes, the updated
flag would not get cleared due to the nodetree not being a real datablock.

9 years agoDisable alpha pass for all painting modes
Sergey Sharybin [Mon, 3 Dec 2012 16:19:38 +0000 (16:19 +0000)]
Disable alpha pass for all painting modes

It's not actually supported and gives artifacts when tried to be used.

9 years agofix [#33400] Knife ortho floating point error
Campbell Barton [Mon, 3 Dec 2012 15:09:33 +0000 (15:09 +0000)]
fix [#33400] Knife ortho floating point error

the green dot under the mouse would not draw under the mouse when clipping values were high (1000+) - which is common.
use a different method which doesnt give these problems.

9 years agoCleaning commented code in DM_update_weight_mcol (inactive since two releases at...
Bastien Montagne [Mon, 3 Dec 2012 14:12:40 +0000 (14:12 +0000)]
Cleaning commented code in DM_update_weight_mcol (inactive since two releases at least...).

9 years agoquiet float -> double conversion warnings and do some osl style edits.
Campbell Barton [Mon, 3 Dec 2012 13:58:08 +0000 (13:58 +0000)]
quiet float -> double conversion warnings and do some osl style edits.

9 years agoAdd --force-all option to force rebuild of all built libraries.
Bastien Montagne [Mon, 3 Dec 2012 13:28:35 +0000 (13:28 +0000)]
Add --force-all option to force rebuild of all built libraries.

9 years agoFix for [#33378] Grease pencil dopesheet fails on a few operations
Bastien Montagne [Mon, 3 Dec 2012 13:07:43 +0000 (13:07 +0000)]
Fix for [#33378] Grease pencil dopesheet fails on a few operations

Snapping operator in action editor for grease pencil and mask wasn't implemented. We could probably re-enabled/fix/cleanup more things in this area (e.g. use a custom poll func for operators not supporting gp/mask, instead of silently doing nothing), but this is for after 2.65 imho).

9 years agoR/G/B icons in node space backgroud channel selector all had same color wheel icon...
Campbell Barton [Mon, 3 Dec 2012 13:01:07 +0000 (13:01 +0000)]
R/G/B icons in node space backgroud channel selector all had same color wheel icon which didnt make much sense.

9 years agoFix cycles issue when NaN is used for RGB ramp, can access array out of bounds then.
Brecht Van Lommel [Mon, 3 Dec 2012 12:21:44 +0000 (12:21 +0000)]
Fix cycles issue when NaN is used for RGB ramp, can access array out of bounds then.
OSL noise() function is generating NaN's in certain cases, fix for that goes to our
OSL branch.

Also add missing minimum weight and max closure checks to OSL, forgot to add these
when fixing another bug.

9 years agoAdd exhaustive command line options description in --help message...
Bastien Montagne [Mon, 3 Dec 2012 12:04:15 +0000 (12:04 +0000)]
Add exhaustive command line options description in --help message...

9 years agoImage Editor / UV:
Thomas Dinges [Mon, 3 Dec 2012 12:03:16 +0000 (12:03 +0000)]
Image Editor / UV:
* Bring back "Snap to Vertex", own regression introduced in r39460.

Patch by Brecht (DNA, Transform) and myself (RNA, Script).

9 years agore-apply a workaround for [#31555] Username with special chars in Windows 7
Campbell Barton [Mon, 3 Dec 2012 10:01:09 +0000 (10:01 +0000)]
re-apply a workaround for [#31555] Username with special chars in Windows 7
this time keep the stderr/stdout so there FD's are not closed (causing [#32720]).

This workaround is ugly but saves us from using a patched python.

9 years agoTsss tsss... Copy-pasting! :P
Bastien Montagne [Mon, 3 Dec 2012 09:36:22 +0000 (09:36 +0000)]
Tsss tsss... Copy-pasting! :P

9 years agofix [#33394] Skin modifier doesn't show generated skin mesh in EditMode with Texured...
Campbell Barton [Mon, 3 Dec 2012 09:08:53 +0000 (09:08 +0000)]
fix [#33394] Skin modifier doesn't show generated skin mesh in EditMode with Texured Solid draw option

9 years agoMinor fix for "no mask keyframe copy" error message in dopesheet editor...
Bastien Montagne [Mon, 3 Dec 2012 08:37:43 +0000 (08:37 +0000)]
Minor fix for "no mask keyframe copy" error message in dopesheet editor...

9 years agoFix #33371: blender freezing in material draw mode.
Brecht Van Lommel [Mon, 3 Dec 2012 08:31:16 +0000 (08:31 +0000)]
Fix #33371: blender freezing in material draw mode.

When FBO failed in a particular way it could cause the opengl draw buffer to be
set wrong, effectively disabling all opengl drawing. The FBO error was caused
by cycles GLSL materials with no nodes that would still use blender internal
materials, which caused issues with lamp shadow buffers FBO.

This also fixes a GLSL refresh issue when switching render engines.

9 years agorevert part of r52720, Id rather leave these as-is, even if they give warnings under...
Campbell Barton [Mon, 3 Dec 2012 08:11:04 +0000 (08:11 +0000)]
revert part of r52720, Id rather leave these as-is, even if they give warnings under some configurations.

9 years agofix [#33389] Curve points restricted to 0..1 range,
Campbell Barton [Mon, 3 Dec 2012 07:10:31 +0000 (07:10 +0000)]
fix [#33389] Curve points restricted to 0..1 range,
also added note on python3.3's faulthandler module.

9 years agofix [#33392] In-dev freeway generation addon crashes on recent builds.
Campbell Barton [Mon, 3 Dec 2012 05:40:48 +0000 (05:40 +0000)]
fix [#33392] In-dev freeway generation addon crashes on recent builds.

9 years agouse const for bm_mesh_allocsize_default, bm_mesh_chunksize_default
Campbell Barton [Mon, 3 Dec 2012 05:38:28 +0000 (05:38 +0000)]
use const for bm_mesh_allocsize_default, bm_mesh_chunksize_default

9 years agobridge tool - simple optimization, break early if edge loop length comparisons are...
Campbell Barton [Mon, 3 Dec 2012 05:02:32 +0000 (05:02 +0000)]
bridge tool - simple optimization, break early if edge loop length comparisons are worse then existing best loop test.

9 years agofix [#33391] Bridge two Edgeloops fails in simple case
Campbell Barton [Mon, 3 Dec 2012 04:53:30 +0000 (04:53 +0000)]
fix [#33391] Bridge two Edgeloops fails in simple case

9 years agofix own mistake with recent commit to skip calculating tessface. If you were already...
Campbell Barton [Mon, 3 Dec 2012 02:26:13 +0000 (02:26 +0000)]
fix own mistake with recent commit to skip calculating tessface. If you were already in editmode the tessfaces wouldn't get recalculated.

also minor edits to bmesh rst.

9 years agoBevel: fix for bulging part of bug 33280.
Howard Trickey [Mon, 3 Dec 2012 01:46:37 +0000 (01:46 +0000)]
Bevel: fix for bulging part of bug 33280.
Bulging still happens, but fixed the cases where it was obvious
because it destroys an otherwise straight 'pipe' by snapping
the vertex mesh points to that pipe.

9 years agoget rid of annoying redefinition warning on cycles compilation for mingw64
Antony Riakiotakis [Sun, 2 Dec 2012 20:08:11 +0000 (20:08 +0000)]
get rid of annoying redefinition warning on cycles compilation for mingw64

9 years agoBugfix [#33387] Smoke: Animating Smoke Type from Flow to None crashes blender
Daniel Genrich [Sun, 2 Dec 2012 19:20:19 +0000 (19:20 +0000)]
Bugfix [#33387] Smoke: Animating Smoke Type from Flow to None crashes blender

This property was never intended to be animatable.
Workaround: Animate density.

TODO for 2.66: Introduce on/off property for flow and collision objects

9 years agoSilent a bunch of gcc warnings (usually dummy, but noisy!).
Bastien Montagne [Sun, 2 Dec 2012 16:01:06 +0000 (16:01 +0000)]
Silent a bunch of gcc warnings (usually dummy, but noisy!).

9 years agofix GhostSDL displaying text in multiple views.
Campbell Barton [Sun, 2 Dec 2012 15:58:26 +0000 (15:58 +0000)]
fix GhostSDL displaying text in multiple views.
add support for multi-sample.

9 years ago== FFMPEG ==
Peter Schlaile [Sun, 2 Dec 2012 15:15:44 +0000 (15:15 +0000)]
== FFMPEG ==

This fixes a memory leak caused by the last packet on stream EOF not freed.
(Memory leak occurs on ffmpeg heap managed by av_malloc / av_free, so it is
invisible to Blender)

Also: clean up the code a little bit (anim->next_packet was never really used,
so could be moved into a local variable)

9 years agocode cleanup
Campbell Barton [Sun, 2 Dec 2012 15:15:00 +0000 (15:15 +0000)]
code cleanup

9 years agoCompositor:
Thomas Dinges [Sun, 2 Dec 2012 14:41:42 +0000 (14:41 +0000)]
* Change default blur type (Blur Node) to Gaussian. Feature Request by Sebastian K├Ânig.

Patch by Troy Sobotka, approved by Campbell, Sergey and myself.

9 years agoSilent some warnings (the one in bmesh_operator.c was even preventing build in -Werro...
Bastien Montagne [Sun, 2 Dec 2012 13:35:33 +0000 (13:35 +0000)]
Silent some warnings (the one in bmesh_operator.c was even preventing build in -Werror mode).

9 years agoFix warning about missing BKE_idcode_to_name_plural.
Brecht Van Lommel [Sun, 2 Dec 2012 09:54:44 +0000 (09:54 +0000)]
Fix warning about missing BKE_idcode_to_name_plural.

9 years agoFix #33376: non-square DDS textures were mapped wrong in the viewport / game engine.
Brecht Van Lommel [Sun, 2 Dec 2012 08:25:53 +0000 (08:25 +0000)]
Fix #33376: non-square DDS textures were mapped wrong in the viewport / game engine.

9 years agoFix performance issue in OSL geometry node, compiler fails to optimize out the
Brecht Van Lommel [Sun, 2 Dec 2012 08:25:40 +0000 (08:25 +0000)]
Fix performance issue in OSL geometry node, compiler fails to optimize out the
tangent computation, tweaked the code so this works.

9 years agoThere was no way of knowing what ID type a property comes from by the tooltip, (since...
Campbell Barton [Sun, 2 Dec 2012 07:13:19 +0000 (07:13 +0000)]
There was no way of knowing what ID type a property comes from by the tooltip, (since copying the Data-Path doesn't include the ID the user had to guess).
Now include the full python path to the property in the tool-tip.

9 years agoUI: revert the previous fix for middle click on button, conflicts with panning.
Brecht Van Lommel [Sun, 2 Dec 2012 05:27:03 +0000 (05:27 +0000)]
UI: revert the previous fix for middle click on button, conflicts with panning.

9 years agochange uiButGetStrInfo() to use a trailing NULL arg rather then passing the number...
Campbell Barton [Sun, 2 Dec 2012 04:51:15 +0000 (04:51 +0000)]
change uiButGetStrInfo() to use a trailing NULL arg rather then passing the number of args as an arg.

9 years agoFix another cycles SVM issue with closures, was not using correct sample weight
Brecht Van Lommel [Sat, 1 Dec 2012 22:00:25 +0000 (22:00 +0000)]
Fix another cycles SVM issue with closures, was not using correct sample weight
leading to some extra noise compared to a few revisions ago.

9 years agoFix #33375: OSL geom:trianglevertices gave wrong coordinates for static BVH.
Brecht Van Lommel [Sat, 1 Dec 2012 19:15:05 +0000 (19:15 +0000)]
Fix #33375: OSL geom:trianglevertices gave wrong coordinates for static BVH.

Also some simple OSL optimization, passing thread data pointer directly instead
of via thread local storage, and creating ustrings for attribute lookup.

9 years agoUI: allow middlemouse in addition to leftmouse for clicking on various buttons,
Brecht Van Lommel [Sat, 1 Dec 2012 19:14:55 +0000 (19:14 +0000)]
UI: allow middlemouse in addition to leftmouse for clicking on various buttons,
means that if you have emulate 3 button mouse enabled and still have alt pressed
when clicking, it works.

9 years agoVarious "user-friendly" edits, mostly adding command-line args parsing... So now...
Bastien Montagne [Sat, 1 Dec 2012 18:07:45 +0000 (18:07 +0000)]
Various "user-friendly" edits, mostly adding command-line args parsing... So now you can try to build OSL with just --with-osl

9 years agoBevel: fix crash bug 33362, when beveling one edge at valence 2 vertex.
Howard Trickey [Sat, 1 Dec 2012 14:23:44 +0000 (14:23 +0000)]
Bevel: fix crash bug 33362, when beveling one edge at valence 2 vertex.
That special case should have been tested before - the code was wrong
in about three different ways.

9 years agoFix #33372: materials linked in node setups did not output alpha values unless
Brecht Van Lommel [Sat, 1 Dec 2012 13:56:34 +0000 (13:56 +0000)]
Fix #33372: materials linked in node setups did not output alpha values unless
the parent material also had alpha enabled. However it's useful to have it do
this even if the main material does not need alpha, to mix textures.

9 years agofix [#33368] Crash with multilayer exr node
Campbell Barton [Sat, 1 Dec 2012 08:47:39 +0000 (08:47 +0000)]
fix [#33368] Crash with multilayer exr node

9 years agostyle cleanup
Campbell Barton [Sat, 1 Dec 2012 07:58:27 +0000 (07:58 +0000)]
style cleanup

9 years agoadd to example & template
Campbell Barton [Sat, 1 Dec 2012 07:16:08 +0000 (07:16 +0000)]
add to example & template

9 years agofix for bug in console indent, was not copying the null terminator.
Campbell Barton [Sat, 1 Dec 2012 06:29:04 +0000 (06:29 +0000)]
fix for bug in console indent, was not copying the null terminator.
also add assert to catch this case more quickly.

9 years agoBevel: fix spike in suzanne, bug 33354.
Howard Trickey [Sat, 1 Dec 2012 03:26:57 +0000 (03:26 +0000)]
Bevel: fix spike in suzanne, bug 33354.
Non-planar faces made some of the meet point code not work well,
so now calculate local face norms.

9 years agofix [#33363] Text editor undo fail
Justin Dailey [Fri, 30 Nov 2012 22:46:28 +0000 (22:46 +0000)]
fix [#33363] Text editor undo fail

9 years agoFix #33364: cycles tile rendering artifacts.
Brecht Van Lommel [Fri, 30 Nov 2012 18:55:04 +0000 (18:55 +0000)]
Fix #33364: cycles tile rendering artifacts.

9 years agoFix transfer weight tool enum properties all showing question mark icons,
Brecht Van Lommel [Fri, 30 Nov 2012 18:54:56 +0000 (18:54 +0000)]
Fix transfer weight tool enum properties all showing question mark icons,
these should have no icons.

9 years agofix for various asserts running operator tests - not likely any of these would cause...
Campbell Barton [Fri, 30 Nov 2012 16:41:43 +0000 (16:41 +0000)]
fix for various asserts running operator tests - not likely any of these would cause real user bugs though.

9 years agofix for another error in my own recent commit, beauty fill crashed.
Campbell Barton [Fri, 30 Nov 2012 16:15:49 +0000 (16:15 +0000)]
fix for another error in my own recent commit, beauty fill crashed.

9 years agoRemoved unused register_ lines from for and while loop nodes. These nodes were alread...
Lukas Toenne [Fri, 30 Nov 2012 16:03:34 +0000 (16:03 +0000)]
Removed unused register_ lines from for and while loop nodes. These nodes were already commented out and removed in r51576.

9 years agofix own mistake in recent commit - entering editmode with a shape key crashed.
Campbell Barton [Fri, 30 Nov 2012 14:27:25 +0000 (14:27 +0000)]
fix own mistake in recent commit - entering editmode with a shape key crashed.

9 years agoFix #33357: Strip modificator Bright/Contrast doesn't work correct for byte images
Sergey Sharybin [Fri, 30 Nov 2012 13:42:52 +0000 (13:42 +0000)]
Fix #33357: Strip modificator Bright/Contrast doesn't work correct for byte images

9 years agoMap Range: added the same infinity clamping for Z buffer as normalize node.
Sergey Sharybin [Fri, 30 Nov 2012 13:17:19 +0000 (13:17 +0000)]
Map Range: added the same infinity clamping for Z buffer as normalize node.

Think should be pretty much harmless since if this node was used for buffers
with infinities it already showed artifacts. Now it should be more useful for
mapping Z buffers.

9 years agoNormalize node: clamp infinities to 0/1 (depending on sign)
Sergey Sharybin [Fri, 30 Nov 2012 12:48:30 +0000 (12:48 +0000)]
Normalize node: clamp infinities to 0/1 (depending on sign)

The same behavior was in old compositor system and it makes more sense
when you're normalizing Z buffer.

9 years agoFinal render wouldn't set compositor's update_draw callback, so added NULL check
Sergey Sharybin [Fri, 30 Nov 2012 11:26:57 +0000 (11:26 +0000)]
Final render wouldn't set compositor's update_draw callback, so added NULL check

Seems no extra notifiers should be added here.

9 years agoFix #33353: Smoke color problems with adaptive domain
Miika Hamalainen [Fri, 30 Nov 2012 11:01:14 +0000 (11:01 +0000)]
Fix #33353: Smoke color problems with adaptive domain

High resolution cache didn't always read all written data fields which caused colors to get messed up.

9 years agoCompositor should never add notifiers by himself, notifiers should be added
Sergey Sharybin [Fri, 30 Nov 2012 09:12:10 +0000 (09:12 +0000)]
Compositor should never add notifiers by himself, notifiers should be added
from main thread using job update callback.

Added new execution-time callback to bNodeTree which marks job to be updated.

The code here could be a bit not so obvious because in some cases job update
callback need to merge local tree, but it's only needed for old compositor
system which is gonna to be removed soon, so decided not to bother with
cleanup now. Removing old compositor system will also allow to drop stats_draw
callback from bNodeTree.

This should fix following bugs:

9 years agoFix cycles CUDA sm 1.3 build with 32 bit compiler, tweaked voronoi
Brecht Van Lommel [Fri, 30 Nov 2012 07:27:17 +0000 (07:27 +0000)]
Fix cycles CUDA sm 1.3 build with 32 bit compiler, tweaked voronoi
and brick code so that it can be uninlined.

9 years agoadd margin to view fitting view-all/local-view (wasn't obvious with the models I...
Campbell Barton [Fri, 30 Nov 2012 06:55:36 +0000 (06:55 +0000)]
add margin to view fitting view-all/local-view (wasn't obvious with the models I was testing with).

9 years agofix for another glitch caused by r51636, setting the camera view with quad-view enabl...
Campbell Barton [Fri, 30 Nov 2012 06:39:24 +0000 (06:39 +0000)]
fix for another glitch caused by r51636, setting the camera view with quad-view enabled would zoom all non camera views.

Theres no need to draw other views so skip that.

9 years agoFix #33351: cycles OSL not loading grayscale images as RGB correctly.
Brecht Van Lommel [Fri, 30 Nov 2012 06:10:25 +0000 (06:10 +0000)]
Fix #33351: cycles OSL not loading grayscale images as RGB correctly.

9 years agoFix #33347: cycles OSL crash connecting string to vector socket.
Brecht Van Lommel [Fri, 30 Nov 2012 06:10:16 +0000 (06:10 +0000)]
Fix #33347: cycles OSL crash connecting string to vector socket.

9 years agofix for r51636 - making the lens work in ortho mode made view-all and local-view...
Campbell Barton [Fri, 30 Nov 2012 06:10:01 +0000 (06:10 +0000)]
fix for r51636 - making the lens work in ortho mode made view-all and local-view operators give bad zoom levels.

9 years agomake setting local view take the view lens int account.
Campbell Barton [Fri, 30 Nov 2012 05:29:34 +0000 (05:29 +0000)]
make setting local view take the view lens int account.

9 years agomake previous commit work when the camera is locked to the view (in that case use...
Campbell Barton [Fri, 30 Nov 2012 04:40:32 +0000 (04:40 +0000)]
make previous commit work when the camera is locked to the view (in that case use the camera lens, not the viewport lens value).

9 years agofix for view-all operator not taking the view-angle into account.
Campbell Barton [Fri, 30 Nov 2012 04:25:58 +0000 (04:25 +0000)]
fix for view-all operator not taking the view-angle into account.

9 years agoFix render from local view 3d viewport not using lamps in render.
Brecht Van Lommel [Thu, 29 Nov 2012 19:04:33 +0000 (19:04 +0000)]
Fix render from local view 3d viewport not using lamps in render.
Fix missing GLSL updates for objects without materials.

9 years agoremove unneeded mesh->bmesh conversion code that copied BMLoop data in a separate...
Campbell Barton [Thu, 29 Nov 2012 16:36:16 +0000 (16:36 +0000)]
remove unneeded mesh->bmesh conversion code that copied BMLoop data in a separate loop (since there is no longer pre-allocated loop data on the new BMLoops).

9 years agoFix navmesh after recent bmsh api changes.
Sergey Sharybin [Thu, 29 Nov 2012 16:34:09 +0000 (16:34 +0000)]
Fix navmesh after recent bmsh api changes.

9 years agofix [#33029] Applying modifier leaks memory
Campbell Barton [Thu, 29 Nov 2012 16:26:39 +0000 (16:26 +0000)]
fix [#33029] Applying modifier leaks memory

Thanks for Sergey for finding the bug & patching, This fix works a bit differently.
Theres no need to allocate the customdata in the first place - since its written into. So add a flag for vert/edge/face/loop creation functions so they can skip customdata creation.

9 years agoFix cycles motion blur + OSL + object texture coordinates issue.
Brecht Van Lommel [Thu, 29 Nov 2012 16:11:37 +0000 (16:11 +0000)]
Fix cycles motion blur + OSL + object texture coordinates issue.

9 years agofix [#33332] UV follow active quads
Campbell Barton [Thu, 29 Nov 2012 14:02:28 +0000 (14:02 +0000)]
fix [#33332] UV follow active quads
rewrite the script to use bmesh connectivity info.

9 years agoBevel: partial fix for distortion (bug 33280).
Howard Trickey [Thu, 29 Nov 2012 13:54:39 +0000 (13:54 +0000)]
Bevel: partial fix for distortion (bug 33280).
Sometimes it is impossible to have same offset from
both edges that are on angled faces. The fix here
at least doesn't distort the non-beveled part of the
model, and looks much better than before on bug
example, but is still not perfect.

9 years agoFix #33345: Crash when using bpy.ops.sculpt.brush_stroke
Sergey Sharybin [Thu, 29 Nov 2012 13:24:02 +0000 (13:24 +0000)]
Fix #33345: Crash when using bpy.ops.sculpt.brush_stroke

It was kind of a regression in behavior in svn rev46862 which made it so
blender crashes if stroke is done from the script.

It should bring back the behavior back and made it so blender doesn't crash,
however it's probably not full fix and some further work is needed to make
call of stroke operator usable from the addon.

9 years agoFix #33344: cycles motion blur was still crashing on CUDA sm 2.0. Solution now
Brecht Van Lommel [Thu, 29 Nov 2012 13:07:45 +0000 (13:07 +0000)]
Fix #33344: cycles motion blur was still crashing on CUDA sm 2.0. Solution now
is also an optimization, use quaternion nlerp instead of slerp, there's no good
reason to use slerp, and nlerp is faster too.

9 years agoFix compile error with clang.
Daniel Genrich [Thu, 29 Nov 2012 12:22:07 +0000 (12:22 +0000)]
Fix compile error with clang.

Patch by sambler via irc

9 years agowe need 2.8.8 for cmake on mac - patch by Jens Verwiebe
Dalai Felinto [Thu, 29 Nov 2012 10:28:06 +0000 (10:28 +0000)]
we need 2.8.8 for cmake on mac - patch by Jens Verwiebe

9 years agoDependencies Builder: disable LINKSTATIC for OIIO
Sergey Sharybin [Thu, 29 Nov 2012 08:22:02 +0000 (08:22 +0000)]
Dependencies Builder: disable LINKSTATIC for OIIO

It'll likely give issues with system boost libraries in ubuntu/debian due
to this distros doesn't like static linking and not building static libs
with -fPIC flag.

Disabling LINKSTATIC should be quite painless since blender requires the
same image libraries as oiio does.

9 years agopy/bmesh api: add radial prev/next attributes to the loop
Campbell Barton [Thu, 29 Nov 2012 05:54:35 +0000 (05:54 +0000)]
py/bmesh api: add radial prev/next attributes to the loop

9 years agoBGE: Fixing the double-click issue for mouse events too. The previous fix only fixed...
Mitchell Stokes [Thu, 29 Nov 2012 05:21:24 +0000 (05:21 +0000)]
BGE: Fixing the double-click issue for mouse events too. The previous fix only fixed double-click keyboard events.

9 years agobmesh py api: add bmesh.update_edit_mode(), there was no way to redraw the 3d view...
Campbell Barton [Thu, 29 Nov 2012 05:02:06 +0000 (05:02 +0000)]
bmesh py api: add bmesh.update_edit_mode(), there was no way to redraw the 3d view or re-calculate face tessellation from python.

add py template for editing meshes in editmode.

also remove double call to CTX_wm_region which does a string lookup.

9 years agosome minor edits
Campbell Barton [Thu, 29 Nov 2012 03:55:07 +0000 (03:55 +0000)]
some minor edits
- script stub printed resource warning with py3.3 (not closing a file).
- bmesh customdata layer access had bad docstring.
- float/double conversion warnings in sequencer code (use doubles since result is double)
- remove unused var

9 years agobmesh py api: use generic checking macros to see if an object if from the same bmesh.
Campbell Barton [Thu, 29 Nov 2012 03:25:37 +0000 (03:25 +0000)]
bmesh py api: use generic checking macros to see if an object if from the same bmesh.
- was such a common operation so this saves having exceptions set inline all over the place.

9 years agobmesh py api: add attribute-
Campbell Barton [Thu, 29 Nov 2012 02:44:06 +0000 (02:44 +0000)]
bmesh py api: add attribute-

9 years agoskip recalculating tessface when adding objects if 'EnterEdit-mode' is disabled.
Campbell Barton [Thu, 29 Nov 2012 02:37:39 +0000 (02:37 +0000)]
skip recalculating tessface when adding objects if 'EnterEdit-mode' is disabled.

9 years agoFix related to #33340: add a warning to bge from_id documentation to not store id()
Brecht Van Lommel [Thu, 29 Nov 2012 01:25:38 +0000 (01:25 +0000)]
Fix related to #33340: add a warning to bge from_id documentation to not store id()
in game object integer properties since it may not fit in 32 bits integers.

9 years agoFix #32900: object motion blur not working on the GPU. To make this work I disabled...
Brecht Van Lommel [Thu, 29 Nov 2012 00:43:50 +0000 (00:43 +0000)]
Fix #32900: object motion blur not working on the GPU. To make this work I disabled motion
blurring of scale animation, probably not a big loss in practice since it's not so common
to animate this, can be added back later.

9 years agoFix #33337: cycles crash with progressive refine and multiple render layers.
Brecht Van Lommel [Wed, 28 Nov 2012 19:57:29 +0000 (19:57 +0000)]
Fix #33337: cycles crash with progressive refine and multiple render layers.

9 years agoSeems cmake in debian squeeze is broken and fails to handle BOOST_ROOT
Sergey Sharybin [Wed, 28 Nov 2012 19:37:37 +0000 (19:37 +0000)]
Seems cmake in debian squeeze is broken and fails to handle BOOST_ROOT

I would recommend using debian-backports repo for cmake