Blender Git Commits

Blender Git "gsoc-2018-many-light-sampling" branch commits.

Page: 4 / 5

June 1, 2018, 13:41 (GMT)
Fix restrict error in BLI_str_format_byte_unit

Don't use sprintf to append a string to it's self.

Also correct BLI_str_rstrip_float_zero's return value.
June 1, 2018, 13:41 (GMT)
make.bat: Add support for building with ninja.

ninja is an alternative to msbuild designed for fast rebuilds. However there is no IDE support, builds only from the command line.

Comparison between msbuild and ninja for a full build, build time in seconds.

Full Clean Build
msbuild 867.5
Ninja 801.2
Difference -66.3 (-7.6%)

Minor Change
msbuild 43.0
Ninja 14.9
Difference -28.1 (-64.4%)

No Changes
msbuild 23.0
Ninja 6.1
Difference -16.9 (-73.5%)
June 1, 2018, 13:41 (GMT)
3D View: minor change to NDOF view orbit

This change is needed for 2.8, where the NULL check isn't a reliable way
of testing if dynamic offset is needed.
June 1, 2018, 13:41 (GMT)
WM: check modal handlers for keymap lookups

Keep in sync with 2.8x
June 1, 2018, 13:41 (GMT)
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.
June 1, 2018, 13:41 (GMT)
Cycles: Cleanup: Remove duplicated atan2f definition for OpenCL

Turns out that atan2f was already defined for OpenCL.
June 1, 2018, 13:41 (GMT)
make.bat/cleanup: removed stray echo in make.bat
June 1, 2018, 13:41 (GMT)
make.bat: refactor make.bat

make.bat was starting to become hard to maintain, this refactors it into separate batch files for each stage of the process.

-Improved detection of msvc2013/2015
-Improved failure handling.
-Added check for working msbuild and C++ compiler
-Added verbose switch to ease trouble shooting.
-Added Check if svn/cmake/git are in the path before using them
-Display the build configuration before asking to download the libraries
-Offer an option to recover an interrupted checkout of the libraries.
-Automatically check out sub-modules in-case they are missing.
June 1, 2018, 13:41 (GMT)
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
June 1, 2018, 13:41 (GMT)
Add number and memory size formatting throughout the UI

This commit adds number formatting (thousands separator) to the baking panel. It also adds a new function to format memory sizes (KB/GB/etc) and applies it to the baking panel and scene stats. The new function is unit tested.

Reviewers: Severin
Tags: #user_interface
Differential Revision: https://developer.blender.org/D1248
June 1, 2018, 13:41 (GMT)
3D View: add pixelsize function w/o UI scale
June 1, 2018, 13:41 (GMT)
[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.
June 1, 2018, 13:41 (GMT)
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.
June 1, 2018, 13:41 (GMT)
3D View: remove poll 3D view for copy/paste

These operators only need selected objects.
June 1, 2018, 13:41 (GMT)
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
June 1, 2018, 13:41 (GMT)
Cleanup: strip trailing space from interface files
June 1, 2018, 13:41 (GMT)
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.
June 1, 2018, 13:41 (GMT)
Fix Extend property of Lasso select tool in Mask editor not working

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D3361
June 1, 2018, 13:41 (GMT)
RNA: support for PARM_OUTPUT & PARM_RNAPTR
June 1, 2018, 13:41 (GMT)
Memory allocator: use lockfree calls internally

Was already used in some areas.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021