5 years agoSupport metadata display in clip editor
Antony Riakiotakis [Fri, 12 Jun 2015 13:25:46 +0000 (15:25 +0200)]
Support metadata display in clip editor

5 years agoDe-duplicate stamp callback
Campbell Barton [Fri, 12 Jun 2015 12:34:20 +0000 (14:34 +0200)]
De-duplicate stamp callback

5 years agoFix for building without audiospace
Campbell Barton [Fri, 12 Jun 2015 13:29:09 +0000 (15:29 +0200)]
Fix for building without audiospace

5 years agoFix for building without ffmpeg
Campbell Barton [Fri, 12 Jun 2015 13:01:23 +0000 (23:01 +1000)]
Fix for building without ffmpeg

5 years agoFix T45048: wrong tooltips in Video Sequence Editor's "Strip" Menu (mute/unmute).
Bastien Montagne [Fri, 12 Jun 2015 12:04:07 +0000 (14:04 +0200)]
Fix T45048: wrong tooltips in Video Sequence Editor's "Strip" Menu (mute/unmute).

5 years agoMerge all changes to blenderplayer from gooseberry branch:
Antony Riakiotakis [Fri, 12 Jun 2015 09:47:37 +0000 (11:47 +0200)]
Merge all changes to blenderplayer from gooseberry branch:

* Allows sound playback for movies
* Allow play-pause with space button
* Allow displaying a position indicator with the I button

5 years agoCycles: Fix missing node distance update when only two child intersected in QBVH
Sergey Sharybin [Fri, 12 Jun 2015 08:06:20 +0000 (10:06 +0200)]
Cycles: Fix missing node distance update when only two child intersected in QBVH

5 years agoFix T45041: (2.75RC) blender crashes when I choose 'Refresh DataBlock Previews'.
Bastien Montagne [Fri, 12 Jun 2015 07:55:04 +0000 (09:55 +0200)]
Fix T45041: (2.75RC) blender crashes when I choose 'Refresh DataBlock Previews'.

Not sure where this sneaked in, but we for sure need a valid context (otherwise
we'd need to pass a Main alog too).

This is to be backported to final 2.75.

5 years agoBLI_linklist, avoid full list search for append
Campbell Barton [Fri, 12 Jun 2015 06:57:15 +0000 (16:57 +1000)]
BLI_linklist, avoid full list search for append

For areas that require append, store the last node,
Previous behavior would too easily hide poorly performing code.

Also avoid (prepend, reverse) where possible.

5 years agoUse prepend instead of append (avoids list search)
Campbell Barton [Fri, 12 Jun 2015 06:11:37 +0000 (16:11 +1000)]
Use prepend instead of append (avoids list search)

5 years agoCleanup: unused var
Campbell Barton [Fri, 12 Jun 2015 07:07:55 +0000 (17:07 +1000)]
Cleanup: unused var

5 years agoFile Browser: Two more minor fixes for arrow keys selection
Julian Eisel [Fri, 12 Jun 2015 04:25:43 +0000 (06:25 +0200)]
File Browser: Two more minor fixes for arrow keys selection

* Unset active file on opening/resetting file list
* Accidentally placed NULL check in the middle of the function - not a
big deal as it's highly unlikely that it fails (removed it but added

5 years agoFile Browser: Ensure active file is unset if no file is selected
Julian Eisel [Fri, 12 Jun 2015 02:42:31 +0000 (04:42 +0200)]
File Browser: Ensure active file is unset if no file is selected

Otherwise arrow keys navigation might start from this file instead of
the last/first file in the list.

5 years agoExpose Background AO and Transparent flag to XML API
Thomas Dinges [Wed, 10 Jun 2015 19:27:20 +0000 (21:27 +0200)]
Expose Background AO and Transparent flag to XML API

5 years agoCycles: Add debug pass which shows number of instance pushes during camera ray inters...
Sergey Sharybin [Thu, 11 Jun 2015 22:12:03 +0000 (00:12 +0200)]
Cycles: Add debug pass which shows number of instance pushes during camera ray intersection

TODO: We might want to refactor debug passes into PASS_DEBUG and some
debug_type (similar to Blender's side passes) to avoid issue of running
out of bits.

5 years agoCycles: Remove meaningless debug traversal steps increment from QBVH volume code
Sergey Sharybin [Thu, 11 Jun 2015 21:54:57 +0000 (23:54 +0200)]
Cycles: Remove meaningless debug traversal steps increment from QBVH volume code

5 years agoCycles: Enable transparent shadows for experimental AMD kernel
Sergey Sharybin [Thu, 11 Jun 2015 21:49:21 +0000 (23:49 +0200)]
Cycles: Enable transparent shadows for experimental AMD kernel

They're working just fine on AMD Tonga GPU and probably other architectures,
lets enable it under the experimental feature set and see what exact system
configuration gives issues.

5 years agoFix wrong proxy pointer hanging around after making all local
Sergey Sharybin [Thu, 11 Jun 2015 21:47:00 +0000 (23:47 +0200)]
Fix wrong proxy pointer hanging around after making all local

The issue was caused because of the following circumstances:

- Making All Local will just iterate all IDs and clear linked flags
- It will not do anything with objects which are already local (and
  since proxy rig is local nothing will be changing it).

This commit makes it so id_clear_lib_data() takes care of clearing
all related proxy pointers, avoiding situations when proxy rig will
point to a local armature.

Reviewers: campbellbarton

Reviewed By: campbellbarton

Differential Revision:

5 years agoMake scopes update multi-threaded
Sergey Sharybin [Tue, 19 May 2015 15:18:26 +0000 (20:18 +0500)]
Make scopes update multi-threaded

This commits makes scopes evaluation multithreaded by using OpenMP
for the outer loop of pixel processor. it also makes all the changes
needed for keeping performance as high as possible by keeping data
local to thread for as long as it's possible.

Reviewers: campbellbarton

Differential Revision:

5 years agoImage scopes: Make sample line saving check local
Sergey Sharybin [Tue, 19 May 2015 09:06:24 +0000 (14:06 +0500)]
Image scopes: Make sample line saving check local

Previously it was using accumulative counter of saved lines and so on in order
to detect cases when new sample is to be saved. This is not quite possible to
do with threaded scopes update.

Change it now with non-accumulative approach which saves a bit different lines
due to slightly different rounding, but this things are not strictly defined
anyway and results are close enough to each other.

5 years agoImage scopes: Make all variables local, prepare to threaded evaluate
Sergey Sharybin [Tue, 19 May 2015 08:29:40 +0000 (13:29 +0500)]
Image scopes: Make all variables local, prepare to threaded evaluate

Doing this as a separate commit so it's easier to troubleshoot in the future
if some regression happens.

5 years agoCycles: Remove Bump Node from the graph, if Height input is not connected.
Thomas Dinges [Thu, 11 Jun 2015 21:09:38 +0000 (23:09 +0200)]
Cycles: Remove Bump Node from the graph, if Height input is not connected.

This way we can avoid building the split kernel with NODE_FEATURE_BUMP enabled, in case we don't need it.

5 years agoMasking: Numpad-. now centers view to selected control points
Sergey Sharybin [Thu, 11 Jun 2015 20:46:42 +0000 (22:46 +0200)]
Masking: Numpad-. now centers view to selected control points

Currently feather points are being ignored, it could be improved in the future.

5 years agoCleanup some style in new 'keyboard select' code.
Bastien Montagne [Thu, 11 Jun 2015 18:03:55 +0000 (20:03 +0200)]
Cleanup some style in new 'keyboard select' code.

Really hate onliner checks (if/else)...

5 years agoFix T45016, mask animation data lost after layer rename
Antony Riakiotakis [Thu, 11 Jun 2015 17:34:21 +0000 (19:34 +0200)]
Fix T45016, mask animation data lost after layer rename

We need to fix up animation data.

5 years agoFix T45032 allow float rotational values for numpad rotation
Antony Riakiotakis [Thu, 11 Jun 2015 16:12:26 +0000 (18:12 +0200)]
Fix T45032 allow float rotational values for numpad rotation

5 years agoFile Browser Arrow Keys Navigation
Julian Eisel [Thu, 11 Jun 2015 15:20:29 +0000 (17:20 +0200)]
File Browser Arrow Keys Navigation

Adds support for selecting/deselecting files in File Browser using the
arrow keys. All directions (up, down, left, right) are possible.

When to Select, When to Deselect?
Standard behaviour is selecting, however if we move into a block of
already selected files (meaning 2+ files are selected) we start

Possible Selection Methods
Simple selection (arrow-key): All other files are deselected
Expand selection (Shift+arrow key): Add to/remove from existing
ill-Expand selection (Ctrl+Shift+arrow key): Add to/remove from existing
selection and fill everything in-between

From which file do we start navigating?
From each available selection method (Mouse-, Walk-, All-, Border
Select), we use the last selected file. If there's no selection at all
we use the first (down/right arrow) or last (up/left arrow) file.
(Ideally, the view would automatically be set to the new selection, but
this behaviour overlaps with an other patch I've been working on, so
prefer to do that separately)

(Also tweaks color for highlighted file for better feedback)

D1297, Review done by @campbellbarton, thx a lot :)

5 years agoFix possible NULL pointer use
Campbell Barton [Thu, 11 Jun 2015 13:56:20 +0000 (23:56 +1000)]
Fix possible NULL pointer use

5 years agoCycles: Simplify volume_phase_eval().
Thomas Dinges [Thu, 11 Jun 2015 13:18:33 +0000 (15:18 +0200)]
Cycles: Simplify volume_phase_eval().

This simplification is safe, as the call to volume_phase_eval() is guarded behind a CLOSURE_IS_PHASE check, which is equal to
CLOSURE_VOLUME_HENYEY_GREENSTEIN_ID. I don't think we will add more phase functions anytime soon, if at all.

5 years agoRelease cycle: Blender 2.76 BCon 1, alpha
Thomas Dinges [Thu, 11 Jun 2015 13:11:07 +0000 (15:11 +0200)]
Release cycle: Blender 2.76 BCon 1, alpha

5 years agoExpose debug type into the interface
Sergey Sharybin [Thu, 11 Jun 2015 09:27:39 +0000 (11:27 +0200)]
Expose debug type into the interface

This way it is now possible to select which exact debug pass is to be used
by the render engine. Accessible from the Passes panel.

Currently it could only be one debug pass, in the future we can make menus
and image users smarter and support multiple passes of the same type.

5 years agoCycles: Add debug pass showing average number of ray bounces per pixel
Sergey Sharybin [Thu, 11 Jun 2015 08:42:38 +0000 (10:42 +0200)]
Cycles: Add debug pass showing average number of ray bounces per pixel

Quite straightforward implementation, but still needs some work for the split
kernel. Includes both regular and split kernel implementation for that.

The pass is not exposed to the interface yet because it's currently not really
easy to have same pass listed in the menu multiple times.

5 years agoUse more proper flag for psys reconstruction after memory optimization
Sergey Sharybin [Tue, 9 Jun 2015 17:04:10 +0000 (19:04 +0200)]
Use more proper flag for psys reconstruction after memory optimization

5 years agoFix for unwanted particle re-distribution happening due to memory optimization
Sergey Sharybin [Tue, 9 Jun 2015 16:54:43 +0000 (18:54 +0200)]
Fix for unwanted particle re-distribution happening due to memory optimization

The issue was caused by memory optimization marking particle system to recalc,
and because of the way how particle flags works it was possible that it'll
cause particle's re-distribution. Now this memory optimization will act the
same as loading the file.

This commit appears to be safe according to our render farm and is safe to
be included into final release.

5 years agoCompositor: Use atomics to update finished tiles progress
Sergey Sharybin [Thu, 11 Jun 2015 08:23:52 +0000 (10:23 +0200)]
Compositor: Use atomics to update finished tiles progress

Integer is not safe for incremental by multiple threads and if one is unlucky
enough that could cause progress re[reports to go totally nuts.

5 years agoFix T44871: Blender hangs when using masking, dilate-erode and soften node
Sergey Sharybin [Wed, 10 Jun 2015 19:32:12 +0000 (21:32 +0200)]
Fix T44871: Blender hangs when using masking, dilate-erode and soften node

The issue was caused by wrong order of locks acquisition in the compositor image node.

5 years agoBMesh: flatten faces operator
Campbell Barton [Thu, 11 Jun 2015 11:46:51 +0000 (21:46 +1000)]
BMesh: flatten faces operator

5 years agoBMesh: add BMO_ITER_INDEX macro
Campbell Barton [Thu, 11 Jun 2015 11:34:59 +0000 (21:34 +1000)]
BMesh: add BMO_ITER_INDEX macro

5 years agoReplace linked-list insert-sort with merge-sort
Campbell Barton [Thu, 11 Jun 2015 05:13:06 +0000 (15:13 +1000)]
Replace linked-list insert-sort with merge-sort

Original code from eglib, modified for reuse with multiple linked-list implementations.

Adds sort functions: BLI_linklist_sort, BLI_linklist_sort_r

5 years agoBLI_listbase: match arg order with BLI_qsort_r
Campbell Barton [Thu, 11 Jun 2015 05:07:14 +0000 (15:07 +1000)]
BLI_listbase: match arg order with BLI_qsort_r

5 years agoAdd argument --python-expr to pass Python directly
Campbell Barton [Thu, 11 Jun 2015 06:57:31 +0000 (16:57 +1000)]
Add argument --python-expr to pass Python directly

This works like Python's -c argument, handy to be able to avoid writing small scripts to disk.

5 years agoError message fix - In the manual (thus for the user) we are referring to this as...
Dalai Felinto [Wed, 10 Jun 2015 19:23:19 +0000 (16:23 -0300)]
Error message fix - In the manual (thus for the user) we are referring to this as "Multi-View", not "Multiview"

5 years agoSupport alternate python command
Campbell Barton [Wed, 10 Jun 2015 17:57:21 +0000 (03:57 +1000)]
Support alternate python command

5 years agoPicky edits to previous commit.
Bastien Montagne [Wed, 10 Jun 2015 15:29:46 +0000 (17:29 +0200)]
Picky edits to previous commit.

5 years agoFix T45017: Crash when running 'track markers' operator with no clip loaded.
Bastien Montagne [Wed, 10 Jun 2015 15:22:49 +0000 (17:22 +0200)]
Fix T45017: Crash when running 'track markers' operator with no clip loaded.

CLIP_OT_track_markers was missing a poll callback.

5 years agoCMake: Fix typo in OIIO module
Sergey Sharybin [Wed, 10 Jun 2015 14:06:49 +0000 (16:06 +0200)]
CMake: Fix typo in OIIO module

5 years agoFix T45009: Bad 'tri area computation' code in knife tool.
Bastien Montagne [Wed, 10 Jun 2015 14:35:52 +0000 (16:35 +0200)]
Fix T45009: Bad 'tri area computation' code in knife tool.

Was causing wrong selection of 'outside' face.

5 years ago2.75 splash
Campbell Barton [Wed, 10 Jun 2015 13:55:02 +0000 (23:55 +1000)]
2.75 splash

by Gooseberry team

5 years agoFix/Workaround T44662: Freestyle gives no visual output when the Save Buffers option...
Sergey Sharybin [Wed, 10 Jun 2015 11:35:11 +0000 (13:35 +0200)]
Fix/Workaround T44662: Freestyle gives no visual output when the Save Buffers option is enabled

For now we solve this for non-multiview renders by merging exr file back into
full render result prior to rendering freestyle strokes. Multiview case is
still to be supported tho.

5 years agoFix T44968: Python executable crashes due to missing .DLL
Sergey Sharybin [Wed, 10 Jun 2015 08:39:57 +0000 (13:39 +0500)]
Fix T44968: Python executable crashes due to missing .DLL

For now we work this around by copying python DLL to the
bin folder. Ideally the DLL should be shared between blender
and python, but that's a bit tricky to do on windows.

5 years agoFix T45013 negative curve falloff not working.
Antony Riakiotakis [Wed, 10 Jun 2015 11:32:11 +0000 (13:32 +0200)]
Fix T45013 negative curve falloff not working.

Was doing clamping as fix for T42984. Seems we can ommit clamping for
sculpting if we make sure overlap is not zero with negative values.

Control for clamping is moved to the "Use Clipping" function of curves
(which is on by default), so both bugs remain squashed and advanced
users can now properly utilize curves in sculpting, though not all
brushes work well with negative curves.

5 years agoGTest: add test for listbase sorting
Campbell Barton [Wed, 10 Jun 2015 10:23:34 +0000 (20:23 +1000)]
GTest: add test for listbase sorting

Check for correct sort and stable order for matching values.

5 years agoWM: toggling expanded could raise exception
Campbell Barton [Wed, 10 Jun 2015 09:33:38 +0000 (19:33 +1000)]
WM: toggling expanded could raise exception

Missing module case wasn't checked for.

5 years agoUI: option to pass "icon_value" to menus
Campbell Barton [Wed, 10 Jun 2015 07:35:46 +0000 (17:35 +1000)]
UI: option to pass "icon_value" to menus

D1336 by @lichtwerk

Also remove verbose description, UI docs can explain use-case in more detail.

5 years agoCorrect typos
Campbell Barton [Wed, 10 Jun 2015 07:28:43 +0000 (17:28 +1000)]
Correct typos

D1337 by @lichtwerk

5 years agoTooltip cleanup: show_metadata should be same between image editor/
Antony Riakiotakis [Tue, 9 Jun 2015 16:25:25 +0000 (18:25 +0200)]
Tooltip cleanup: show_metadata should be same between image editor/

5 years agoDisable key accelerators for splash screen
Campbell Barton [Tue, 9 Jun 2015 13:32:02 +0000 (23:32 +1000)]
Disable key accelerators for splash screen

5 years agoFix T45002: sculpt show brush toggle no longer working.
Bastien Montagne [Tue, 9 Jun 2015 13:13:52 +0000 (15:13 +0200)]
Fix T45002: sculpt show brush toggle no longer working.

5 years agoFix T45003: some UI/i18n issues.
Bastien Montagne [Tue, 9 Jun 2015 12:57:29 +0000 (14:57 +0200)]
Fix T45003: some UI/i18n issues.

* Do not translate renderlayers' names, those are data, not UI (defined by user).
* Translate passes' names, even in button itself (menu items were already translated).
* Translate 'ID type' in ID eyedropper helper message.

Also, added i18n context to IDType private struct, and `BKE_idcode_to_translation_context()`
helper, much more generic and easy to maintain than the private util in interface_template.c.

5 years agoFix T37746: Presets in splash failed to redraw
Campbell Barton [Tue, 9 Jun 2015 11:54:47 +0000 (21:54 +1000)]
Fix T37746: Presets in splash failed to redraw

5 years agoFix wrong name displayed for the debug passes
Sergey Sharybin [Tue, 9 Jun 2015 08:53:32 +0000 (10:53 +0200)]
Fix wrong name displayed for the debug passes

5 years agoFix T44930: File-select in redo panel, disables UI
Campbell Barton [Tue, 9 Jun 2015 07:17:22 +0000 (17:17 +1000)]
Fix T44930: File-select in redo panel, disables UI

5 years agoMultiview: fix Time Sequential crash when screen is fullscreen T44688
Dalai Felinto [Mon, 8 Jun 2015 21:40:48 +0000 (18:40 -0300)]
Multiview: fix Time Sequential crash when screen is fullscreen T44688

ED_screen_duplicate() was never written to support non-fullscreen modes.
This is prior to the hidden ui fullscreen commit, and it's quite ancient
in Blender's code (since Jan/08 - 1363134d)

That's why duplicate window, and new screen operators are disabled when
screen is full.

5 years agoWM: refactor window code for stereo3d
Campbell Barton [Mon, 8 Jun 2015 15:25:34 +0000 (01:25 +1000)]
WM: refactor window code for stereo3d

Window copy code made it hard to test fixes.

5 years agoRemove redundant NULL check
Campbell Barton [Mon, 8 Jun 2015 14:20:34 +0000 (00:20 +1000)]
Remove redundant NULL check

5 years agoFix yet another fullscreen glitch
Julian Eisel [Mon, 8 Jun 2015 15:20:21 +0000 (17:20 +0200)]
Fix yet another fullscreen glitch

Steps to reproduce were: Toggle fullscreen->F12->F3->ESC 2x->3D View
changed to Image Editor and didn't change back.

Actually it doesn't work 100% as wanted since it exits the fullscreen
when pressing ESC to exit Image Editor but it's hard to support all
cases with such a weird spaghetti code.

5 years agoFix T44976: 3D View turns into an Image Editor after saving render
Julian Eisel [Mon, 8 Jun 2015 13:59:32 +0000 (15:59 +0200)]
Fix T44976: 3D View turns into an Image Editor after saving render

Was a case of two stacked temporary fullscreens, so a quite extreme

5 years agoFix T44964: Bisect tool /w nonuniform scale
Campbell Barton [Mon, 8 Jun 2015 12:29:52 +0000 (22:29 +1000)]
Fix T44964: Bisect tool /w nonuniform scale

5 years agoFix crash introduced by recent node tree localization
Sergey Sharybin [Mon, 8 Jun 2015 12:10:43 +0000 (14:10 +0200)]
Fix crash introduced by recent node tree localization

It should not add temporary datablocks to the bmain.

5 years agoFix T44979: Crash when rendering with more threads than the system ones
Sergey Sharybin [Mon, 8 Jun 2015 11:46:33 +0000 (13:46 +0200)]
Fix T44979: Crash when rendering with more threads than the system ones

Revert "Nodes: Remove hardcoded BLENDER_MAX_THREADS number of threads"

This reverts commit fdc653e8ce77a188138dc707207139c3d1e6b166.

The threads override is not affected by the scene, and hence the limit of the
threads was not giving correct result. Need to re-consider some things here.

5 years agoUse context manager for reading addon headers
Campbell Barton [Mon, 8 Jun 2015 11:21:54 +0000 (21:21 +1000)]
Use context manager for reading addon headers

5 years agoFix: a broken symlink to an addon resulted in a blank addon tab
Sybren A. Stüvel [Mon, 8 Jun 2015 10:08:43 +0000 (12:08 +0200)]
Fix: a broken symlink to an addon resulted in a blank addon tab

The addons tab in the User Settings window would be empty, due to
a FileNotFound error. This error can be caused by a broken symlink,
which is now treated the same was as a file that misses its bl_info

5 years agoRNA: Object.shape_key_remove method
Campbell Barton [Mon, 8 Jun 2015 09:49:01 +0000 (19:49 +1000)]
RNA: Object.shape_key_remove method

Python had no ability to remove shape keys
Original D1169 from @lichtwerk, with edits

5 years agoFix T44989: Crash on linking external OSL material
Sergey Sharybin [Sun, 7 Jun 2015 19:38:46 +0000 (21:38 +0200)]
Fix T44989: Crash on linking external OSL material

Issue was caused by passing NULL bmain to the path remap function when
localizing the node tree.

Paths are to be remapped, otherwise mapping of paths to OSL scripts
might happen in a wrong way.

5 years agoCycles: Fix crash doing render preview of external OSL script
Sergey Sharybin [Sun, 7 Jun 2015 19:33:48 +0000 (21:33 +0200)]
Cycles: Fix crash doing render preview of external OSL script

5 years agoCycles: Move requested feature conversion to an own function
Sergey Sharybin [Sat, 6 Jun 2015 13:33:37 +0000 (15:33 +0200)]
Cycles: Move requested feature conversion to an own function

This way it could be used for the shader/baking kernels easily n the future.
making those kernels more optimal.

5 years agoCycles: Remove round-up trickery for max closure in split OpenCL kernel
Sergey Sharybin [Sat, 6 Jun 2015 11:14:31 +0000 (13:14 +0200)]
Cycles: Remove round-up trickery for max closure in split OpenCL kernel

Round-up was only enabled for viewport render, which was for a long time hardcoded to
use 64 closures. This was done in order to avoid unnecessary kernel re-compilations
when tweaking the shader tree.

We could enable selective closure compilation in the viewport later if it'll give
measurable speed improvements, but even then round-up is to happen outside of the
device level,

This commit also removes early output which happened in cases when max closure did
not change. It was wrong because other requested kernel features might have been

5 years agoCycles: Remove requirement of using experimental kernel for hair and blur on AMD
Sergey Sharybin [Sun, 7 Jun 2015 16:22:48 +0000 (18:22 +0200)]
Cycles: Remove requirement of using experimental kernel for hair and blur on AMD

Those features are not selectively compiled, so there's no real benefit of hiding
them under the experimental feature set.

5 years agoCycles: Make hair, object and motion blur selective compiled into OpenCL
Sergey Sharybin [Fri, 5 Jun 2015 17:50:22 +0000 (19:50 +0200)]
Cycles: Make hair, object and motion blur selective compiled into OpenCL

This features are now based on the scene settings, so scenes without those features
used are rendered even faster.

This gives about 30% speedup on the AMD A10 APU here, but at the same time it does
not mean such an improvement will happen on all the hardware. That being said, the
Tonga device here seems to have no measurable difference.

In any case it seems handy to have for the future, when we'll want to support SSS
in the kernel or to port selective compilation/split kernel to CUDA devices.

5 years agoFix "View All" operation in image space not available with locked interface
Sergey Sharybin [Sun, 7 Jun 2015 15:13:28 +0000 (17:13 +0200)]
Fix "View All" operation in image space not available with locked interface

5 years agoFix T44995: Crash loading packed image
Campbell Barton [Mon, 8 Jun 2015 08:21:27 +0000 (18:21 +1000)]
Fix T44995: Crash loading packed image

5 years agoAlternative fix copying windows from popup dialogs
Campbell Barton [Mon, 8 Jun 2015 05:57:42 +0000 (15:57 +1000)]
Alternative fix copying windows from popup dialogs

It could still crash if the window was freed and another was activated. see T44688.

5 years agoFix T44991: Apply transform skips poly-radius
Campbell Barton [Mon, 8 Jun 2015 02:58:50 +0000 (12:58 +1000)]
Fix T44991: Apply transform skips poly-radius

5 years agorename wiki -> manual
Campbell Barton [Mon, 8 Jun 2015 01:33:03 +0000 (11:33 +1000)]
rename wiki -> manual

5 years agoFix T44984: wrong texture clamping when applying saturation > 1.0
Bastien Montagne [Sun, 7 Jun 2015 14:53:56 +0000 (16:53 +0200)]
Fix T44984: wrong texture clamping when applying saturation > 1.0

Applying saturation > 1.0 in HSV space easily leads to negative values in RGB space,
so we have to clamp again...

5 years agoAllow compilation of cycles network with WITH_CYCLES_LOGGING is ON
Martijn Berger [Sun, 7 Jun 2015 13:24:15 +0000 (15:24 +0200)]
Allow compilation of cycles network with WITH_CYCLES_LOGGING is ON

5 years agoDon't show smoke domain when render-only enabled
Campbell Barton [Sun, 7 Jun 2015 11:52:11 +0000 (21:52 +1000)]
Don't show smoke domain when render-only enabled

D1339 from @scorpion81

5 years agoMakeDupliFace: select new objects
Campbell Barton [Sun, 7 Jun 2015 07:44:25 +0000 (17:44 +1000)]
MakeDupliFace: select new objects

5 years agoCleanup: use staticmethods
Campbell Barton [Sun, 7 Jun 2015 07:40:39 +0000 (17:40 +1000)]
Cleanup: use staticmethods

5 years agoCleanup: pep8
Campbell Barton [Sun, 7 Jun 2015 03:54:13 +0000 (13:54 +1000)]
Cleanup: pep8

5 years agoRevert "BGE : KX_VertexProxy support for more than 2 UV channel."
Mitchell Stokes [Sat, 6 Jun 2015 20:11:22 +0000 (13:11 -0700)]
Revert "BGE : KX_VertexProxy support for more than 2 UV channel."

This reverts commit fb0dd596e9a58f095730359a11759c40ea46be44.

This commit reintroduced a deprecated API that we'd rather not see in a
release. A better solution is being worked on.

5 years agoView3D: avoid jumping placing cursor /w lock on
Campbell Barton [Sat, 6 Jun 2015 16:45:26 +0000 (02:45 +1000)]
View3D: avoid jumping placing cursor /w lock on

The view would jump each time, now compensate by adjusting the cursor panning.
Less jarring and helps avoid problems when the cursor gets outside the view, see: T40353

5 years agoUse threshold for selecting side-of-axis
Campbell Barton [Sat, 6 Jun 2015 16:09:41 +0000 (02:09 +1000)]
Use threshold for selecting side-of-axis

5 years agoCleanup: Typos
Julian Eisel [Sat, 6 Jun 2015 13:32:59 +0000 (15:32 +0200)]
Cleanup: Typos

5 years agoCleanup
Campbell Barton [Sat, 6 Jun 2015 11:02:16 +0000 (21:02 +1000)]

5 years agoFix wrong usage of THB_NORMAL size when generating .blend file thumbnail at save...
Bastien Montagne [Fri, 5 Jun 2015 17:42:00 +0000 (19:42 +0200)]
Fix wrong usage of THB_NORMAL size when generating .blend file thumbnail at save time.

We do not use that size of preview anymore, only THB_LARGE...

5 years agoFix T44961, bevel spikes out when certain angles near 180.
Howard Trickey [Fri, 5 Jun 2015 16:56:49 +0000 (12:56 -0400)]
Fix T44961, bevel spikes out when certain angles near 180.

Made the test for whether one can "see" an adjacent edge less
knife-close to 180. This means it will chose to slide along
such an edge less often, and avoid some spikes.

5 years agoCleanup:
Antony Riakiotakis [Fri, 5 Jun 2015 14:13:15 +0000 (16:13 +0200)]

Get rid of static functions that pass the exact same arguments in the
same order to other function.

5 years agoCycles: Initial support for OpenCL capabilities reports
Sergey Sharybin [Fri, 5 Jun 2015 12:13:59 +0000 (14:13 +0200)]
Cycles: Initial support for OpenCL capabilities reports

For now it's just generic information, still need to expose memory, workgorup
sizes and so on.

5 years agoFix T44960: Crash with 'Shape Cut' in edit hair mode.
Bastien Montagne [Fri, 5 Jun 2015 10:56:56 +0000 (12:56 +0200)]
Fix T44960: Crash with 'Shape Cut' in edit hair mode.

This is only supported for mesh objects so far.
Also, abort in case there are no faces in dm (instead of crashing on NULL BVH tree...).