Ray Molenkamp
9dca74f0e5
[windows/make.bat] use a more reliable way of locating visual studio 2017.
...
The registry hack we were using wasn't very reliable, the recommended way to locating visual studio is using vswhere (15.2 and up), using it also allows to switch between the regular and pre-release versions.
2018-05-25 10:24:01 -06:00
Campbell Barton
9812943931
WM: check modal handlers for keymap lookups
...
Keep in sync with 2.8x
2018-05-25 10:51:05 +02:00
Campbell Barton
e31b8303ed
UI: fix assert
...
Replace hard-coded button size check with UI_UNIT_X.
Caused icon-only buttons to have strings assigned based on UI-scale.
2018-05-25 10:45:48 +02:00
Campbell Barton
d02335a195
3D View: add pixelsize function w/o UI scale
2018-05-25 10:00:51 +02:00
Lukas Stockner
5e2f9c5c67
Cycles: Cleanup: Remove duplicated atan2f definition for OpenCL
...
Turns out that atan2f was already defined for OpenCL.
2018-05-24 19:08:06 +02:00
Lukas Stockner
b4a8b81399
Cycles Denoising: Don't use atomics in the accumulation kernel on CPUs
...
The GPU kernel needs to use atomics for accumulation since all offsets are processed in
parallel, but on CPUs that's not the case, so we can disable them there for a considerable speedup.
2018-05-24 18:44:56 +02:00
Lukas Stockner
6862762685
Cycles/Compositor: Add arctan2 operation to the Math node
...
The Math node currently has the normal atan() function, but for
actual angles this is fairly useless without additional nodes to handle the signs.
Since the node has two inputs anyways, it only makes sense to add an arctan2 option.
Reviewers: sergey, brecht
Differential Revision: https://developer.blender.org/D3430
2018-05-24 16:46:02 +02:00
Campbell Barton
8d9faf840b
3D View: remove poll 3D view for copy/paste
...
These operators only need selected objects.
2018-05-24 16:40:33 +02:00
Philipp Oeser
1318660b04
Fix T55034: Setting duplication group for multiple selected items only
...
affects one item
UI editing multiple selected items missed the case of PROP_POINTER
properties
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3373
2018-05-24 09:02:17 +02:00
Philipp Oeser
3e9b592b08
Fix Extend property of Lasso select tool in Mask editor not working
...
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3361
2018-05-24 08:41:13 +02:00
Philipp Oeser
54f2e58452
Fix T54336: Extend property of Lasso select tool in Node editor does not
...
work
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3360
2018-05-24 08:34:31 +02:00
Lukas Stockner
176e18436c
Fix T55137: Compilation failing on non-x86-64 architectures
...
Some conversion helper functions were (most likely by accident) contained
inside an ifdef for SSE2 support, so on e.g. ARM they would be undefined
and therefore cause compilation to fail.
2018-05-24 01:41:18 +02:00
Campbell Barton
d886e32270
Cleanup: strip trailing space from interface files
2018-05-23 10:48:50 +02:00
Campbell Barton
103a31f712
Fix incorrect size in aligned lockfree realloc
...
Thanks to @alikendarfen for finding.
2018-05-23 07:24:57 +02:00
Campbell Barton
3ada840e65
blenderplayer: add stubs
2018-05-22 17:56:56 +02:00
Campbell Barton
76ece90d4a
Fix T55093: Bisect + fill crash
2018-05-22 17:23:25 +02:00
Campbell Barton
28c20fc393
Memory allocator: use lockfree calls internally
...
Was already used in some areas.
2018-05-22 08:45:47 +02:00
Campbell Barton
9f66d00287
CMake: only include licences for enabled libs
2018-05-21 18:41:59 +02:00
Campbell Barton
605e184167
Cleanup: use const for transform internal API
2018-05-21 17:24:14 +02:00
Campbell Barton
882daeffc5
RNA: support for PARM_OUTPUT & PARM_RNAPTR
2018-05-21 12:34:11 +02:00
Brecht Van Lommel
6d8aa85051
Fix too much memory usage for Cycles attribute map.
...
Thanks to Thomas Krebs for identifying the problem and solution.
2018-05-21 11:14:59 +02:00
Brecht Van Lommel
9f2ae547c0
Fix/workaround RNA build error in C++ API.
...
It seems output parameter needs to be the last one.
2018-05-21 11:13:56 +02:00
Campbell Barton
4198c18f15
Cleanup: correct variable names
2018-05-21 10:53:50 +02:00
Campbell Barton
12a60265cd
WM: utility to find a keymap item from an operator
...
Also RNA access to WM_keyconfig_update,
needed when generating dynamic keymaps used in menus immediately after.
2018-05-21 10:35:44 +02:00
Brecht Van Lommel
d712dd2f19
Cycles tests: move to render/ folder, to share with Eevee.
2018-05-18 16:46:48 +02:00
Campbell Barton
e077285745
CMake: Add WITH_COMPILER_ASAN option
...
This supports easy toggling of Address Sanitizer.
2018-05-18 15:22:16 +02:00
Campbell Barton
4d19f24ba7
Cleanup: remove deprecated definitions
2018-05-18 15:22:16 +02:00
Philipp Oeser
5e7a21a5f5
Fix T55115: crash when iterating SmokeDomainSettings color_grid property
...
through python
2018-05-18 14:34:27 +02:00
Campbell Barton
1cc4ab481e
Fix crash drawing polygon curves
2018-05-18 14:23:53 +02:00
Campbell Barton
cb50c288d4
Add missing header
2018-05-18 13:43:41 +02:00
Campbell Barton
278e3f7d5f
Logging: add --show-log-backtrace
...
Useful in debug builds to see a functions callers.
2018-05-18 11:00:47 +02:00
Aaron Carlisle
96fba1e101
Color: Assume Rec 709 in remaining comp nodes
...
Part of T54798
2018-05-17 17:20:32 -04:00
Campbell Barton
0e0d99161a
RNA: move enums to rna_rna.c
...
Needed for use in rna non runtime code.
2018-05-17 19:10:45 +02:00
Campbell Barton
b290048257
makesrna: error check from 2.8
2018-05-17 19:05:46 +02:00
Campbell Barton
4461be1b72
Fix T55032: Redo w/ file saved in edit-mode failed
...
It's important edit-mode has a step stored for redo to work,
file load now ensures this in a generic way.
2018-05-15 19:37:06 +02:00
Campbell Barton
91504ed26e
Fix assert using '//' on an unsaved file
...
Annoying for debug builds.
2018-05-15 17:27:36 +02:00
Campbell Barton
3eb9cc69f2
Cleanup: last spacetype enum name
2018-05-15 11:12:49 +02:00
Campbell Barton
9636cab009
Undo System: remove nested edit-mode undo calls
...
Regression in recent undo system changes,
This caused T55048.
When each mode had its own undo stack it was important
to initialize it when entering edit-mode.
2018-05-15 10:10:48 +02:00
Campbell Barton
ae8225ba6d
Fix BMesh bisect not flagging dirty indices
2018-05-15 09:04:12 +02:00
Campbell Barton
43ee4d5d7c
Cleanup: quiet GCC -Wtype-limits
...
While the warning can normally be disabled, we don't have have as much
control of warnings when macros are used.
2018-05-14 09:00:42 +02:00
Campbell Barton
c1d737eb95
BLI_utildefines: re-ordering array delete macro
2018-05-14 08:38:53 +02:00
Campbell Barton
b99d064e91
Cleanup: trailing space
2018-05-13 06:44:03 +02:00
Campbell Barton
c84b8d4801
Cleanup: modifier arg wrapping
2018-05-12 08:04:56 +02:00
Arto Kitula
f197134426
Platform: macOS. Allow building on directory with whitespace (For example /Volumes/External HD/blender-build)
2018-05-11 21:56:13 +03:00
Campbell Barton
925e775818
EditMesh: remove duplicate rip macro
...
Change the fill setting in the keymap,
this allows tool access the macro with either setting.
2018-05-11 20:02:12 +02:00
Campbell Barton
73a7885ab3
WM: initialize last used macro properties
2018-05-11 20:01:51 +02:00
Bastien Montagne
d5c1c0b10d
Fix (unreported) broken freeing code for Sequencer.
...
Freeing sequencer would always do usercount, which is now forbidden when
called from main ID freeing code.
Annoying in 2.7x, much more critical issue in 2.8!
Also, moved RNA sequencer API functions to proper rna_scene_api.c file.
2018-05-11 11:23:11 +02:00
Bastien Montagne
13beeb5892
Fix (unreported) load image code calling icin/preview update from non-Main thread.
...
Icin/preview only works in main thread, while image loading can be done
from others too... This could have generated random crashes and such.
2018-05-11 10:48:04 +02:00
Bastien Montagne
0385b33f0b
Fix broken 'check/validate libs' code with indirect libs.
...
Readcode always set relative paths of indirectly linked libs relative to
*current* .blend file, not to the library using it.
But BKE_library_filepath_set was then setting them relative to their
parent library, breaking checking code (and saved files even :((( ).
2018-05-09 15:52:29 +02:00
Philipp Oeser
69f2305415
Fix T54992: Lattice modifier on another Lattice object does not take the
...
Influence vertexgroup into account
2018-05-09 14:41:25 +02:00