Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1317 / 5574

February 22, 2019, 12:35 (GMT)
Multires: Fix ownership problem causing crashes

Fixes crash when leaving multires mode.

Fixes T61836: Saving while in multires makes blender crash
February 22, 2019, 08:45 (GMT)
Revert "makesrna: Fix build error on windows."

This reverts commit 8b235dd2e3995a61e2a7db1ac2bc9eefe1394456.
February 22, 2019, 08:45 (GMT)
C logging: make pthread use optional

There is no need for threading for makesrna/makesdna,
disable it to avoid hassles linking build time utilities.
February 22, 2019, 07:37 (GMT)
Cleanup: function wrapping, spelling
February 22, 2019, 07:23 (GMT)
Comments: add doxy sections to readfile.c

Some minor changes to arrange code into useful sections too.
February 22, 2019, 05:56 (GMT)
readfile: support blend files over 2gb

Should work for 4gb+ files too however I wasn't able to test that.
February 22, 2019, 03:55 (GMT)
readfile: reduce memory usage at load time

Delay loading all DATA sections of the blend file until they're needed.

Loading all data-blocks caused high peak memory usage especially with
libraries - since a lot of data may exist which isn't used directly.

In one test (spring project: 10_010_A.anim.blend),
peaked at ~12.5gig, dropping back to ~2.5gig once loaded.
With this change peaks memory usage reaches ~2.7gig while loading.

Besides this there are some minor gains from not having to read data
from the file-system and we can skip an alloc + memcpy reading data
written with the same version of Blender.
February 22, 2019, 03:05 (GMT)
Cleanup: rename seek to file_offset

Prepare for seek callback to be added.
February 22, 2019, 03:03 (GMT)
Sculpt Overlay: Fix mask drawn as flat shaded when smooth shading enabled

Removes the flat shader variant since the attrib is specified for each vert
loop in flat shaded mode. It was something leftover from the previous
implementation.
February 22, 2019, 03:03 (GMT)
GPUBuffers: Fix/cleanup multires implementation

The multires sculpt drawing was a not working in smooth mode.
Also hidding was not supported by the wireframe overlay and flat shaded
faces.

Codewise it is cleaner and index buffers are only updated if the
smoothing changes.
February 22, 2019, 02:47 (GMT)
Cleanup: make BHeadN private in readfile.c

Also add macro for accessing BHeadN from BHead.
February 21, 2019, 23:40 (GMT)
Missed last commit

Harmless but not renamed as intended.
February 21, 2019, 23:31 (GMT)
Cleanup: rename readfile API functions

- blo_bhead_first (was blo_firstbhead)
- blo_bhead_next (was blo_nextbhead)
- blo_bhead_prev (was blo_prevbhead)
- blo_bhead_id_name (was bhead_id_name)
- blo_filedata_free (was blo_freefiledata)
- blo_filedata_from_file (was blo_openblenderfile)
- blo_filedata_from_memory (was blo_openblendermemory)
- blo_filedata_from_memfile (was blo_openblendermemory)
February 21, 2019, 22:34 (GMT)
Missed last commit
February 21, 2019, 22:29 (GMT)
Cleanup: comments, use bool for 'eof' variable

Also remove unused members headerdone, inbuffer & filedes,
use typed enum for file data flags.
February 21, 2019, 21:52 (GMT)
Transform: redo resize now constrains axis values

Before 1bfbfa281046b this wasn't essential because the constraints
prevented the axes from being applied.

Now redo ignores constraints - the input values must be constrained.
February 21, 2019, 21:21 (GMT)
makesrna: Remove usage of dynamically linked pthreads4w

With pthreads now being static, there is no more reason to copy the dll.
February 21, 2019, 21:19 (GMT)
Windows: Use static pthreads library.
February 21, 2019, 21:16 (GMT)
Windows: Use static pthreads library.
February 21, 2019, 17:20 (GMT)
UI: enum property menus now expand down, consistent with other menus.

Differential Revision: https://developer.blender.org/D4359
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021