Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 363 / 5574

March 5, 2021, 03:44 (GMT)
Cleanup: spelling
March 5, 2021, 03:44 (GMT)
Cleanup: rename event to event_type

Reserve `event` for wmEvent.
March 5, 2021, 03:08 (GMT)
Cleanup: maintain include order without disabling clang format
March 5, 2021, 03:04 (GMT)
Cleanup: rename evt to event

Following naming convention of most operators.
March 5, 2021, 03:03 (GMT)
Cleanup: rename variables in wm_event_add_ghostevent

Using both evt and event together was confusing.

Renamed:

- event_state <- evt
- event_state_other <- oevt
- event_other <- oevent
- win_other <- owin
March 5, 2021, 01:54 (GMT)
Fix T86185: Win32 Multiple Monitor Window Position

Because of D10469 we can now not force child windows onto parent's monitor and allow them to go where they wish.

Differential Revision: https://developer.blender.org/D10593

Reviewed by Ray Molenkamp
March 5, 2021, 01:20 (GMT)
Windows/CLog: Support color logging on Win 10

Windows 10 supports V100 on all consoles given
you enable the ENABLE_VIRTUAL_TERMINAL_PROCESSING
flag for the console.

This patch enables color logging only on windows
10 and only if the log is not being redirected
to a file.

Differential Revision: https://developer.blender.org/D10546
March 4, 2021, 20:32 (GMT)
GPencil: Implement Autokey button for Draw/Edit and Sculpt mode

Now, if the Autokey is not enabled, a new frame is not created and it is used the last active one. If no active frame, a message is displayed and the operation is canceled.

This is a common request for 2D artists.

Also, grease pencil was not working as Blender does in other areas.

Reviewed By: pepeland

Differential Revision: https://developer.blender.org/D10557
March 4, 2021, 19:20 (GMT)
Fix T59376: UV project modifier not working after modifiers that dont provide a UVMap

This was reported for remesh and skin modifiers.
These dont preserve UV layers (and probably cannot in a reasonable way),
so instead let the UV Project modifier create a new (equally named) UV
layer (as was suggested by @brecht in T59376).

Maniphest Tasks: T59376

Differential Revision: https://developer.blender.org/D10617
March 4, 2021, 17:43 (GMT)
Cleanup: Main `foreach ID` code: Remove `MAX_LIBARRAY` and improve comments.

The `MAX_LIBARRAY` define was an annoying doublon to the `INDEX_ID_MAX` enum value
now defined in `DNA_ID.h`, and it is no more useful.

And comments were somewhat outdated. Also added an explanation about
chosen order for the `INDEX_ID_<IDTYPE>` order.
March 4, 2021, 17:39 (GMT)
UI: prefer shorter search items in fuzzy search

This is a simple heuristic that seems to improve the search results in many cases.

Differential Revision: https://developer.blender.org/D10618
March 4, 2021, 17:15 (GMT)
Nodes: improve NodeTreeRef

This adds a couple more utility methods to various node tree ref types.
Also `InternalLinkRef` has been added to get simpler access to internal links.
March 4, 2021, 16:38 (GMT)
BLI: support mutable lookup from multi value map
March 4, 2021, 16:23 (GMT)
macOS/Ghost: Opt out of AppKit?s automatic window tabbing

Since Blender is single-tabbed, this will prevent extraneous
tab-related options from appearing in "Window" menu in case AppKit's
internals change.

Reviewed By: #platform_macos, sebbas, ankitm
Differential Revision: https://developer.blender.org/D10606
March 4, 2021, 14:27 (GMT)
Fix T86050: use material count from correct data block

See comment in code for more details.

Differential Revision: https://developer.blender.org/D10615
March 4, 2021, 12:33 (GMT)
Fix T86172: tag relations update when pasting nodes

Pasting nodes can create new id relations, because nodes can reference IDs.
Therefore the depsgraph has to be updated when nodes are pasted.
We could somehow check if the pasted nodes referenced IDs, but I'm not sure
if this complexity is worth it.
March 4, 2021, 12:13 (GMT)
PyAPI: use methods for bpy.data.libraries.load & write

Replace static methods with regular methods.
Now the 'Main' value is taken from the collection.

Needed to support multiple 'Main' instances in Python, see T86183.
March 4, 2021, 12:09 (GMT)
PyAPI: support methods for collection properties

Previously only static methods were supported.

Now C/API functions added to collections can receive a 'self' argument.
March 4, 2021, 11:50 (GMT)
Fix T86204: support multiple group inputs in node group

Note that this still does not work when in the node group directly referenced
by the modifier, only in sub-node-groups. This limitation will be removed
at some point.
March 4, 2021, 11:20 (GMT)
Fix T86209: Preference Defaults "Relative Paths" tooltip could be improved.

This UserPref setting is only used when no path is set yet.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021