Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1323 / 5574

February 19, 2019, 05:18 (GMT)
WM: move keymap handler to it's own type

Illuminate dead code, using wmEventHandler_KeymapFn from gizmo handler
type where it was never set.
February 19, 2019, 05:17 (GMT)
WM: move dropbox handler to it's own type
February 19, 2019, 05:17 (GMT)
WM: move operator handler to it's own type
February 19, 2019, 05:17 (GMT)
WM: move UI handler to it's own type
February 19, 2019, 05:17 (GMT)
WM: move gizmo handler to it's own type
February 19, 2019, 05:14 (GMT)
WM: move wmEventHandler.type to a boolean

Currently it's effectively a boolean for file-select handlers.

Prepare for refactoring event handlers into their own types (keymap,
operator, gizmo, ui & dropbox) to help make logic easier to follow.
February 19, 2019, 00:38 (GMT)
Cleanup: rename parent_origin_eval to parent_display_origin

The term 'eval' is often used by depsgraph result,
where this is just used for drawing.
February 18, 2019, 23:04 (GMT)
Fix edit-curve display for hidden handles

When the first handle was hidden, all others would show as hidden too.
February 18, 2019, 22:50 (GMT)
Cleanup: remove unused Object.smoothresh
February 18, 2019, 22:45 (GMT)
DNA: rename select_color -> select_id

The term color is misleading, it's an integer id that happens to be
written to a color in some cases, then converted back to an integer.
February 18, 2019, 21:48 (GMT)
DNA: rename Object.col -> color

Was confusing, unrelated to:
colbits, col_mask, col_group, actcol & totcol.
February 18, 2019, 17:21 (GMT)
Fix (unreported) broken-by-design code in depsgraph's `deg_backup_object_runtime()`

Committing this since it does fix broken logic (previously in that
condition obdata would always be set to NULL, since
`BKE_object_runtime_reset()` is called before).

However, this has presumably been broken that way since 05/2018, so
maybe that whole condition is not needed anymore? Or NULL pointer was
working as well here?

@sergey eyes are required here I guess ;)
February 18, 2019, 17:15 (GMT)
Fix Object bbox memleak in depsgraph code.

Caused by rBae2b677dcb5a70f5, Object.runtime has lot of weird specific
handlings in depsgraph...

For now modified `deg_backup_object_runtime()` and
`deg_restore_object_runtime()` to mimic previous behavior regarding
Object bbox (i.e. pass it around, instead of wiping it clean).

Reported in T61660.
February 18, 2019, 16:55 (GMT)
Cleanup some Object's bbox code.

Now that bbox is in runtime, no need to explicitely clear it when we
call BKE_object_runtime_reset() two lines below.
February 18, 2019, 16:16 (GMT)
Fix (unreported) wrong handling of some parameters combination in `bpy.data.user_map()`

Would add undesired keys...
February 18, 2019, 16:16 (GMT)
ID Management Py API: Fix (unreported) crash in some cases.

Would crash when passing some kind of invalid parameters, e.g.:

>>>D.user_map(key_types={'brush'})
February 18, 2019, 16:16 (GMT)
ID management: use FOREACH_MAIN_ID in some places.
February 18, 2019, 16:16 (GMT)
ID management: use FOREACH_MAIN_ID in some places.
February 18, 2019, 16:16 (GMT)
ID management: use FOREACH_MAIN_ID in some places.
February 18, 2019, 16:16 (GMT)
ID management: use FOREACH_MAIN_ID in some places.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021