Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1208 / 8462

October 15, 2020, 16:43 (GMT)
Merge branch 'master' into greasepencil-edit-curve
Revision e7ab802 by Hans Goudey (master)
October 15, 2020, 15:08 (GMT)
Fix T81697: Property search crash with python handlers

Previously I used `CTX_copy` to create a mutable copy of the context in
order to set its area and region fields to temporary variables. This was
a tradeoff to avoid casting away `const` for `bContext`.

However, `bpy.context` is set to this new temporary value, which is fine
for a single `wm_draw_update` pass, but in the next main loop,
`bpy.context` is still set to this value, which was freed at the
end of `property_search_all_tabs`. It would be possible to reset the
`bpy.context` variable ath the end of the function, but this patch
contains an alternate solution: just don't copy the context. It looks
like this was the only use of `CTX_copy` anyway, maybe for good reason.

Differential Revision: https://developer.blender.org/D9216
Revision 15d78ea by Hans Goudey (master)
October 15, 2020, 15:02 (GMT)
UI: Add reset to default value to keymap

With all the work on DNA defaults for 2.91, it's nice to expose this
convenient operator. This was already hardcoded in the UI code to the
backspace key, adding it to the keymap instead will make the shortcut
automatically show in the button right click menu.

Differential Revision: https://developer.blender.org/D9219
Revision d1b3439 by Hans Goudey (master)
October 15, 2020, 14:44 (GMT)
Cleanup: Use DNA defaults for grease pencil modifiers

This will make "Reset to Default Value" work properly for grease
pencil modifiers. See T80164 for more information.
Revision bac9195 by Ankit Meel (master)
October 15, 2020, 13:19 (GMT)
CMake/macOS: set package_ROOT for PNG, JPEG, TIFF

https://devtalk.blender.org/t/libpng-version-mismatch/15799/

In this case, CMake finds libraries in `LIBDIR`, but picks headers from
`/Library/Frameworks/` (Mono framework).

CMP0074 is already enabled, so use it.
October 15, 2020, 12:04 (GMT)
Cleanup: Animation, simplify channel selection code

Split up `ANIM_deselect_anim_channels()` into
`ANIM_anim_channels_select_set()` and
`ANIM_anim_channels_select_toggle()`.

`ANIM_anim_channels_select_set()` is equivalent to the old
`ANIM_deselect_anim_channels(..., false, ACHANNEL_SETFLAG_xxx)`.

`ANIM_anim_channels_select_toggle()` is equivalent to the old
`ANIM_deselect_anim_channels(..., true, ACHANNEL_SETFLAG_ADD)`.

`ANIM_deselect_anim_channels(..., true, ACHANNEL_SETFLAG_CLEAR)` was
also called once. The `true` parameter suggested the "toggle" behaviour
was intended, but the `ACHANNEL_SETFLAG_CLEAR` argument prevented any
toggling. This is now replaced with `ANIM_anim_channels_select_set(ac,
ACHANNEL_SETFLAG_CLEAR)` to make this explicit.

No functional changes, just a cleanup in order to better understand how
the selection works.
October 15, 2020, 12:04 (GMT)
Cleanup: Animation, rename function to match operator

Rename `animchannels_deselectall_exec` ? `animchannels_selectall_exec` so
that it matches the operator `ANIM_OT_channels_select_all`.

No functional changes.
October 15, 2020, 11:55 (GMT)
Fix part of T74918: 3D Viewport: Jump, when mouse crosses a window corner.

We need a separate time stamp for each axis, and we have to add a few
milliseconds of padding to those, to ensure wrapping on both axes get
properly performed when it happens almost simultaneously, and avoid
extra wrapping caused by very close events sometimes.

This only addresses the Linux (X11 backend) case.

Differential Revision: https://developer.blender.org/D9209
October 15, 2020, 11:50 (GMT)
LineArt: Clipped crease line does not show. Fixed.
October 15, 2020, 11:38 (GMT)
LineArt: apply camera scale before matrix
October 15, 2020, 10:44 (GMT)
Merge branch 'master' into soc-2020-io-performance
October 15, 2020, 10:39 (GMT)
Merge remote-tracking branch 'origin/master' into lanpr-under-gp
October 15, 2020, 09:27 (GMT)
Merge branch 'master' into soc-2020-io-performance
October 15, 2020, 08:00 (GMT)
Cleanup: rename BPy_GetContext -> BPY_context_get

Matching BPY_context_set.
October 15, 2020, 08:00 (GMT)
Cleanup: remove duplicate context variable (__py_context)

The context was stored both in __py_context & bpy_context_module.

This avoids duplicate functions to update them too.
Revision 1cc3abc by Janusch Patas / Bastien Montagne (master)
October 15, 2020, 07:46 (GMT)
Fix T80768: Subdivision Surface modifier uses viewport subdivision settings when rendering in edit mode

Being in render 'context'was not taken into account in code evaluating
modifiers for meshes in Edit mode.

Reviewed By: #modeling, mont29

Differential Revision: https://developer.blender.org/D9217
October 15, 2020, 07:31 (GMT)
Cleanup: Do not compare bool value to 0.
October 15, 2020, 05:53 (GMT)
Fix T81520: Crash setting the Cycles device from Python
Revision 8f25e85 by Joseph Eagar
October 15, 2020, 05:37 (GMT)
* Made BKE_pbvh_trimesh_after_stroke join pbvh nodes as well as split
them.
October 15, 2020, 05:35 (GMT)
PyAPI: throw exception when cycles is given an invalid device name
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021