Commit graph

58410 commits

Author SHA1 Message Date
Sergey Sharybin
8804e6493c Point addons to v2.74-rc3 2015-03-24 20:31:27 +05:00
Sergey Sharybin
3ec48d3bd8 We're now RC3 2015-03-24 19:49:40 +05:00
Antony Riakiotakis
eb9826d8d9 Versioning code to correct socket naming after
340b76b42c

Reported by formerly Old_Demon on blenderartists.

Apparently this caused old files to lose their links to material sockets
(noob own mistake from inexperience with node system).

This should either be included in release with version checking being
set to version 2.73 and subversion 10, without tweaking the
BKE_blender.h file

OR

340b76b42c should be reverted for this
release.

Thanks to Lukas for checking this out.

Conflicts:
	source/blender/blenkernel/BKE_blender.h
	source/blender/blenloader/intern/versioning_270.c
2015-03-24 19:49:18 +05:00
Bastien Montagne
c7dc142c1b Fix T44102: Mirrored objects render black with Blender Internal and Autosmooth.
Normals are not vertices, we cannot apply matrix's scale to them...
2015-03-24 19:47:50 +05:00
Bastien Montagne
d2d3a41ce8 Fix T44089: All addons do not use same default for orientations.
Transformed 'OrientationHelper' class into 'orientation_helper_factory' function,
which returns an OrientationHelper customized class with specified default axes.
2015-03-24 19:47:50 +05:00
Sybren A. Stüvel
03d662d7bd Fix T44065: fixed vehicle constraint
Commit ffee7f1a58 broke vehicle constraints; this fixes that.
2015-03-24 19:47:50 +05:00
Jorge Bernal
33bf1e0e18 Revert part of D1074 related to acceleration taked into account.
It has been reverted because it was affecting obstacle avoidance
(T44041).

This fix should be backported to 2.74
2015-03-24 19:47:50 +05:00
Sergey Sharybin
6289d5b8d1 Fix T44110: Plane track doesn't work when built with scons
For some reason recent change in avoiding non-aligned eigen vectors
was behaving differently for cmake and scons. Made it a bit different
now by storing scalars. This is more robust approach anyway, because
it's not really guaranteed Mat.col() gives a pointer inside data,
depending on column-major vs. row-major storage.

This is to be backported to 2.74 branch.
2015-03-24 19:47:50 +05:00
Campbell Barton
6b1638cf79 tweaks to packman build
remove --asroot arg to makepkg
2015-03-24 19:47:50 +05:00
Antony Riakiotakis
07e815df4b Fix T44076, SSAO in solid mode will disable antialiasing in wireframe
mode.

Yes it will, because those modes stay active. So on user side, expose
depth of field option always (I don't see why not), but disable SSAO in
wireframe/bounding box mode. It is a known limitation that compositing
does not support antialiasing yet, but better give users some more
control.

This could be included in final release but it's not that serious
either.
2015-03-24 19:47:49 +05:00
Antony Riakiotakis
a10e7ca830 Make sure matcap icons are within range.
Basically out of range could happen when opening files made in 2.72 when
the new icons for texture painting were added. Apparently some more
caution is needed here.
2015-03-24 19:47:49 +05:00
Sergey Sharybin
01ee21ffb9 Fix T43926: Volume scatter: intersecting objects GPU rendering artifacts
Fix T44007: Cycles Volumetrics: block artifacts with overlapping volumes

The issue was caused by uninitialized parameters of some closures, which
lead to unpredictable behavior of shader_merge_closures().
2015-03-24 19:47:49 +05:00
Jens Verwiebe
3cf120be67 OSX: fix 1 leak ( found and fixed by marcclintdion ) and 1 possible leak in dragndrop, backport to 2.74 2015-03-24 19:47:49 +05:00
Jens Verwiebe
d22c56819c OSX/GHOST: need one more release in error case 2015-03-24 19:47:49 +05:00
Jens Verwiebe
ff455f1ae1 Partly fix T44025, pixelFormat retain was left, for 2.74 backport 2015-03-24 19:47:49 +05:00
Sergey Sharybin
9bbb53ef68 Cycles: Avoid memcpy of intersecting memory
Could happen when assignment happens to self during sorting.
2015-03-24 19:47:49 +05:00
Campbell Barton
7b9a8337ad Disable IME for headless builds 2015-03-24 19:47:49 +05:00
Campbell Barton
210f90cb77 Fix for building win32 headless 2015-03-24 19:47:48 +05:00
Campbell Barton
856da320e7 Fix/Improve FKey bone creation
- new bone is now made active
- previous selection cleared
- bone direction places the tip on the active bone (if available)
2015-03-24 19:47:48 +05:00
Campbell Barton
2967c07a61 Add missing update adding a shape-key
Noticeable when pin is enabled.
2015-03-24 19:47:48 +05:00
Bastien Montagne
638368a930 Fix T43989: Sequencer - Ctrl snapping a sequencer strip does not work if you specify the x axis.
New 'strip' snapping was simply not computed in case of constrained transform, hence init
'0' value was used as frame offset in this case.

This commit reorganizes a bit that snapping, to keep it more 'confined' into `snapSequenceBounds()`
dedicated function. It still needs a minor hack (setting snapping mode to something else than
defualt `SCE_SNAP_MODE_INCREMENT`, to avoid this snapping to be called by contraint code).

Thanks to Antony for review and enhancements.

This fix should be backported to 2.74.
2015-03-24 19:47:48 +05:00
Sergey Sharybin
bef0649151 Fix T44040: Blender crashes when nodes are muted
It was actually an old issue with wrong conversion happening for muted
nodes, which wasn't visible before memory optimization commit.

This is to be backported to the final release.
2015-03-24 19:47:48 +05:00
Campbell Barton
8108fc77c6 Fix out-of-bounds read BKE_deform_flip_side_name 2015-03-24 19:47:48 +05:00
Campbell Barton
d62e3e7001 Use fabsf for floats 2015-03-24 19:47:48 +05:00
Campbell Barton
16cc6ae80e Fix for crash adding mask modifier 2015-03-24 19:47:48 +05:00
Sergey Sharybin
37172e7e49 Fix bad memory access freeing viewport which uses movie clip 2015-03-24 19:47:47 +05:00
Campbell Barton
f71f559d03 Fix crash using "Copy to selected" on ID-props 2015-03-24 19:47:47 +05:00
Campbell Barton
163d99b7a9 Fix crash using removed data as function arguments 2015-03-24 19:47:47 +05:00
Campbell Barton
06adae7b43 Fix RNA active spline assignment 2015-03-24 19:47:47 +05:00
Bastien Montagne
9f69f7f700 Fix T44027: Normal Edit Mod : Radial from object normals affected by target object scale.
The way we were getting diff to apply to vcos from target object was just bad!

Also, fixed another related issue - negated scale would be clamped to nearly zero,
now only consider absolute version of size (we do not care about its sign here anyway).

This should be backported to 2.74 (with previous commit too).
2015-03-24 19:47:47 +05:00
Bastien Montagne
4f08b3cf83 BLI math vec: add 'abs' functions to get absolute values of a vector.
Unseful when handling e.g. scale, sometimes.
2015-03-24 19:47:47 +05:00
Sergey Sharybin
c6f1be0728 Fix T44020: Crash exporting fluid sim to fbx
The issue is coming from wrong fluid modifier copy callback,
which might have left some pointers shared across original
and target fluid modifiers.
2015-03-24 19:47:47 +05:00
Sergey Sharybin
584aed0721 Fix T44021: Crash switching Rendering Engines while viewport rendering + animating
Make sure preview render job is cancelled before freeing the render engine
associated to the viewport.
2015-03-24 19:47:47 +05:00
Antony Riakiotakis
337ce035b6 Make sure disabling attribute arrays also resets the counter so we don't
do it twice.
2015-03-24 19:47:46 +05:00
Jörg Müller
1ad57f287b Fix T43853: Audio animation bug (fcurves)
For a detailed bug explanation see the comments in the report.
2015-03-24 19:47:46 +05:00
Sergey Sharybin
1f547c14ec Point submodules to 2.74-rc2 2015-03-17 20:11:30 +05:00
Bastien Montagne
a1bb0d698b Fix an incorrect assert in lnor code.
There is one case where we do can have only two edges for two loops...
2015-03-17 18:19:46 +05:00
Gaia Clary
48d4b80246 Refer to Task 43975: Deleting a Shapekey can break the relative pointers
This patch would reassign the relative of all keyblocks to the relative
of the deleted keyblock. And it fixes the misalignement of the index values
after the keyblock is deleted.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D1176
2015-03-17 18:18:19 +05:00
Sergey Sharybin
8d31c7f452 Use "Release Candidate 2" string on the splash 2015-03-17 16:49:59 +05:00
Campbell Barton
ee87056fd9 Correct assert 2015-03-17 15:49:40 +05:00
Campbell Barton
9c154d5b58 Fix T43997: Paste fcurve keeps handle selection 2015-03-17 15:49:36 +05:00
Campbell Barton
a40d7b93ac PyAPI: bpy.ops enum error was cut short 2015-03-17 15:49:33 +05:00
Campbell Barton
8c3853a9b5 Update themes for 2.74 2015-03-17 15:49:29 +05:00
Julian Eisel
b64d3bde8b Fix T44003: Flatty Light: GPencil vertices and timeline keyframes black
I noticed our version code and subversion got out of sync in the past, maybe
that's what the issue was here.
Deleting the entries from the .xml makes it fall back to the default values.
2015-03-17 15:49:25 +05:00
Jorge Bernal
931f876ddd BGE: Fix for T43994 Steering actuator bug with Navmesh
Now the facing option is taken into account as before

This is a regression and to be ported to the final release branch.
2015-03-17 15:49:21 +05:00
Antony Riakiotakis
2d1879b714 Fix T43959 jittering in 2D texture painting.
This is still not perfect,
but should work smoother now. Previously there was visible wobbling
while painting.

This can be included in final release.
2015-03-17 15:49:17 +05:00
Sergey Sharybin
86b862ecc9 Revert "Fix T43865: Cycles: Watertight rendering produces artifacts on a huge plane"
The fix was really flacky, in terms during speed benchmarks i had
abort() in the fallback block to be sure it never runs in production
scenes, but that affected on the optimization as well. Without this
abort there's quite bad slowdown of 5-7% on the renders even tho
the Pleucker fallback was never run.

This is all weird and for now reverting the change which affects on
all the production scenes and will look into alternative fixes for
the original issue with precision loss on huge planes.

This reverts commit 9489205c5c.
2015-03-17 15:49:08 +05:00
Sergey Sharybin
651689fc62 Fix T43974: Alpha output of movie clip node crashes blender
Issue was caused by a bug in the memory optimization commit,
should be backported to the final release branch.
2015-03-17 15:49:04 +05:00
Sergey Sharybin
f0e37fceb2 Partial fix for T43967: Background is wrong in 2.74
Was missing do-versions code after rotation order change in Cycles.

This is a regression and to be ported to the final release branch.
2015-03-17 15:48:56 +05:00
Sergey Sharybin
4aa51096a7 Point submodules to RC1 tags 2015-03-11 20:49:46 +05:00