Blender Git Commit Log

All Blender Git commits.

Page: 1812 / 8462

March 4, 2020, 12:48 (GMT)
RNA: ensure missing calls to RNA_enum_item_end crash in debug mode

Would have prevented T74227 from slipping through
since it didn't crash on some systems.
March 4, 2020, 11:39 (GMT)
Update Object IDTypeInfo with new callbacks.

Also add/improve flags for IDTypeInfo.
March 4, 2020, 11:24 (GMT)
Fix T74426: Crash in the IK Pose Brush preview with null preview chain

After switching tools, the active vertex can be the same and the cursor
won't update the previews, so the pose_ik_chain_preview will be null.
This often happens in low poly meshes where chances of hovering the same
vertex are high.

Reviewed By: sergey

Maniphest Tasks: T74426

Differential Revision: https://developer.blender.org/D7021
March 4, 2020, 11:08 (GMT)
Merge branch 'master' into idtype-refactor
March 4, 2020, 11:08 (GMT)
Merge remote-tracking branch 'origin/idtype-refactor' into idtype-refactor
March 4, 2020, 11:04 (GMT)
GPencil: Cleanup - avoid the term old when storing/restoring context variables
March 4, 2020, 10:46 (GMT)
Cleanup: spelling
March 4, 2020, 10:43 (GMT)
Refactor ID make local to use a single flag parameter.

Instead of using anonymous booleans flags, also allows to keep the same
behavior in all cases, without needing special handling from calling
code for our beloved oddballs object proxies...
March 4, 2020, 10:43 (GMT)
Cleanup: ID make local: remove `id_in_bmain` argument.

This info is now stored in ID tags themselves, so no need to pass an
extra anonymous boolean parameter around, yay!
March 4, 2020, 10:43 (GMT)
Cleanup: Rename 'make local' functions to new scheme.

Also removed some only used locally from the header, `BKE_lib_id.h`
is already way too big, no need to overload it with unused things.
March 4, 2020, 10:38 (GMT)
UI: rename View Selected" to "Frame Selected"

Addresses T74331
March 4, 2020, 10:27 (GMT)
Fix T73797: Selection/Editing after Make Single User for Object Data
fails

Exposed by rB50d5c03e2d14.

This was only a problem when _only_ 'Object Data' was made local.
If also e.g. 'Object' or 'Materials' was checked, these were already
making sure realations were updated [DEG_relations_tag_update(bmain)].

Now also call DEG_relations_tag_update(bmain) for the 'Object Data'
case.

I assume the underlying issue is that there is some ID_NEW_REMAP
happening in 'single_obdata_users()' -- including that for 'me-
>texcomesh', which might be responsible for the glitches in selection/
editing? Also not entirely sure why this wasnt a problem prior to
rB50d5c03e2d14.(I assume this was somewhat hidden by the fact this was
always called with a default action being nothing, the user would always
need to access the redo panel. So this might have been hidden by an Undo
step involved?)

Maniphest Tasks: T73797

Differential Revision: https://developer.blender.org/D7020
March 4, 2020, 10:13 (GMT)
Cleanup: avoid the term old when storing/restoring context variables
March 4, 2020, 10:07 (GMT)
Merge branch 'master' into greasepencil-object
March 4, 2020, 04:24 (GMT)
Cleanup: remove unused BLI_strncat_utf8

Behaves differently to strncat,
BLI_strncpy_utf8_rlen can be used for a similar purpose.
March 4, 2020, 04:17 (GMT)
Fix possible buffer overflow from incorrect 'strncat' use

The size argument is the maximum number of bytes to copy,
not the destination buffer size.

Replace with utility function that joins strings.
March 4, 2020, 04:14 (GMT)
BLI_string_utils: add BLI_string_join_array_by_sep_char

Utility to join strings into a fixed size buffer.
March 4, 2020, 00:31 (GMT)
Cleanup: replace CLAMP macros with functions
March 4, 2020, 00:23 (GMT)
BLI_math: inline clamp functions

These are used in some per-pixel operations such as image sampling and
color conversion, where replacing existing macro use could add overhead.
March 4, 2020, 00:05 (GMT)
Cleanup: replace commented code with define check

Avoids duplicated comments,
also quiet warning accessing non-existing variable.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021