December 11, 2020, 16:37 (GMT) |
Cleanup: compiler warnings If you mark one function as override in a class, all must be marked. |
December 11, 2020, 16:28 (GMT) |
Trackpad: Fix wrong scroll deltas on Retina Scale Mac trackpad scrolling changes by pixel size of output device. Differential Revision: https://developer.blender.org/D9723 Reviewed by Brecht Van Lommel |
Revision ddc3edb by Alexander Gavrilov December 11, 2020, 16:18 (GMT) |
Experimental: add B-Bone lengthwise scaling options. - Lengthwise scale factors in addition to X and Y. - Option to multiply ease by the length scale. - Option to actually apply Y scale to segments (for backward compat). |
December 11, 2020, 15:48 (GMT) |
Disable progress sampling for cySample For now this matches the native approach. |
December 11, 2020, 15:46 (GMT) |
GPencil: Change CMake include to singular |
December 11, 2020, 15:41 (GMT) |
GPencil: Fix CMake typo error |
December 11, 2020, 15:38 (GMT) |
Fix memleak on tiling |
December 11, 2020, 15:35 (GMT) |
UI: Consistent Range Descriptions Unifying range descriptions as a value 'to' a value. Differential Revision: https://developer.blender.org/D9771 Reviewed by Julian Eisel |
December 11, 2020, 15:20 (GMT) |
Refactor/extend BKE API to get special user directories The previous `BKE_appdir_folder_default()` was confusing, it would return the home directory on Linux and macOS, but the Documents directory on Windows. Plus, for the Asset Browser, we want to use the Documents directory for the default asset library on all platforms. This attempts to clean up the API to avoid confusion, while adding the newly needed functionality. * `BKE_appdir_folder_default()` should behave as before, but the implementation changed: ** Removes apparently incorrect usage of `XDG_DOCUMENTS_DIR` on Unix systems - this seems to be a config file variable, not an environment variable. Always use `$HOME` instead, which this ended up using anyway. ** On Windows it doesn't attempt to use `%HOME%` anymore and gets the Documents directory directly. * Add `BKE_appdir_folder_home()` to gives the top-level user directory on all platforms. * Add `BKE_appdir_folder_documents()` to always get the user documents directory on all platforms. There should be no user noticable behavior change. Differential Revision: https://developer.blender.org/D9800 Reviewed by: Brecht Van Lommel |
December 11, 2020, 15:20 (GMT) |
Ghost: Support queries for special user directories (desktop, documents, etc.) When we had to get special user directories, we'd usually do it in varying, rather ad-hoc ways. It would be done with a bunch of `#ifdef`s for the different operating systems. Also, some of the used Win32 functions were legacy ones and the API docs recommend using newer ones. Further, seems `BKE_appdir_folder_default()` used `XDG_DOCUMENTS_DIR` wrong. It's not supposed to be an environment variable but a value inside a config file. This adds the platform dependent logic to Ghost, so we can abstract it away nicely using the `GHOST_ISystemPaths` interface. Getting the desktop directory for example can now easily be done with: `GHOST_getUserSpecialDir(GHOST_kUserSpecialDirDesktop).` For now I added the logic for desktop, documents, downloads, videos, images and music directories, even though we only use the Documents one. We can extend/ change this as needed, it's easy to do now. On Windows and macOS, it uses pretty much the same way to access the directories as elsewhere already. On Linux, it uses the `xdg-user-dir` command that seems to be available by default on most Linux systems. No functional changes. The new queries are not actually used yet. Differential Revision: https://developer.blender.org/D9800 Reviewed by: Brecht Van Lommel |
December 11, 2020, 14:57 (GMT) |
Merge branch 'master' into greasepencil-object |
December 11, 2020, 14:53 (GMT) |
GPencil: Add Link support to Effects using Ctrl+L The effects were not supported in this operator, but it was supported in the Outliner. Differential Revision: https://developer.blender.org/D9824 |
December 11, 2020, 14:32 (GMT) |
Fix T82881: Paint mask 'deselect on nothing' missed viewport update Was failing for weightpaint and vertexpaint. Selection flags were actually changed, but the update in the viewport wasnt immediate, leading to confusion when the update happened later (e.g. when using the weight gradient tool as done in the report). We need to tag ID_RECALC_SELECT and send ND_SELECT notifier here. This could be done explicitly, but there is also existing functionality available that does this. Note: the way updates happen for paintfaces vs. paintverts looks a bit inconsistent (so this could be part of a later cleanup commit) Maniphest Tasks: T82881 Differential Revision: https://developer.blender.org/D9631 |
December 11, 2020, 13:11 (GMT) |
UI: Correct help text in the Parent panel Tracking Axis and Up Axis were still referring to duplis (DupliFrame) - changed it to be in line with Aaron's info about them in our manual |
December 11, 2020, 12:24 (GMT) |
Cycles: Add CPU+GPU rendering support with OptiX Adds support for building multiple BVH types in order to support using both CPU and OptiX devices for rendering simultaneously. Primitive packing for Embree and OptiX is now standalone, so it only needs to be run once and can be shared between the two. Additionally, BVH building was made a device call, so that each device backend can decide how to perform the building. The multi-device for instance creates a special multi-BVH that holds references to several sub-BVHs, one for each sub-device. Reviewed By: brecht, kevindietrich Differential Revision: https://developer.blender.org/D9718 |
December 11, 2020, 11:42 (GMT) |
Using cyHeap for own solution This is a temporary solution to isolate the difference between cyHeap and BLI_heap |
December 11, 2020, 11:29 (GMT) |
Remove pow2 "followed" by sqrt |
December 11, 2020, 11:21 (GMT) |
Fix critical bug The function was weighting the wrong point |
December 11, 2020, 11:08 (GMT) |
Silence warnings in cyHeap.h |
December 11, 2020, 11:05 (GMT) |
Remove template from cyHeap.h |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021