Commit graph

60032 commits

Author SHA1 Message Date
Campbell Barton
c6b042be9e Accidentally marked as 'rc' 2015-07-01 22:00:17 +10:00
Sergey Sharybin
cb1777d3b6 Fix T45253: Particle emitter volume mode and grid mode broken in 2.75.x
This is a regression since dced56f and root of the issue comes to the fact
that grid distribution sets UNEXIST flag during distribution, which is then
being reset in initialize_all_particles().

This commit solves the issue, but it's not really nice and some smart guy
might want to revisit it.
2015-07-01 10:34:52 +02:00
Antony Riakiotakis
a8355471b9 Fix T45251 custom directory not taken into account for image proxies. 2015-06-30 22:41:06 +02:00
Campbell Barton
1e303217b9 Note that closest_point_on_mesh is in object space 2015-06-30 19:03:02 +02:00
Dalai Felinto
33cd5f33cd Fix T45237: Dither dosn't work in Blender Internal Renderer after Multi-View 2015-06-30 19:02:57 +02:00
Bastien Montagne
3af535ea55 Fix .obj testing. 2015-06-30 19:02:46 +02:00
Sergey Sharybin
524a0fe398 Blender 2.75: Point addons to updated release revision 2015-06-29 16:13:58 +02:00
Dalai Felinto
6450d89592 Fix T45234: Stereo Parallel vs. Off-Axis
Parallel rendering was not working.

The idea of having parallel convergence mode to render as parallel but
visualize as off-axis was good, but it was leading to some complications
in the code.

I think it's more clear to the user if parallel looks and render as
parallel, and if she wants to pre-visualize the converged planes, simply
temporarily set the camera to off-axis.
2015-06-29 16:06:05 +02:00
Sergey Sharybin
aeba0160b5 SCons: Fix missing file in kernel when building on OSX 2015-06-29 15:46:35 +02:00
Sergey Sharybin
b89c12434b SCons: Another attempt to fix bundling on OSX 2015-06-29 15:46:35 +02:00
Sergey Sharybin
aa775916db SCons: Fix wrong bunding of Cycles kernel on OSX platform 2015-06-29 15:46:35 +02:00
Bastien Montagne
8f9e1bcad5 Fix part of code in load_image_single() wrongly disabled when WITH_OPENEXR was disabled. 2015-06-29 15:46:35 +02:00
Sergey Sharybin
a05507341c Cycles: Rework the way how OpenCL devices are created
It was annoying copy-paste happened across OpenCL device constructor, device
enumeration and split kernel checks. Now those areas are using an utility
function which returns pairs of platform and device IDs for devices which are
supported by Cycles and enumeration is happening inside that list.

This makes it so filtering is happening in a single place, so there's no need
to keep 3 different functions in sync.

This commit also fixes a bug with wrong enumeration of devices caused by recent
fixes. Those fixes were in fact wrong and only happened to appear to be working
on laptop with optimus card on Linux. Root of those issues is in fact in bad
Linux driver for optimus cards.
2015-06-29 15:46:34 +02:00
Sergey Sharybin
fefb728096 Fix T45022: Update missing when linking objects with new depsgraph 2015-06-29 15:46:34 +02:00
Campbell Barton
c706d1ab7a Fix T45156: scaling region crash 2015-06-29 15:46:34 +02:00
Sergey Sharybin
ff224a61a5 Fix T45154: Translation binary file(blender.mo) for Japanese is too small
The issue was caused by some changes made to msgfmt which were needed to make
modified (cleaned-up, stripped-comments messages) working.

Unfortunately that fix was merged into the release branch, so this fix is to
be ported there as well and verified against rc1 translations.
2015-06-29 15:46:34 +02:00
Campbell Barton
5f864894a4 Partial fix T45156: scaling region crash
'ar->winy' may not be initialized, making regions zoom in (past limits)
and attempt to draw very large text (~10x10k size characters), often crashing.

Fix isn't complete since it only corrects factory startup.
2015-06-29 15:46:34 +02:00
Sybren A. Stüvel
adba575605 BGE Fix: apply velocity clamping on every physics subtick
This patch uses the Bullet "internal tick callback" functionality to
ensure that velocity clamping is performed after every physics update.
This makes a difference when physics subticks > 1, as in that case the
too-high velocity could have impacted the simulation.

This patch follows the examples at [1] and [2]; the latter example
also explains that the way we limit velocity in the BGE (before this
patch) is wrong.

[1] http://bulletphysics.org/mediawiki-1.5.8/index.php/Simulation_Tick_Callbacks
[2] http://www.bulletphysics.org/mediawiki-1.5.8/index.php/Code_Snippets#I_want_to_cap_the_speed_of_my_spaceship;

Reviewed by: panzergame

Differential Revision: https://developer.blender.org/D1364
2015-06-29 15:46:34 +02:00
Bastien Montagne
a08f1d00ae Fix crasher when loading multiview OpenEXR image.
With multiview/multilayer OpenEXR file, `load_image_single()` will return NULL ibuf,
since it has already populated ima (with `image_create_multiview()` or
`image_create_multilayer()` calls).

Also, added some more checks before doing `IMB_ImBufFromStereo3d()`, to be sure
we do have enough slots in ibuf_arr, and we do not overwrite second ibuf either.
2015-06-29 15:46:33 +02:00
Bastien Montagne
86d172d846 Fix T45204: String Splitting Function Bug: Using OpenEXR function even if compiled without OpenEXR.
Seriously!!!

Also, fix a potential buffer overrun here.

This should be backported to final release.
2015-06-29 15:46:33 +02:00
Thomas Dinges
b4c6515765 Cleanup: Fix a typo in world MIS.
Found by Lukas Stockner, thanks!
2015-06-29 15:46:33 +02:00
Antony Riakiotakis
df9482e36a Revert "Fix off by one error in display of start/end frame in sequencer."
This reverts commit 0e02ad8b64.

Initial commit was done so visual result fits with animation cursor
in timeline but this makes it so it looks like one extra frame is
rendered. Other idea would be to render one less frame for sequencer
but this is not so nice either. Generally here's no way to be
fully consistent here, but at least let's be workflow-consistent
2015-06-29 15:46:33 +02:00
Campbell Barton
183081e1df splash fix, previous had color conversion error 2015-06-29 15:46:33 +02:00
Dalai Felinto
643e015664 RNA: exposing image_user settings for ImageTextureNodes
This is required in order to access image sequence frame_duration and
frame_offset among other settings.
2015-06-29 15:46:32 +02:00
Bastien Montagne
3ece175da3 Fix T45051: Curve parent bug.
PARCURVE is deprecated parting type, should never have been exposed to user!

Not a regression, but safe enough for final 2.75 imho.
2015-06-29 15:46:32 +02:00
Campbell Barton
07aa5a4b26 Missed changing default arg in addon_utils.disable 2015-06-29 15:46:32 +02:00
Campbell Barton
bca4e9c81d Fix T44320: UV island overlap considered linked 2015-06-29 15:46:32 +02:00
Jeroen Bakker
c92b41703a Fixed compilation error in editor/animation/anim_markers 2015-06-29 15:46:32 +02:00
Sergey Sharybin
c1cf70fbca Fix T45034: MirrorBall rendering on wrong camera axis
This was a mistake in the original code from D1079.

With the current way how direction ot mirror ball works camera should look
into negative Y direction. Corrected it in the camera matrix synchronization,
so no extra calculations are needed at the render time.

That's a bit annoying, but we'd better port it to the release branch, or
otherwise we'll end up with files created with wrong camera mapping after
2.75 release.
2015-06-29 15:46:32 +02:00
Antony Riakiotakis
0087564b5c Fix T45145, multiview selection fix not working for scaled matrices.
Multiview code already accounts for scale, do not scale frame before
multiplying with matrix.
2015-06-29 15:46:31 +02:00
Campbell Barton
65648b4883 Fix T45144: Multi-value-edit ignored range 2015-06-29 15:46:31 +02:00
Campbell Barton
45253222ee Fix camera stereo logic use /w regular select 2015-06-29 15:46:31 +02:00
Campbell Barton
39e09b842b Fix T45133: Crash drawing material buttons 2015-06-29 15:46:31 +02:00
Campbell Barton
b709652b67 Fix memory leak /w multi-drag over a single button 2015-06-29 15:46:31 +02:00
Campbell Barton
92474fbb63 Support for platforms /wo malloc_usable_size
Was only used for stats, netbsd doesn't define this function.
2015-06-29 15:46:30 +02:00
Campbell Barton
55c021a5a7 BGE: dissallow calling reverse on internal clists 2015-06-29 15:46:30 +02:00
Campbell Barton
5bbd976006 Fix T45109: multi-view regression /w screen-cast 2015-06-29 15:46:30 +02:00
Sergey Sharybin
c85a58abd5 Blender 2.75: Fix compilation error caused by the addons fix
It was relying on a new function introduced by in 958c208.
2015-06-19 16:59:07 +02:00
Sergey Sharybin
6920d4c09f Blender 2.75: Point addons submodules to latest backported revision 2015-06-19 14:01:21 +02:00
Dalai Felinto
3a4802ce25 Fix T45104: RGBA PNG Stereo 3d Anaglyph renders turn all shades of black into alpha in 2.75 RC1 2015-06-19 13:58:50 +02:00
Campbell Barton
c691ab1572 CMake: disable OSL if cycles is disabled 2015-06-18 17:32:25 +02:00
Campbell Barton
30add95104 CMake: minor edits to lite config 2015-06-18 17:32:25 +02:00
Sergey Sharybin
d9b43081b6 Revert "Fix/Workaround T44662: Freestyle gives no visual output when the Save Buffers option is enabled"
This reverts commit ab417f31f4.

This workaround caused serious memory corruption issues which is not really acceptable
for the release. We'll be likely sticking to a more limited release when using freestyle
with saved buffers for until proper solution is implemented.

Conflicts:
	source/blender/render/intern/source/pipeline.c

Conflicts:
	source/blender/render/intern/source/pipeline.c
2015-06-18 17:25:08 +02:00
Sergey Sharybin
2c9e89c220 Cycles: Don't show devices which does not support OpenCL 1.1 in the menu
They'll be checked for the version later and that check will fail anyway,
so better to not allow user to see unsupported device in the list.

Also corrected one more issue with the device enumeration.
2015-06-18 17:24:20 +02:00
Sergey Sharybin
12e6bfe1d3 Cycles: Fix wrong numbering of OpenCL devices when some of them are skipped
Skipped devices did not reflect in the device number, which might result in bad
array indices.

This might also resolve T45037, and need to be ported to a release branch.
2015-06-18 17:24:20 +02:00
Sergey Sharybin
4b8e1233d5 Depsgrtaph: Adding shapekey should update relations
This is needed for the new granular depsgraph, otherwise graph is not
containing all the operations needed for proper update.

And the same is actually needed onwhen removing shape key.
2015-06-18 17:24:20 +02:00
Sergey Sharybin
626a78607c Fix T45052: Compositing-Masks are not editable with new DepsGraph
This commit fixes missing updates of masks with the new dependency graph
in a way which is safe for backport into master branch.

Compositor nodes will not receive needed update callback yet, this will
be solved after mask and compositor are becoming a proper node in the
graph, it is considered a TODO now.
2015-06-18 17:24:20 +02:00
Sergey Sharybin
0fa5c0df74 Cycles: Solve possible buffer overrun when using too much closures
Glass BSDF was doing some magic with copying weigths from initial closure
onto refraction one and the code was not checking properly for the number
of closures.
2015-06-18 17:24:20 +02:00
Sergey Sharybin
2dc4c07d3a Fix T41870: Cycles OSL - Changing rotation value in anisotropic shader crashes Blender
Older OSX has major issues with sincos() function, it's likely a big in OSL
or LLVM. For until we've updated to new versions of this libraries we'll use
a workaround to prevent possible crashes on all the platforms.

Shouldn't be that bad because it's mainly used for anisotropic shader where
angle is usually constant.

This fix is safe for inclusion into final Blender 2.75 release.
2015-06-18 17:24:20 +02:00
Quentin Wenger
c2420fee56 BGE: remove outdated doc of KX_PolygonMaterial, update doc of KX_BlenderMaterial
This patch suppresses the outdated KX_PolygonMaterial.rst documentation file and moves the example contained in it into KX_BlenderMaterial.rst.
The file KX_BlenderMaterial.rst receives some extra formatting changes (lists are not supported in methods arguments types).

Reviewers: kupoman, campbellbarton, lordloki, panzergame, moguri

Reviewed By: panzergame, moguri

Projects: #game_engine

Differential Revision: https://developer.blender.org/D1355
2015-06-18 17:24:19 +02:00