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
path: root/source
AgeCommit message (Collapse)Author
2020-10-13Fix T81672: Array modifier default merge distance is 0.1m (typo)Philipp Oeser
Seems to be an oversight/typo in rB83980506957c. Now set back to 0.01m (as it was before). Maniphest Tasks: T81672 Differential Revision: https://developer.blender.org/D9193
2020-10-13Fix T81656: Crash relocating a linked library into the current .blendPhilipp Oeser
A .blend file cannot use itself as a library. This is prevented when linking manually, but was still possible when relocating, which is now prevented. Maniphest Tasks: T81656 Differential Revision: https://developer.blender.org/D9191
2020-10-13Cleanup: remove redundant assignment in SCULPT_brush_test_initPhilipp Oeser
As discussed in D9120, this was an oversight in rBe0c792135adf, the same assignment already happens a couple of lines above.
2020-10-13Fix sculpting/painting with viewport clipping and radial symmetryPhilipp Oeser
This was reported for sculpting, the same is true for weightpaint or vertexpaint though. When viewport clipping and radial symmetry are enabled, the 'sculpt_brush_test_clipping()' function was not considering radial symmetry at all, so if the coordinate was outside the clipping planes, no action would take place. Now the coordinte is brought back to where the stroke actually happens and that is checked against clipping. Since other mirroring options while painting/sculpting (as well as editmode operations with mirroring) usually still take place even if the mirrored coord is outside the clipping planes, this should also be the case for radial symmetry. This grows the 'SculptBrushTest' struct a bit, but should be acceptable? Fixes T81466 Maniphest Tasks: T81466 Differential Revision: https://developer.blender.org/D9120
2020-10-13Fix (unreported) liboverride of an object hiding its dependencies.Bastien Montagne
When we override a whole collection, we want to add non-instantiated objects to a hidden sub-collection at the end of the process. However, this makes no sense when instantiating an object, if other dependencies objects get also overridden on the process, we should just add them to the same collection owning the root object.
2020-10-13Fix (unreported) broken 'make override' of objects in master collection.Bastien Montagne
Master collections are not in Main list of collections, so we also need to check the scenes.
2020-10-13Cleanup: Fix typo in function name.Bastien Montagne
2020-10-13Fix T81669: Vertex size in UV Editor changes using Face Dot Size in themesPhilipp Oeser
Probably copy-paste error in rBd6525e8d133b. Maniphest Tasks: T81669 Differential Revision: https://developer.blender.org/D9190
2020-10-13Fix T81288:Select Linked fails with multi-object edit modeCampbell Barton
Changing options after using select-linked didn't work when the object being selected wasn't the active object.
2020-10-13Cleanup: use BKE_fcurve_ prefix for keyframing bezier functionsCampbell Barton
- BKE_bezt_subdivide_handles -> BKE_fcurve_bezt_subdivide_handles - binarysearch_bezt_index -> BKE_fcurve_bezt_binarysearch_index These functions are specific to F-Curves and don't make sense for other uses of BezTriple (curve-object data for e.g.) Also: - Move detailed doxygen comment above code, following code-style. - Mark bezt_add_to_cfra_elem unused.
2020-10-13Fix T81467: Crash with KD-Tree Weld ModifierGermano Cavalcante
The problem is related to the `use_index_order` option of `BLI_kdtree_3d_calc_duplicates_fast`. With this option, the higher index is expected to be less than `tree->nodes_len`.
2020-10-13Fix T81589: Correct drag type handling in outlinerRobert Guetzkow
Blender crashed when dragging and dropping color into the outliner. This issue was cause by a missing check for the correct drag type in `datastack_drop_poll`. The check is added in this commit. Additionally, a new drag type is introduced for the "data stack" drag option, that was introduced in commit 1572da858df4, to differentiate it from the existing WM_DRAG_ID type. Reviewed By: Severin Differential Revision: https://developer.blender.org/D9169
2020-10-13UI: Monochrome Alert Icons and use the Question icon in the Quit dialogYevgeny Makarov
Change to monochrome version of the large alert icons and use 'Question' for the the Quit Confirm dialog box. Differential Revision: https://developer.blender.org/D9062 Reviewed by Pablo Vazquez
2020-10-12Cleanup: remove duplicate codeJacques Lucke
This code segment is exactly the same as above. Looks like it was copied accidentally.
2020-10-12UI: Remove Hard-coded Default Font SizeHarley Acheson
Default text output routines (which do not specify a size) will now use Text Style point size. Differential Revision: https://developer.blender.org/D9107 Reviewed by Brecht Van Lommel
2020-10-12Cleanup: Rename outliner helper functionJulian Eisel
This name makes more sense and is consistent with related functions (e.g. `outliner_requires_rebuild_on_select_or_active_change()`).
2020-10-12Fix T81555: Outliner object state filter not updating correctlyJulian Eisel
When changing the selected, active or visible object(s), the Outliner has to be rebuilt while using the corresponding object state filters. The object hiding operators also have to send the proper notifiers (they changed visibility without notifying about that).
2020-10-12Animation: fix assertion failure on unsetting active keyframeSybren A. Stüvel
Avoid NULL pointer dereference when checking keyframe selection state in `BLI_assert()` call.
2020-10-12Cleanup: split `animchan_sync_fcurve()` into smaller functionsSybren A. Stüvel
Split `animchan_sync_fcurve()` into functions for handling Scenes and Node Trees. No functional changes.
2020-10-12Animation: enforce that the active keyframe is always selectedSybren A. Stüvel
Check selection state in `BKE_fcurve_active_keyframe_index()`, and only return the active keyframe index when that keyframe is actually selected. This is now also asserted in the `BKE_fcurve_active_keyframe_set()` function, which is now also used when inserting a keyframe.
2020-10-12Fix T80599 Blender Cloud folder text on the screen very smallClément Foucault
This was caused by BLF conflicting with BGL api change.
2020-10-12Cleanup: CMake: Remove arguments from endif(..)Ankit Meel
No functional change. Added in {rB1f6b7387ad01}
2020-10-12File Browser/macOS: Don't treat .app as directoryAnkit Meel
While there are other bundles which show up as directories, `.app` are the most common ones. *Users should not be saving anything inside .app bundles, nor using Blender to edit any of the files. *This declutters the File Browser for say ~/Applications folder or recursive search on a path with apps. *Matches Finder's behavior of showing apps as files. (We don't have a "right click > show package contents" button like Finder though) This change shows `.app` files like incompatible files, or `.exe`s on Windows. {F8970986} Reviewed By: #platform_macos, brecht, mont29 Differential Revision: https://developer.blender.org/D9162
2020-10-12BLI: support looking up a key from a set or adding it when not existantJacques Lucke
2020-10-12Overlay: Fix Line antialiasing broken for some objectsClément Foucault
Fix regression introduced in rBe12767a0352a9e113892b4a07c6c8446d3ff361f The volumes are not a line type and should not be render into the line framebuffer nor it should change the framebuffer.
2020-10-12Cleanup: use openvdb matrices properlyJacques Lucke
Before I was double confused about how openvdb stores its transformation matrices. Now, I know they have the same layout physically in memory, but are logically transposed (i.e. the translation is in the last row instead of in the last column).
2020-10-12Animation: always try to match the existing curve when inserting keysSybren A. Stüvel
Previously Blender would only match the existing curve slope when the to-be-inserted key value was already very close to the curve. This check is now removed, allowing for sliders in the graph editor to subtly change the curve, and for keyframes added with ctrl+click to follow the curve better.
2020-10-12Fix T81060: CustomData Correction sometimes breaks UVs and Vertex ColorsGermano Cavalcante
`CustomData_bmesh_interp` use the same CustomData decryptor (in this case, `bm->ldata`) in both blocks. So make sure that all CustomData layers match. This commit also removes redundant `BM_elem_attrs_copy_ex` calls. Maniphest Tasks: T81060 Differential Revision: https://developer.blender.org/D9159
2020-10-12Volumes: reduce step and default of strength in Volume Displace modifierJacques Lucke
The strength has a high impact on performance. With the previous step and default one could easily and accidentally make Blender unusably slow, because of a too high displacement strength.
2020-10-12Animation: avoid WM notification when nothing changedSybren A. Stüvel
Avoid WM notification when a dummy channel is clicked in the animation channel list (dopesheet, graph editor) if that channel has no animation data.
2020-10-12Cleanup: Animation, small cleanups on anim channel selection codeSybren A. Stüvel
Clean up some code by using early returns. No functional changes.
2020-10-12Cleanup: Animation, split `mouse_anim_channels()` into separate functionsSybren A. Stüvel
Clean up the code that handles mouse clicks on animation channels in the non-NLA animation editors, by splitting into separate functions. No functional changes.
2020-10-12Volumes: use bounding box diagonal to compute adaptive voxel sizeJacques Lucke
Using the diagonal has the benefit, that the adaptive voxel size changes when the bounding box changes its shape in any way. Having a changing voxel size looks bad when rendering an animation, therefore one should usually use a fixed voxel size when rendering an animated volume. This becomes apparent earlier, when the adaptive voxel size changes when the bounding box changes in any way. Otherwise this can easily go unnoticed when rendering only a few frames of an animated volume.
2020-10-12Pydoc: Move builtin GPU shader information to codeAaron Carlisle
This fixes a compile warning for sphinx. This commit includes some reformating of the information.
2020-10-12Cleanup: Pydoc stringsAaron Carlisle
2020-10-11Cleanup: make formatAaron Carlisle
2020-10-10Exact Boolean: let Collection be empty.Howard Trickey
With an empty collection, Exact Boolean performs the useful function of removing self-intersections.
2020-10-10Cleanup: use macro for comparing file versionsCampbell Barton
Already done in most of the versioning code.
2020-10-10Cleanup: spellingCampbell Barton
2020-10-10Cleanup: remove unused Modifier stackindex struct memberCampbell Barton
2020-10-10Cleanup: remove unnecessary commentsCampbell Barton
2020-10-10Cleanup: use C comments for descriptive textCampbell Barton
Follow our code style guide by using C-comments for text descriptions.
2020-10-10Cleanup: Declare variables where initializedHans Goudey
2020-10-10Fix T81545: Moving nested collections changes view layer flagsHans Goudey
The code that restored collection flags after they are rebuilt when moving a collection didn't take into account collection children. The flag for the active collection was properly restored, but all of its children would take on the exclude flag of the collection the active collection was dragged into. This commit builds a temporary tree structure to store the flags for the moving collection and its children. Then it reapplies these flags after `BKE_main_collection_sync`. Differential Revision: https://developer.blender.org/D9158
2020-10-09Cleanup: Declare variables where initializedHans Goudey
Also use LISTBASE_FOREACH macro in a few places.
2020-10-09Cleanup: Use LISTBASE_FOREACH macroHans Goudey
2020-10-09Cleanup: alias: use const, remove unused variable.Ankit Meel
`targetIsDirectory` slipped through the code review of {D6679}/{rBafb1a64ccb81}. `BLI_is_dir` exists to check for directory status of a file. Remove some `else-after-return`s. Use `r_` prefix for return value arguments, and move it to the end in the list of arguments.
2020-10-09Fix T81573: Users refcount not incremented when creating a proxy.Bastien Montagne
Proxies are refcounting usages of objects, historical code was apparently missing that.
2020-10-09GPU: Add more safeguard for BGL callsClément Foucault
This makes sure no BGL call before window drawing locks the GPUState.
2020-10-09Fix New Boolean bug that left some stray vertices.Howard Trickey
The routine to find dissolvable vertices had a check to ensure that the vertex was exactly in line with the two neighbors. I have convinced myself that this check is unneccesary (it was failing with only a 1e-9 difference from 0 on a cross check), so have removed it.