3 years agoBLender 2.76: We go 'b' series now v2.76b
Sergey Sharybin [Tue, 3 Nov 2015 10:56:35 +0000 (15:56 +0500)]
BLender 2.76: We go 'b' series now

3 years agoDon't expand toggle brush on linking
Sergey Sharybin [Tue, 3 Nov 2015 10:29:49 +0000 (15:29 +0500)]
Don't expand toggle brush on linking

Toggle brush is more a runtime only feature, not really supposed to be used
as real ID linking as it's done for modifiers i.e.

3 years agoFix T46626: Crash generating previews
Campbell Barton [Mon, 2 Nov 2015 10:37:15 +0000 (21:37 +1100)]
Fix T46626: Crash generating previews

Brush.toggle_brush was allowed to be an invalid pointer,
it worked for the one operator that used it - but in general bad practice,
requiring a lookup on every access.

Ensure the pointer is kept valid now.

3 years agoFix/workaround T46622: crash w/ metas & particles
Campbell Barton [Mon, 2 Nov 2015 11:59:46 +0000 (22:59 +1100)]
Fix/workaround T46622: crash w/ metas & particles

Metas are scanning all scenes duplis,
which can go into particle systems without an initialized derived-mesh.

For now just do NULL check, its not correct but real fix is not fitting well with current design.

3 years agoFix T46651: Select linked crash w/ wire seam edges
Campbell Barton [Sat, 31 Oct 2015 06:10:22 +0000 (17:10 +1100)]
Fix T46651: Select linked crash w/ wire seam edges

3 years agoRevert "Fix T46494: Can't de-select a face w/ mixed modes"
Campbell Barton [Sat, 31 Oct 2015 08:26:11 +0000 (19:26 +1100)]
Revert "Fix T46494: Can't de-select a face w/ mixed modes"

This reverts commit 381501ab45d63abb1502656c35e01adce36e7e34.

3 years agoFix T46507: Cycles baking re-orders face v2.76a
Campbell Barton [Fri, 30 Oct 2015 03:47:50 +0000 (14:47 +1100)]
Fix T46507: Cycles baking re-orders face

Regression in 2.76, order of tessellated vertices needs to follow MFace tessellation.

3 years agoBlender 2.76a: Fix CUDA compilation on 32bit platform
Sergey Sharybin [Thu, 29 Oct 2015 15:11:22 +0000 (20:11 +0500)]
Blender 2.76a: Fix CUDA compilation on 32bit platform

3 years agoBLender 2.76a: Update addons submodule
Sergey Sharybin [Thu, 29 Oct 2015 12:26:14 +0000 (17:26 +0500)]
BLender 2.76a: Update addons submodule

3 years agoSet blender version to '2.76a'
Campbell Barton [Thu, 29 Oct 2015 11:08:52 +0000 (22:08 +1100)]
Set blender version to '2.76a'

3 years agoCleanup: quiet warning
Campbell Barton [Thu, 29 Oct 2015 10:16:18 +0000 (21:16 +1100)]
Cleanup: quiet warning

Not cherry picked, just included for release build.

3 years agoTemporary "fix" for crash when saving OpenEXR Multi-View from Image Editor
Dalai Felinto [Wed, 28 Oct 2015 16:05:49 +0000 (14:05 -0200)]
Temporary "fix" for crash when saving OpenEXR Multi-View from Image Editor

3 years agoFix T46617 File Output Node seems to save only black images into OpenEXR image data
Dalai Felinto [Wed, 28 Oct 2015 15:41:01 +0000 (13:41 -0200)]
Fix T46617 File Output Node seems to save only black images into OpenEXR image data

If the node output had only one layer, it would be detected as singlelayer, and it would miss the blender exr header string

3 years agoFreestyle: Fix for 'Distance from Object' modifiers without a target object.
Tamito Kajiyama [Wed, 28 Oct 2015 14:33:16 +0000 (23:33 +0900)]
Freestyle: Fix for 'Distance from Object' modifiers without a target object.

'Distance from Object' color/alpha/thickness modifiers without a target
object were raising a run-time exception although it is not considered an
error condition.

3 years agoFix T44231: Freestyle causes crash on render.
Tamito Kajiyama [Wed, 28 Oct 2015 14:09:10 +0000 (23:09 +0900)]
Fix T44231: Freestyle causes crash on render.

The reported crash was confirmed as a segmentation fault in std::sort().
The cause of the crash was traced down to a binary comparison function
that was not satisfying the so-called strict weak ordering requirements of
the C++ standard sorting function.  Specifically, the comparison operator
has to return false when two objects are equivalent (i.e., comp(a, a) must
be false), but that requirement was not met.

Since the binary comparison operator in question could be a user-defined
Python function, here a safety measure is implemented in the C++ layer to
make sure the aforementioned requirement is always satisfied.

3 years agoFollow up to previous commit, proper fix for T46284, incorrect Texture
Antony Riakiotakis [Wed, 28 Oct 2015 10:51:50 +0000 (12:51 +0200)]
Follow up to previous commit, proper fix for T46284, incorrect Texture
shading in Texture paint mode and cycles

3 years agoRevert "Fix T46284: Texture paint, wrong shading mode"
Antony Riakiotakis [Wed, 28 Oct 2015 10:36:25 +0000 (12:36 +0200)]
Revert "Fix T46284: Texture paint, wrong shading mode"

Should fix T46616 but will reintroduce T46284.
The second, original bug needs different handling

This reverts commit 904db487a7b14c31282fe0284612159a836657cd.

3 years agoFix T46605: Compositing causes access violation when rendering from command line
Sergey Sharybin [Tue, 27 Oct 2015 16:03:22 +0000 (21:03 +0500)]
Fix T46605: Compositing causes access violation when rendering from command line

Seems was caused by the race condition in the stats printing, should be all fine now.

Nice for 'a' release.

3 years agoOpenSubdiv: Fix wrong handling of vertex parent
Sergey Sharybin [Tue, 27 Oct 2015 15:44:14 +0000 (20:44 +0500)]
OpenSubdiv: Fix wrong handling of vertex parent

Vertex parent was not registered as CPU data requirement.

Should be in the 'a' release.

3 years agoFix T46606: Trackball Rotate jumps releasing shift
Campbell Barton [Tue, 27 Oct 2015 10:46:22 +0000 (21:46 +1100)]
Fix T46606: Trackball Rotate jumps releasing shift

3 years agoFix broken comment about our WM progress report for python (its not a progress bar...
Bastien Montagne [Mon, 26 Oct 2015 13:10:25 +0000 (14:10 +0100)]
Fix broken comment about our WM progress report for python (its not a progress bar at all).

3 years agoFix T46604: Crash in ChainPredicateIterator instantiated without predicates.
Tamito Kajiyama [Mon, 26 Oct 2015 09:17:12 +0000 (18:17 +0900)]
Fix T46604: Crash in ChainPredicateIterator instantiated without predicates.

Also fixed a potential crash in the copy constructor case.

3 years agoFreestyle: minor speed-up by omitting the calculation of the smallest edge size.
Tamito Kajiyama [Sun, 9 Aug 2015 14:36:53 +0000 (23:36 +0900)]
Freestyle: minor speed-up by omitting the calculation of the smallest edge size.

BlenderFileLoader tries to find the smallest edge size but the computed value is not used.

3 years agoFix: Prevent warnings from popping up when trying to edit driver expressions from...
Joshua Leung [Mon, 26 Oct 2015 10:24:41 +0000 (23:24 +1300)]
Fix: Prevent warnings from popping up when trying to edit driver expressions from buttons

Previously, a warning was added to provide feedback to users trying to change the values
of driven properties why their edits would not have any effect on the propeerty. However,
it turned out that instead of only showing up when the user tried to increment/decrement/slide
the property's value, it was also firing everytime they were trying to edit the expression.
That however is not what we want at all!

This fix assumes that BUTTON_STATE_TEXT_EDITING is used for expression editing, and
BUTTON_STATE_NUM_EDITING (or everything else) refers to the user trying to adjust the
value normally.

3 years agoFix T46599: Copy Rotation behaves erratically when Use Y is disabled
Joshua Leung [Mon, 26 Oct 2015 02:14:02 +0000 (15:14 +1300)]
Fix T46599: Copy Rotation behaves erratically when Use Y is disabled

When the "Use Y" option in the Copy Rotation constraint is disabled, the constraint
behaves eratically when rotating all the target on all axes at the same time.
This is partially to be expected due to the way that euler rotations work
(i.e. the rotation orders stuff - you should use a rotation order based on most to
least important/significant rotations). Hence, by locking Y, you're causing accuracy
problems for Z.

What was not expected though was that changing the rotation orders on the objects
involved (for the record, it's the constraint owner that counts) did nothing.
It turns out that for objects, the rotation order settings were getting ignored!
This commit fixes this problem, and this particular case can be resolved by using

* Since all object constraints were previously working on the assumption that they
  used XYZ (default) order, it is possible that this change may have the unintended
  consequence of changing the behaviour of some rigs which relied on the buggy
  behaviour. Hopefully this will be a rare occurrence.

3 years agoFix: Missing update after scrubbing time in Graph Editor
Joshua Leung [Sat, 10 Oct 2015 05:16:13 +0000 (18:16 +1300)]
Fix: Missing update after scrubbing time in Graph Editor

Sometimes the timeline header didn't update after time-scrubbing in the graph
editor ends, leaving the "Pause" button visible until the next refresh of the
timeline (e.g. on mouse over)

3 years agoFix: X-axis values in Graph Editor should not be displayed as timecodes in "Drivers...
Joshua Leung [Sat, 10 Oct 2015 05:14:11 +0000 (18:14 +1300)]
Fix: X-axis values in Graph Editor should not be displayed as timecodes in "Drivers" mode

3 years agoFix error in bone UI
Campbell Barton [Sat, 24 Oct 2015 18:50:40 +0000 (05:50 +1100)]
Fix error in bone UI

3 years agoFix invalid exceptions w/ preview API
Campbell Barton [Sat, 24 Oct 2015 05:20:26 +0000 (16:20 +1100)]
Fix invalid exceptions w/ preview API

D1575 by @januz

3 years agoFix T46538: Mark and Clear Seam in UV Editor, assigning Hotkeys.
Bastien Montagne [Fri, 23 Oct 2015 12:34:57 +0000 (14:34 +0200)]
Fix T46538: Mark and Clear Seam in UV Editor, assigning Hotkeys.

UV Editor keymap is not bound to a given editor (spacetype)...

3 years agoFix related to T46538: do not popup choice menu of mark/clear seam UV editor op invok...
Bastien Montagne [Fri, 23 Oct 2015 12:00:28 +0000 (14:00 +0200)]
Fix related to T46538: do not popup choice menu of mark/clear seam UV editor op invoke when prop is already set!

3 years agoCorrect own error w/ snap-scale T46503
Campbell Barton [Fri, 23 Oct 2015 10:31:05 +0000 (21:31 +1100)]
Correct own error w/ snap-scale T46503

Don't use nan for comparisons.

3 years agoFix ffmpeg memory leaks
Campbell Barton [Fri, 23 Oct 2015 07:36:46 +0000 (18:36 +1100)]
Fix ffmpeg memory leaks

- audio_stream wasn't freed.
- audio/video stream + context weren't freed on failure.

3 years agoFix ffmpeg saving long paths
Campbell Barton [Fri, 23 Oct 2015 07:27:26 +0000 (18:27 +1100)]
Fix ffmpeg saving long paths

Was checking wrong length on string copy.

3 years agoFix for error w/ RenderView in ImageView list
Campbell Barton [Fri, 23 Oct 2015 06:06:42 +0000 (17:06 +1100)]
Fix for error w/ RenderView in ImageView list

3 years agoFix snap-scale w/ axis constraint
Campbell Barton [Fri, 23 Oct 2015 01:27:15 +0000 (12:27 +1100)]
Fix snap-scale w/ axis constraint

Related to T46503,
fix only worked when the snap target was axis-aligned.

3 years agoBGE: Fix T46556: check on null sound datablock pointer.
Porteries Tristan [Thu, 22 Oct 2015 18:06:29 +0000 (20:06 +0200)]
BGE: Fix T46556: check on null sound datablock pointer.

3 years agoCycles: Watertight fix for SSS intersection
Sergey Sharybin [Thu, 22 Oct 2015 17:10:40 +0000 (22:10 +0500)]
Cycles: Watertight fix for SSS intersection

Same as previous commit, just was missing in there.

3 years agoCycles: Fix for watertight intersection
Sergey Sharybin [Thu, 22 Oct 2015 17:06:25 +0000 (22:06 +0500)]
Cycles: Fix for watertight intersection

It was possible to miss some intersection caused by wrong barycentric
coordinates sign.

Cases when one of the coordinate is zero and other are negative was not
handled correct.

3 years agoFix T46521: Python: bvh.ray_cast doesn't find a plane facing in the other direction...
Sergey Sharybin [Thu, 22 Oct 2015 15:29:52 +0000 (20:29 +0500)]
Fix T46521: Python: bvh.ray_cast doesn't find a plane facing in the other direction under certain circumstances

The issue was caused by wrong sign check. It originally came from more optimized
Cycles code where because of other reasons it wasn't visible yet. But in fact it
should be solved there as well.

3 years agoFix T46569: Crash w/ mask & locked-track enabled
Campbell Barton [Thu, 22 Oct 2015 14:40:36 +0000 (01:40 +1100)]
Fix T46569: Crash w/ mask & locked-track enabled

3 years agoFix T46561: Crash in outliner delete hierarchy
Campbell Barton [Thu, 22 Oct 2015 07:42:44 +0000 (18:42 +1100)]
Fix T46561: Crash in outliner delete hierarchy

When children & parents were selected in the outliner,
it attempted to free the the object twice.

3 years agoFix T46565: Movie render crash w/o permissions
Campbell Barton [Thu, 22 Oct 2015 05:48:38 +0000 (16:48 +1100)]
Fix T46565: Movie render crash w/o permissions

Rendering to a path that didn't have write permissions would crash.

Also fix error where `G.is_rendering` was left set when rendering failed.

3 years agoFix T46524: Use Alpha (Straight/Premultiply) option missing in 2.76, part II.
Bastien Montagne [Wed, 21 Oct 2015 18:06:49 +0000 (20:06 +0200)]
Fix T46524: Use Alpha (Straight/Premultiply) option missing in 2.76, part II.

Different issue actually, here RAWTGA was simply forgotten in the alpha-capable formats...

3 years agoBGE: Fix physics meshes conversion with modifiers.
Porteries Tristan [Wed, 21 Oct 2015 10:15:35 +0000 (12:15 +0200)]
BGE: Fix physics meshes conversion with modifiers.

Previously meshes with modifiers were considerate as empty (no polys).

3 years agoFix T46544: Can't unpack generated image
Campbell Barton [Tue, 20 Oct 2015 16:07:40 +0000 (03:07 +1100)]
Fix T46544: Can't unpack generated image

3 years agoBGE: Fix T46381 : last action frame not updated.
Porteries Tristan [Mon, 19 Oct 2015 14:03:40 +0000 (16:03 +0200)]
BGE: Fix T46381 : last action frame not updated.

It fix T46381. Normally BL_Action::Update (manage action time, end, loop…) should be called the same number of times as BL_Action::UpdateIPO (update action position, scale ect… in the game object).
But the bug report shows that UpdateIPO is called one less time than Update. To fix it i revert the commit 362b25b38287cb75e4d22b30bdbc7f47e8eb3fdf and implement a mutex in BL_Action::Update.
Example file : {F245823}

Reviewers: lordloki, kupoman, campbellbarton, youle, moguri, sybren

Reviewed By: youle, moguri, sybren

Maniphest Tasks: T39928, T46381

Differential Revision:

3 years agoFix T46529: Unwrap UV w/ use-subsurf fails
Campbell Barton [Mon, 19 Oct 2015 11:15:03 +0000 (22:15 +1100)]
Fix T46529: Unwrap UV w/ use-subsurf fails

Regression since moving to looptri.

3 years agoFix T46531: Cannot use % in filenames.
Bastien Montagne [Sun, 18 Oct 2015 16:51:08 +0000 (18:51 +0200)]
Fix T46531: Cannot use % in filenames.

Same case as with space char really, one should not use those special chars in
filenames, but they are globally supported by all current FS/OS, so no real reason
to enforce that behvior on users here.

To be backported to 'a' release.

3 years agoFix T46520: mathutils.bvhtree crashes with distance input.
Bastien Montagne [Sun, 18 Oct 2015 10:09:42 +0000 (12:09 +0200)]
Fix T46520: mathutils.bvhtree crashes with distance input.

Should be backported to 'a' release.

3 years agoFix T46524: Use Alpha (Straight/Premultiply) option missing in 2.76 for DDS files.
Bastien Montagne [Sun, 18 Oct 2015 09:13:33 +0000 (11:13 +0200)]
Fix T46524: Use Alpha (Straight/Premultiply) option missing in 2.76 for DDS files.

All optional image format are not #define'd in submodules like DDS read/write code.
This means values of `eImbTypes` would not always be the same in all contexts, yuck!

This is a regression and should be backported to 'a' release.

3 years agoFix T46429: Movie clip is deformed by resolution multiplier when offset is added...
Bastien Montagne [Sat, 17 Oct 2015 09:32:04 +0000 (11:32 +0200)]
Fix T46429: Movie clip is deformed by resolution multiplier when offset is added in sequence editor.

3 years agoFix broken CD_NORMAL interpolation callback (would generate non-unit vectors).
Bastien Montagne [Fri, 16 Oct 2015 19:52:50 +0000 (21:52 +0200)]
Fix broken CD_NORMAL interpolation callback (would generate non-unit vectors).

Even if the weights are normalized, the weighted sum of normalized vectors
usually does **not** give a normalized vector (unless all source vectors
are aligned).

This probably was not a big issue in most cases, since we usually interpolate
similar vectors here - but still!

3 years agoFix T46508: data_transfer of normals fails in case objects are transformed.
Bastien Montagne [Fri, 16 Oct 2015 19:28:22 +0000 (21:28 +0200)]
Fix T46508: data_transfer of normals fails in case objects are transformed.

The final stage of the process (copying/interpolating new dst cddata from src cddata)
was simply broken in normal case, where we need to convert from source to destination
object space.

This patch is a bit verbose, but I cannot see how to avoid it really.

To think this code is in master since over 6 months and it only gets reported now... :/

3 years agoMesh remapping: fix loop 'best matching normals' not using transform space.
Bastien Montagne [Fri, 16 Oct 2015 17:23:46 +0000 (19:23 +0200)]
Mesh remapping: fix loop 'best matching normals' not using transform space.

Also, cleanup, reduce declarations of tmp_co/_no...

3 years agoerror in last commit
Campbell Barton [Fri, 16 Oct 2015 10:57:59 +0000 (21:57 +1100)]
error in last commit

3 years agoFix for missing id_lib_extern, assigning ID's
Campbell Barton [Fri, 16 Oct 2015 10:50:23 +0000 (21:50 +1100)]
Fix for missing id_lib_extern, assigning ID's

3 years agoFix T46502: Linked dupli-group lost on reload
Campbell Barton [Fri, 16 Oct 2015 09:55:23 +0000 (20:55 +1100)]
Fix T46502: Linked dupli-group lost on reload

3 years agoFix T46503: Snap scale fails using corner pivot
Campbell Barton [Fri, 16 Oct 2015 03:45:05 +0000 (14:45 +1100)]
Fix T46503: Snap scale fails using corner pivot

3 years agoFix crash pressing +/- in file-selector
Campbell Barton [Thu, 15 Oct 2015 17:57:52 +0000 (04:57 +1100)]
Fix crash pressing +/- in file-selector

Filenames over 128 chars would crash.
Move BLI_newname into file_ops,
this was only used in one place and isn't all that re-usable.
Also remove special behavior for 4 digits.

3 years agoFix crash w/ PlayAnim & long filenames
Campbell Barton [Thu, 15 Oct 2015 17:31:17 +0000 (04:31 +1100)]
Fix crash w/ PlayAnim & long filenames

Paths >128 chars could crash.
Replace BLI_newname with direct BLI_stringenc/dec use which makes more sense in this case.

3 years agoFix T46493: Wrong camera zoom blur with non-unit pixel aspect
Sergey Sharybin [Thu, 15 Oct 2015 14:32:18 +0000 (19:32 +0500)]
Fix T46493: Wrong camera zoom blur with non-unit pixel aspect

3 years agoFix T46494: Can't de-select a face w/ mixed modes
Campbell Barton [Thu, 15 Oct 2015 08:56:18 +0000 (19:56 +1100)]
Fix T46494: Can't de-select a face w/ mixed modes

3 years agoFix memory leaks in PlayAnim
Campbell Barton [Thu, 15 Oct 2015 06:45:53 +0000 (17:45 +1100)]
Fix memory leaks in PlayAnim

Was never freeing filenames or pictures.

3 years agoFix T46465: Lag scrubbing w/ PlayAnim
Campbell Barton [Thu, 15 Oct 2015 06:25:43 +0000 (17:25 +1100)]
Fix T46465: Lag scrubbing w/ PlayAnim

3 years agoPlayAnim: avoid list count setting frame from mouse
Campbell Barton [Thu, 15 Oct 2015 05:45:49 +0000 (16:45 +1100)]
PlayAnim: avoid list count setting frame from mouse

3 years agoFix T45900: Allow again white spaces in file names.
Bastien Montagne [Thu, 15 Oct 2015 05:44:25 +0000 (07:44 +0200)]
Fix T45900: Allow again white spaces in file names.

Should probably be added to 'a' release, should we do one...

3 years agoFix T46483: vertex/edge slide with correct UVs sometimes pinning UVs.
Brecht Van Lommel [Thu, 15 Oct 2015 01:13:02 +0000 (03:13 +0200)]
Fix T46483: vertex/edge slide with correct UVs sometimes pinning UVs.

3 years agoFix related to T46223: memory leak when loading multilayer multiview images.
Brecht Van Lommel [Sun, 11 Oct 2015 01:29:28 +0000 (03:29 +0200)]
Fix related to T46223: memory leak when loading multilayer multiview images.

Differential Revision:

3 years agoFix T46223: multiview image sequences crashing.
Brecht Van Lommel [Sat, 10 Oct 2015 23:14:02 +0000 (01:14 +0200)]
Fix T46223: multiview image sequences crashing.

Differential Revision:

3 years agoBGE: Fix animations update when scene is suspended.
Porteries Tristan [Wed, 14 Oct 2015 20:53:25 +0000 (22:53 +0200)]
BGE: Fix animations update when scene is suspended.

3 years agoFix T46487: OpenSubdiv objects are invisible in Blender Internal "Rendered" viewport...
Sergey Sharybin [Wed, 14 Oct 2015 19:17:54 +0000 (00:17 +0500)]
Fix T46487: OpenSubdiv objects are invisible in Blender Internal "Rendered" viewport mode

3 years agoFix T46453: JPEG quality not stored in file
Campbell Barton [Wed, 14 Oct 2015 09:57:58 +0000 (20:57 +1100)]
Fix T46453: JPEG quality not stored in file

This is a feature unique to jpeg that would store the quality it was saved.

- Use struct instead of bit-shifting.
- No longer store the 'flag'.

3 years agoCleanup: remove historic, blender-only jpeg io
Campbell Barton [Wed, 14 Oct 2015 09:13:57 +0000 (20:13 +1100)]
Cleanup: remove historic, blender-only jpeg io

3 years agoFix T46284: Texture paint, wrong shading mode
Campbell Barton [Wed, 14 Oct 2015 05:21:01 +0000 (16:21 +1100)]
Fix T46284: Texture paint, wrong shading mode

Project-paint now supports painting to cycles materials.

3 years agoMissed this in previous commit...
Bastien Montagne [Tue, 13 Oct 2015 11:58:43 +0000 (13:58 +0200)]
Missed this in previous commit...

3 years agoFix T46467: Clean Keyframes removes the channels.
Bastien Montagne [Tue, 13 Oct 2015 10:58:04 +0000 (12:58 +0200)]
Fix T46467: Clean Keyframes removes the channels.

3 years agoFix T46002: mathutils.geometry.intersect_line_line_2d doesn't operate on lines, but...
Bastien Montagne [Tue, 13 Oct 2015 07:59:42 +0000 (09:59 +0200)]
Fix T46002: mathutils.geometry.intersect_line_line_2d doesn't operate on lines, but on line segments.

Ugly issue really, but at least doc now matches behavior of the function. :|

3 years agoFix T46450: Seams from islands, wont show 'Sharp'
Campbell Barton [Mon, 12 Oct 2015 22:00:03 +0000 (09:00 +1100)]
Fix T46450: Seams from islands, wont show 'Sharp'

3 years agoFix T46458: BGE Crash on load
Campbell Barton [Mon, 12 Oct 2015 21:43:41 +0000 (08:43 +1100)]
Fix T46458: BGE Crash on load

regression from 96dd213e7

3 years agoFix T46447: fix build on non-x86 platforms.
Brecht Van Lommel [Mon, 12 Oct 2015 00:56:57 +0000 (02:56 +0200)]
Fix T46447: fix build on non-x86 platforms.

3 years agoFix T46446: texture nodes image node not working with image sequences.
Brecht Van Lommel [Mon, 12 Oct 2015 00:41:18 +0000 (02:41 +0200)]
Fix T46446: texture nodes image node not working with image sequences.

3 years agoFix T46434: Shear w/ local-center & editmode fails
Campbell Barton [Mon, 12 Oct 2015 01:02:22 +0000 (12:02 +1100)]
Fix T46434: Shear w/ local-center & editmode fails

3 years agoFix T46444: Crash importing DAE w/ empty armature
Campbell Barton [Mon, 12 Oct 2015 00:35:08 +0000 (11:35 +1100)]
Fix T46444: Crash importing DAE w/ empty armature

3 years agoCycles: Increase number of textures allowed for OpenCL render
Sergey Sharybin [Sun, 11 Oct 2015 13:15:02 +0000 (18:15 +0500)]
Cycles: Increase number of textures allowed for OpenCL render

Currently OpenCL devices are packing images into a single texture,
which means technically number of textures is not limited here.

Now OpenCL will use same number of textures as CPU. If we want
to bump number of textures further, this values are to be modified
in sync.

NOTE OpenCL still does not support float textures.

Original patch from a guy called bliblubli in the tracker with
some own modifications.

Reviewers: brecht, dingto, sergey

Differential Revision:

3 years agoFix T46441: texture paint soften brush at 0 strength works at full strength.
Brecht Van Lommel [Sat, 10 Oct 2015 21:18:20 +0000 (23:18 +0200)]
Fix T46441: texture paint soften brush at 0 strength works at full strength.

3 years agoFix T45152: multiview/stereo render not working with Freestyle + Cycles.
Brecht Van Lommel [Sat, 10 Oct 2015 17:18:04 +0000 (19:18 +0200)]
Fix T45152: multiview/stereo render not working with Freestyle + Cycles.

3 years agoFix T44048: freestyle lines in Cycles are in the wrong color space.
Brecht Van Lommel [Sat, 10 Oct 2015 16:44:19 +0000 (18:44 +0200)]
Fix T44048: freestyle lines in Cycles are in the wrong color space.

3 years agoFix T46437: Make progress report py helper resitent to 'zero steps' passed value...
Bastien Montagne [Sat, 10 Oct 2015 15:10:07 +0000 (17:10 +0200)]
Fix T46437: Make progress report py helper resitent to 'zero steps' passed value...

To be backported, should we need an 'a' release.

3 years agoFix T46403: motion tracking not workig with Xcode 7 on OS X. v2.76
Brecht Van Lommel [Sat, 10 Oct 2015 02:08:16 +0000 (04:08 +0200)]
Fix T46403: motion tracking not workig with Xcode 7 on OS X.

Caused by use of the uninitialized shape_ variable in Resize().

3 years agoRevert "Fix T46406: Cycles ignores default socket value associated with group socket"
Brecht Van Lommel [Sat, 10 Oct 2015 19:54:34 +0000 (21:54 +0200)]
Revert "Fix T46406: Cycles ignores default socket value associated with group socket"

Fixes T46442.

3 years agoFix/Workaround T46431: blender-softwaregl crashes
Campbell Barton [Sat, 10 Oct 2015 08:39:35 +0000 (19:39 +1100)]
Fix/Workaround T46431: blender-softwaregl crashes

Order of initialization bug only impacted mesa's software-gl.

For now effectively revert support for glx-context-flags.

3 years agoUse PyThreadState_GetDict, avoid Python internals
Campbell Barton [Fri, 9 Oct 2015 12:01:22 +0000 (23:01 +1100)]
Use PyThreadState_GetDict, avoid Python internals

Works around problems caused by exposing Py internals (Py_BUILD_CORE).

    Build error with GCC, Py3.6 & OpenMP
    Linking error on MSVC

3 years agoBlender 2.76: Point submodules to updated release branches
Sergey Sharybin [Fri, 9 Oct 2015 11:40:54 +0000 (16:40 +0500)]
Blender 2.76: Point submodules to updated release branches

3 years agoBlender 2.76: Entering release stage
Sergey Sharybin [Fri, 9 Oct 2015 11:31:46 +0000 (16:31 +0500)]
Blender 2.76: Entering release stage

3 years agoFix T46420: Segfault when instancing smoke domain.
Bastien Montagne [Fri, 9 Oct 2015 08:51:38 +0000 (10:51 +0200)]
Fix T46420: Segfault when instancing smoke domain.

Looks like instancing of smoke sim is not supported at all
(was fake-working in 3DView in 2.74, but not rendered).

But it should not crash - code was adding temp 'fromdupli' base to the delayed
drawing list...

Nice to backport this to 2.76 I think.

3 years agoCorrect own error in editmesh bvh
Campbell Barton [Fri, 9 Oct 2015 00:04:24 +0000 (11:04 +1100)]
Correct own error in editmesh bvh

Flag mix-up and uninitialized var.

3 years agoFix leak creating 'empty' looptri bvh tree
Campbell Barton [Fri, 9 Oct 2015 00:03:23 +0000 (11:03 +1100)]
Fix leak creating 'empty' looptri bvh tree

3 years agoFix T46415: empty node group in GLSL shader has incorrect socket type conversion.
Brecht Van Lommel [Thu, 8 Oct 2015 23:26:32 +0000 (01:26 +0200)]
Fix T46415: empty node group in GLSL shader has incorrect socket type conversion.

3 years agoFix T46407: Enabling OSL breaks Vector Transform node
Sergey Sharybin [Thu, 8 Oct 2015 14:04:15 +0000 (19:04 +0500)]
Fix T46407: Enabling OSL breaks Vector Transform node