blender.git
4 years agoaddon_utils default mismatch /w enable/disable
Campbell Barton [Sat, 13 Jun 2015 19:12:45 +0000 (05:12 +1000)]
addon_utils default mismatch /w enable/disable

default_set argument is now False for both.

4 years agoFix for building without Python
Campbell Barton [Sat, 13 Jun 2015 18:52:52 +0000 (04:52 +1000)]
Fix for building without Python

4 years agoFix (d4e5df) blenderplayer compiling.
Porteries Tristan [Sat, 13 Jun 2015 18:20:51 +0000 (20:20 +0200)]
Fix (d4e5df) blenderplayer compiling.

dfelinto is the second time that you forgot to modify bad_level_call_stubs/stubs.c. Please compile with the blenderplayer to see the error.

4 years agoFix T45062: Make it clear in tooltip that 'double sided' mesh option only affects
Bastien Montagne [Sat, 13 Jun 2015 17:45:45 +0000 (19:45 +0200)]
Fix T45062: Make it clear in tooltip that 'double sided' mesh option only affects
OpenGL (viewport), and not render engines.

4 years agoMulti-View: Show multiview image properties only in the places where
Dalai Felinto [Sat, 13 Jun 2015 17:04:39 +0000 (14:04 -0300)]
Multi-View: Show multiview image properties only in the places where
they are supported

aka, remove multiview properties from the texture panel, the textures
node (image), and any other parts.

The multiview options are now to be explicitly set in the image template
in order to have them available in the respective panel

4 years agoMulti-View: Fix - stereo 3d background image in viewport not working
Dalai Felinto [Sat, 13 Jun 2015 16:26:15 +0000 (13:26 -0300)]
Multi-View: Fix - stereo 3d background image in viewport not working

The functionality was there, but the UI was missing, since I introduced
the use_mutliview option in the Image datablocks.

Note: when opening the image via the background image UI it has its
views data mangled. I'll look at that. Meanwhile the fix is to toggle
Use Multi-View manually in the UI.

4 years agoCycles: Avoid compilation warnings when building without passes support
Sergey Sharybin [Sat, 13 Jun 2015 17:07:48 +0000 (19:07 +0200)]
Cycles: Avoid compilation warnings when building without passes support

4 years agoCycles: Solve possible buffer overrun when using too much closures
Sergey Sharybin [Sat, 13 Jun 2015 16:43:14 +0000 (18:43 +0200)]
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.

4 years agoCycles: Add assert check to shader closure merge function
Sergey Sharybin [Sat, 13 Jun 2015 16:17:16 +0000 (18:17 +0200)]
Cycles: Add assert check to shader closure merge function

4 years agoCycles: Fix compilation error with motion blur disabled on CPU
Sergey Sharybin [Sat, 13 Jun 2015 16:16:32 +0000 (18:16 +0200)]
Cycles: Fix compilation error with motion blur disabled on CPU

4 years agoCycles: Silent paranoid uninitialized GCC warnings in release kernels
Sergey Sharybin [Sat, 13 Jun 2015 14:17:55 +0000 (16:17 +0200)]
Cycles: Silent paranoid uninitialized GCC warnings in release kernels

4 years agoMulti-View: Some Stereo 3D modes require a special drawing all the time
Dalai Felinto [Sat, 13 Jun 2015 14:23:01 +0000 (11:23 -0300)]
Multi-View: Some Stereo 3D modes require a special drawing all the time

some 3d methods change the window arrangment, thus they shouldn't
toggle on/off just because there is no 3d elements being drawn

The optimized solution would be to draw only the left eye in those
cases, but there is some issue going on with that, so this commit will
do for now.

4 years agoFix: Don't show "Clear Keyframes" option in RMB menu for NLA Strip properties
Joshua Leung [Sat, 13 Jun 2015 13:21:02 +0000 (01:21 +1200)]
Fix: Don't show "Clear Keyframes" option in RMB menu for NLA Strip properties

Since these FCurves for these properties cannot be deleted, this operator is useless
in this case.

4 years agoFix: "Delete Keyframes" RMB-menu option didn't work on NLA Strip properties
Joshua Leung [Sat, 13 Jun 2015 13:14:03 +0000 (01:14 +1200)]
Fix: "Delete Keyframes" RMB-menu option didn't work on NLA Strip properties

4 years agoMsgfmt: Fix for generating .mo files from .po without comments
Sergey Sharybin [Sat, 13 Jun 2015 12:04:47 +0000 (14:04 +0200)]
Msgfmt: Fix for generating .mo files from .po without comments

4 years agoPython API: use cached translation tables
Campbell Barton [Sat, 13 Jun 2015 09:45:53 +0000 (19:45 +1000)]
Python API: use cached translation tables

bpy.path.clean_name() and AddPresetBase.as_filename() were doing
inefficient search-replace of individual characters.

Use cached replacement table instead.

4 years agoTranslations utils: add needed bits to update git repo together with svn trunk.
Bastien Montagne [Sat, 13 Jun 2015 09:42:54 +0000 (11:42 +0200)]
Translations utils: add needed bits to update git repo together with svn trunk.

4 years agoFix scons compilation
Joshua Leung [Sat, 13 Jun 2015 05:40:50 +0000 (17:40 +1200)]
Fix scons compilation

4 years agoCleanup: Correct comment
Julian Eisel [Fri, 12 Jun 2015 17:38:46 +0000 (19:38 +0200)]
Cleanup: Correct comment

Own mistake from rBf9972fa53eaab4

4 years agoArmature: add armature dissolve
Campbell Barton [Fri, 12 Jun 2015 17:20:07 +0000 (03:20 +1000)]
Armature: add armature dissolve

Works like mesh dissolve (access from delete or Ctrl+X)

4 years agoEdge slide (minor change, use existing vertex)
Campbell Barton [Fri, 12 Jun 2015 16:06:38 +0000 (02:06 +1000)]
Edge slide (minor change, use existing vertex)

4 years agoCMake: remove comment
Campbell Barton [Fri, 12 Jun 2015 15:21:34 +0000 (01:21 +1000)]
CMake: remove comment

4 years agoFix compilation error on Windows
Sergey Sharybin [Fri, 12 Jun 2015 12:32:09 +0000 (17:32 +0500)]
Fix compilation error on Windows

The issue was caused by conflicting declaration of HKEY
happening in our WM code and somewhere deeper in atomic
operations headers hierarchy.

4 years agoFix T45018 camera not easily selectable in multiview.
Antony Riakiotakis [Fri, 12 Jun 2015 15:20:46 +0000 (17:20 +0200)]
Fix T45018 camera not easily selectable in multiview.

Generally for scene choosing a view to use for selection is not
straightforward, but camera should at least be easily selectable.

4 years agoUI: Use numselect for redo-popup (for move layers)
Campbell Barton [Fri, 12 Jun 2015 14:39:19 +0000 (00:39 +1000)]
UI: Use numselect for redo-popup (for move layers)

4 years agoUI: Vertex Mark/Clear Sharp menu, match edge menu
Campbell Barton [Fri, 12 Jun 2015 14:33:21 +0000 (00:33 +1000)]
UI: Vertex Mark/Clear Sharp menu, match edge menu

4 years agoRevert "UI: move sharp/smooth out of vertex menu"
Campbell Barton [Fri, 12 Jun 2015 14:30:39 +0000 (00:30 +1000)]
Revert "UI: move sharp/smooth out of vertex menu"

This reverts commit d6b57436efad545347b4403610dd3af642d4378d.

4 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

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

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

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

4 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).

4 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

4 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

4 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.

4 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.

4 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)

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

4 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
assert)

4 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.

4 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

4 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.

4 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

4 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.

4 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: https://developer.blender.org/D1276

4 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: https://developer.blender.org/D1334

4 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.

4 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.

4 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.

4 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.

4 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)...

4 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.

4 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

4 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
deselecting

Possible Selection Methods
Simple selection (arrow-key): All other files are deselected
Expand selection (Shift+arrow key): Add to/remove from existing
selection
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 :)

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

4 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.

4 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

4 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.

4 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.

4 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

4 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.

4 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.

4 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.

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

4 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

4 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

4 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

4 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.

4 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"

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

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

4 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.

4 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

4 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.

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

by Gooseberry team

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

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

D1337 by @lichtwerk

4 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/

4 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

4 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.

4 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.

4 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

4 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

4 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

4 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.

4 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.

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

4 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.

4 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
result

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

4 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

4 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.

4 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.

4 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

4 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
dictionary.

4 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