Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-27Merge branch 'master' into refactor-idprop-ui-datarefactor-idprop-ui-dataHans Goudey
2021-08-27Fix loading packed fonts for sequencer stripsCampbell Barton
2021-08-27Cleanup: use early returnCampbell Barton
2021-08-27Fix sequencer font loading using an unexpected pathCampbell Barton
Reuse the existing font loading function which handles this case.
2021-08-27Modifier: smooth interpolation supportHenrik Dick
Add an option to the mask modifier to use the vertex weights to generate smooth in between geometry, instead of just deleting non complete faces. This can be used to make all sorts of smooth dissolve animations directly with geometry, which are usually hacked together with shaders. It also allows for implicit function plotting using geometry nodes and boolean like operations on non manifold geometry with the proximity modifier. Reviewed By: campbellbarton Ref D10979
2021-08-27Cleanup: warningsCampbell Barton
2021-08-26Fix T90973: GPencil - Add buttons to move up and down vertex groupsAntonio Vazquez
These buttons were in Meshes but not for Grease Pencil. This patch add them in order to keep consistency. Reviewed By: HooglyBoogly Maniphest Tasks: T90973 Differential Revision: https://developer.blender.org/D12328
2021-08-26UI: Consistent Area Move Snapping LocationsHarley Acheson
Change Area Move snapping locations to even 12ths, rather than current eights and thirds, so snap distances are consistent sizes. Also adds snapping at minimum and maximum locations. see D11938 for details and illustrations. Differential Revision: https://developer.blender.org/D11938 Reviewed by Hans Goudey
2021-08-26Fix error in last commmitGermano Cavalcante
2021-08-26Fix T90817: Object Picker Doesn't Work on Second windowGermano Cavalcante
Solution similar to the one seen in {rBb94ab93dfb82}. The idea is to find the window and region under the cursor to use in the operator. Reviewed By: brecht Maniphest Tasks: T90817 Differential Revision: https://developer.blender.org/D12310
2021-08-26Cleanup: split eyedropper_color_sample_fl into more specific utilitiesGermano Cavalcante
The window and region find utility can be used in other eyedropper operators.
2021-08-26Cleanup: return window in 'WM_window_find_under_cursor'Germano Cavalcante
This better matches other functions like `BKE_screen_find_area_xy`.
2021-08-26PyAPI: GPU: expose clip distancesGermano Cavalcante
Now you can get a shader that uses Clip Planes and set the number of Clip Distanes with `gpu.state.clip_distances_set(value)`.
2021-08-26Cleanup: Use `ID_IS_LINKED` instead of direct `id.lib` pointer check.Bastien Montagne
2021-08-26Add locking fallback atomics implementationSergey Sharybin
Is used for platforms for which we do not have native implementation, such as MIPS, for example. It is possible to test locking implementation on local computer by defining `ATOMIC_FORCE_USE_FALLBACK` in the atomic_ops_unix.h file. Run full regression suit with the locking implementation on amd64 Linux platform and all tests passed. Having non-optimal but working implementation for odd-ball platforms seems to be a better choice than failing the build entirely. Differential Revision: https://developer.blender.org/D12313
2021-08-26Fix T90959: crash when hovering over empty data block socketJacques Lucke
2021-08-26Cleanup: use BLI_UTF8_MAX defineCampbell Barton
2021-08-26Cleanup: add ATTR_WARN_UNUSED_RESULT to BLI_string_utf8.hCampbell Barton
2021-08-26Decouple highlighted tiles from RenderPartSergey Sharybin
Should be no visible change on user side. Preparing for render parts removal as part of Cycles X project. Differential Revision: https://developer.blender.org/D12317
2021-08-26Fix issues with absolute time unitPhilipp Oeser
I think there are the following issues with {rB5fa6cdb77a98}: - if we introduce a PROP_UNIT_TIME_ABSOLUTE unit, shouldnt it be visible to RNA as well? - seems like a double entry sneaked into that commit? This is in preparation to use this for render time limit in cycles-x. ref. T90701 Maniphest Tasks: T90701 Differential Revision: https://developer.blender.org/D12315
2021-08-26Cleanup, quiet compile warningsKévin Dietrich
2021-08-26Cleanup: unused function from 082ddc9379b2bdc963635c1109fbd6c6bce91eedCampbell Barton
2021-08-26ToolSystem: increase the inset tool sizeCampbell Barton
The inset tool requires moving the cursor towards the center of the selection, making it nearly impossible to use the inset tool when the view was aligned with the vertical handle. Use custom settings for VIEW3D_GGT_tool_generic_handle_free to make it draw hollow, as large as the scale tool. Resolves T87991.
2021-08-26ToolSystem: support per-tool gizmo group propertiesCampbell Barton
Also add gizmo group example to the tool-template.
2021-08-26Cleanup: redundant update calls adding objectsCampbell Barton
These update calls are already performed by ED_object_add_type_with_obdata.
2021-08-26Fix "Text to Object" creating invisible objectCampbell Barton
Newly created objects would not become visible until another action forced a depsgraph update.
2021-08-26Cleanup: soft CMake file listsCampbell Barton
2021-08-26Cleanup: sort struct blocksCampbell Barton
2021-08-26Cleanup: warningsCampbell Barton
2021-08-26Cleanup: use C style comments for descriptive textCampbell Barton
2021-08-26Cleanup: remove deprecated flag use in colladaCampbell Barton
2021-08-26Cleanup: spelling in commentsCampbell Barton
2021-08-26Cleanup: clang-formatCampbell Barton
2021-08-26Fix T90915: outliner select behaves as if Ctrl is heldCampbell Barton
Error in 452cc0193255c9e80ca4f163a2d524ed6bb17ef1
2021-08-26Cleanup: Refactor proximity node to be more data type agnosticHans Goudey
Before, distances from each component were handled in the same loop, making it more complicated to add support for more component types in the future (and probably hurting performance by dealing with two BVH trees at the same time, though I didn't test that). Now each component is handled in a separate function, so that adding support for another component type is much simpler.
2021-08-25BLF: Remove ASCII-only Code PathsHarley Acheson
Remove redundant code for drawing text strings that contain only ASCII. See D12293 for much more detail. Differential Revision: https://developer.blender.org/D12293 Reviewed by Campbell Barton
2021-08-25Windows/Ninja: Optimize linker performanceRay Molenkamp
The /Zc:inline flag is by default off in the MSVC compiler however when you build with msbuild it adds it to the build flags on its own. Ninja however does not decide on its own to add flags you didn't ask for and was building without this flag. This change explicitly adds the compiler flag so msbuild and ninja builds are once more building with the same build flags leading to smaller .obj files when building with ninja and lightening the workload for the linker. This flag is available starting MSVC 2013 update 2 so does not need to be guarded with version checks.
2021-08-25Fix wrong length value in the header of the Move operatorGermano Cavalcante
Missed in {rB0d36439f95c0}.
2021-08-25Fix T90248: missing depsgraph update tag for node groupJacques Lucke
The code assumed that when a node group is is at the highest level in the node editor, then it is embedded into another data block and can't be referenced by other node groups. This is true for shader and compositor nodes, but not for geometry nodes.
2021-08-25Fix T90911: Move along axis does not display real distance unitsGermano Cavalcante
Variable was wrongly set to 0. Caused by {rB7192e57d63a5}.
2021-08-25Cleanup and remove SEQ_ALL_BEGIN macroSebastian Parborg
We now use a for_each function with callback to iterate through all sequences in the scene. This has the benefit that we now only loop over the sequences in the scene once. Before we would loop over them twice and allocate memory to store temporary data. The allocation of temporary data lead to unintentional memory leaks if the code used returns to exit out of the iteration loop. The new for_each callback method doesn't allocate any temporary data and only iterates though all sequences once. Reviewed By: Richard Antalik, Bastien Montagne Differential Revision: http://developer.blender.org/D12278
2021-08-25Cleanup: else-after-returnJacques Lucke
2021-08-25T90908: Reduce loading times when extracting thumbnails from Blendfiles.Jeroen Bakker
Previously when loading an thumbnails for an asset the whole file was read. Reason this was done was perhaps a future idea to load all thumbnails inside a blendfile in a single go. This was never implemented and currently unneeded disk and cpu cycles was spend with finding out what preview to load. This patch adds an early break when the thumbnail that the caller is interested in has been found. This improves the thumbnail extraction when looking into large files. Reviewed By: mont29 Maniphest Tasks: T90908 Differential Revision: https://developer.blender.org/D12312
2021-08-25XR: Enable controller profile extensionsPeter Kim
Enables all currently documented OpenXR controller profile extensions (Reverb G2, Vive Cosmos, Huawei Controller) in order to support bindings for more VR hardware. This is necessary because, if these extensions are not enabled, the OpenXR runtime will return an error when creating a binding with one of these profiles. Does not bring about any changes for users at the moment, since default controller actions have not yet been exposed to users (will be addressed with D10944, D10948, and D11271).
2021-08-25XR: Improve "Invalid stage ref space" warningPeter Kim
Originally mentioned that absolute tracking was disabled, which is wrong because absolute tracking (skipping application of eye offsets) is always available, although it may not give the expected result of persistent tracking origins across sessions if the stage space is unavailable (hence the need for a warning). Now, the warning makes no mention of absolute tracking, instead informing the user that the local space fallback will be used and that they should define tracking bounds via the XR runtime if they wish to use the stage space.
2021-08-25Fix: Crash on file read with active VR sessionPeter Kim
Add null check for runtime data since it could already have been freed via wm_xr_exit() (called on file read) prior to the session exit callback. Also, fix potential memory leak by freeing session data in wm_xr_runtime_data_free() instead of session exit callback.
2021-08-25Fix: XR action map memory leaksPeter Kim
This fixes two memory leaks related to XR action maps. 1. Freeing of action maps needs to be moved from wm_xr_exit() to wm_xr_runtime_data_free() since the runtime may have already been freed when calling wm_xr_exit(). 2. Action bindings for action map items were not being freed. This was mistakenly left out of e844e9e8f3bb since the patch needed to be updated after d3d4be1db3a0.
2021-08-25Fix: Incorrect declaration of XrActionMaps RNAPeter Kim
This fixes a mistake in the XrActionMaps RNA struct declaration. Originally, the XrActionMaps struct SDNA was set as wmXrData to get access to wmXrRuntimeData. However, this doesn't give a valid pointer and the XrSessionState RNA pointer needs to be passed instead. Since XrSessionState itself does not have SDNA, it is necessary to pass the XrSessionState pointer to the XrActionMaps struct functions (new(), new_from_actionmap(), ...) instead of simply using RNA_def_struct_sdna().
2021-08-25Cleanup: skip saving selection properties set in the keymapCampbell Barton
Having settings such as "extend" saved between executions causes keymaps that don't include this setting to remember the value between execution. No longer store this setting for selection operations & remove redundant values from the key-maps, see: T90275.
2021-08-25Cleanup: Mentioning incorrect source file in comment.Jeroen Bakker
Code mentions that ID_* were defined in DNA_ID.h but are actually defined in DNA_ID_enums.h.