Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1042 / 5574

September 19, 2019, 09:32 (GMT)
Fix T66154: viewlayer hide/exclude settings getting lost for linked collections

The problem was that the object and collection pointers in Base and
LayerCollection would get lost of file read. Normally such ID pointers would
be resolved by pointing to an ID_ID placeholder which has the datablock name,
and then replacing it will the real datablock. However ID_ID is only written
for directly linked datablocks.

This adds the concept of an indirectly linked datablock with a weak reference
to it. For this we write an ID_ID_WEAK_REF code, which is a reference that
will only be resolved if the datablock was read for another reason.

Differential Revision: https://developer.blender.org/D4416
September 19, 2019, 09:32 (GMT)
Modifiers: every modifier now copies mesh settings, fixing texture space issues

Modifier stack evaluation would copy mesh settings other than mesh topology
automatically, outside of the individual modifier evaluation. This leads to hard
to understand code, and makes it unclear which settings are available in following
modifiers, and which only after the entire stack is evaluated.

Now every modifier is responsible to ensure the mesh it outputs preserves materials,
texture space and other settings, or alters them as needed.

Fixes T64739: incorrect texture space for various modifiers

Differential Revision: https://developer.blender.org/D5808
September 19, 2019, 09:30 (GMT)
Fix QuadriFlow build error on FreeBSD and compiler warnings on Linux
September 19, 2019, 09:27 (GMT)
Fix T68852: Link select crashes after knife project

Knife project switches out of vertex selection mode, but wouldnt do this
for all participating meshes.
Logic in edbm_select_linked_pick would switch the viewcontext multiple
times and the meshes selectmode was not in sync then, leading e.g.
finding a vertex in 'unified_findnearest' (because last of the meshes
selectmode was SCE_SELECT_VERTEX), but then later in
'EDBM_elem_from_selectmode' other meshes selectmode was not matching
SCE_SELECT_VERTEX, leading to crash...

Reviewers: campbellbarton

Maniphest Tasks: T68852

Differential Revision: https://developer.blender.org/D5536
September 19, 2019, 09:23 (GMT)
Cleanup: Remove redundant name checking

The BKE function already does this checking.
September 19, 2019, 08:38 (GMT)
Fix T70009: GPencil copied layer is linked to its original layer

As the layer and frame memory was duplicated, the pointers were connected to old data. This was solved when saved the file, but this was a bug. Also this required a duplication and clean all listbase items.

Now, instead to duplicate and clear memory for layers and frames, just create a new layer and frame. This solution fix the problem, it's faster and also keeps the code cleaner.
September 19, 2019, 07:15 (GMT)
Fix T70033: Crash editing keymap operator

Expanding operator names could buffer overrun.
September 19, 2019, 03:33 (GMT)
Cleanup: use uint,ushort,uchar for modifiers
September 19, 2019, 03:19 (GMT)
Cleanup: spelling
September 18, 2019, 21:04 (GMT)
Cleanup: Manpage: use 'https' blender.org URL instead of 'http' one.
September 18, 2019, 21:04 (GMT)
Blender manpage generator: use blender build date instead of current time.

It makes much more sense to use the build timestamp of the Blender
binary used to generate that manpage, than the current time.

As a bonus, when Blender building makes use of the SOURCE_DATE_EPOCH envvar
(through CMake, since previous commit), this also propagate automatically
to that man page.

Inspired by D5756 by Bernhard M. Wiedemann (@bmwiedemann), thanks.
September 18, 2019, 21:04 (GMT)
Use cmake TIMESTAMP for BUILD_DATE+TIME

Use cmake TIMESTAMP for BUILD_DATE+TIME
this simplifies code a lot
and even makes it more portable to other platforms

TIMESTAMP is available since cmake-2.8.11 ; blender already requires
cmake>=3.5 so that is fine.

Note that with CMake>=3.8, if defined, the SOURCE_DATE_EPOCH envvar
will be used by CMake here.

Reviewers: mont29, campbellbarton

Reviewed By: mont29, campbellbarton

Differential Revision: https://developer.blender.org/D5760
September 18, 2019, 18:55 (GMT)
GPencil: Create blank texture only once by engine

This texture is used for missing textures as replace.

Differential Revision: https://developer.blender.org/D5845
September 18, 2019, 17:58 (GMT)
Fix transforming paint curve edit points also doing
ED_sculpt_end_transform in sculpt mode

followup to rB67310ed97618, thx @mano-wii for the heads up.
September 18, 2019, 17:45 (GMT)
Fix remesher operator poll function

This commit also removes the name "voxel" from the messages because this function
is now used for the voxel remesher and quadriflow.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5842
September 18, 2019, 17:27 (GMT)
Fix T70006: crash when transforming paint curve edit points in sculpt mode

This was caused by rB309cd047ef46.
Above commit introduced code that would skip early for sculptmode
(leaving out the neccessary createTransPaintCurveVerts).

Reviewers: pablodp606, jbakker, mano-wii

Maniphest Tasks: T70006

Differential Revision: https://developer.blender.org/D5837
September 18, 2019, 16:19 (GMT)
Fix excessive dependency graph evaluation while painting strokes

Particularly noticeable when vertex painting with a subsurf modifier.

In some cases every sculpt or paint stroke step would evaluate the dependency
graph. This should only happen for redraws. Now more selectively choose if the
dependency graph should be evaluated to initialize the view context. Doing it
in the view context evaluation is somewhat hidden, now it's more explicit.

Differential Revision: https://developer.blender.org/D5844
September 18, 2019, 15:56 (GMT)
Depsgraph: Cleanup, spelling in comment
September 18, 2019, 15:56 (GMT)
Subvid: Initial support of subdiv topology query

Just some higher level functions to access topology information.
September 18, 2019, 15:56 (GMT)
Subdiv: Cleanup, split function into smaller ones
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021