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-14Fluid: Enabled OpenVDB precision argumentSebastián Barschkis
This way particles can be saved with the custom OpenVDB precision options that were introduced in the latest Mantaflow update.
2020-10-13Fixes T81670: Sculpt paint vertex colors brush does not switch to secondary ↵Philipp Oeser
color using CTRL This was just not implemented. Now make this consistent with vertexpainting / texturepainting. Maniphest Tasks: T81670 Differential Revision: https://developer.blender.org/D9195
2020-10-13Sculpt: Use plasticity for softbody influencePablo Dobarro
Previously the softbody strength property was controlling the strength of the constraints that pin all vertices to the original location. This was causing problems when the forces were trying to deform the vertices too much, like when using gravity or grab brushes. Now softbody is implemented with plasticity, which creates constraints to a separate coordinates array. These coordinates are deformed with the simulation, and the plasticity parameter controls how much the simulation moves the coordinates (plasticity 0), or the coordinates move the simulation back to its previous position (plasticity 1). This creates much better and predictable results and adding softbody plasticity to the brushes can increase its control and the stability of the simulation. Reviewed By: sergey, zeddb Differential Revision: https://developer.blender.org/D9187
2020-10-13Fix (unreported) LibOverride: possible uninitialized return variable.Bastien Montagne
2020-10-13Fix T81674: LibOverride: 'Define Override' UI operation can crash.Bastien Montagne
Case where RNA is not able to generate a proper path for a property was not taken into account properly.
2020-10-13Cleanup: Use doxygen sections in space_buttons.cHans Goudey
2020-10-13Property Search: Find results in all tabsHans Goudey
This patch enables property search for all tabs in the property editor. To make interaction faster, if the editor's current tab doesn't have a result, the current tab changes to the next tab that has a match. This patch implements basic code that only searches panels. While we could run the existing "single tab" property search for every tab, that would also do everything else related to the layout pass, which would be less efficient, and maybe more complicated to maintain. The search match status for every current tab of the property editor is stored in a runtime bitfield and them displayed later by dimming icons in the tab selector panel to the left. Using `BLI_bitmap` properly in the runtime struct required moving it to `buttons_intern.h` and adding a small API to access the search filter instead. To make sure the editor isn't influenced by anything that happens while building the layout for other tabs, most of the context is duplicated and the new search is run in the duplicated editor. Note that the tool settings tab works slightly different than the other tabs, so I've disabled searching it for this commit. That would be a relatively simple improvement, but would just require a bit of refactoring of existing code. Differential Revision: https://developer.blender.org/D8859
2020-10-13UI: Add highlight arguments to tab buttonsHans Goudey
This adds arguments to `uiLayout.prop_tabs_enum` and the C equivalent (`uiItemTabsEnumR_prop`) to gray out tabs based on a boolean array. For property search in multiple tabs, we need a way to show which tabs have a search result, but we still need to show which tab is active. Differential Revision: https://developer.blender.org/D8858
2020-10-13UI: Monochrome Alert Icons not changing color until theme refreshHarley Acheson
Changing the color of monochrome alert icons would not change until the theme was reloaded. Differential Revision: https://developer.blender.org/D9062 Reviewed by Harley Acheson
2020-10-13EEVEE: Motion Blur: Add shutter position optionClément Foucault
This makes it easier to generate motion trail effect with EEVEE. This just mimics the cycles option as described here: https://docs.blender.org/manual/en/latest/render/cycles/render_settings/motion_blur.html This fix T80070
2020-10-13Fix T80086 EEVEE: Motion Blur: Subframe not taken into accountClément Foucault
This is a simple fix that just make it work like cycles. The initial time was missing the subframe offset.
2020-10-13Cleanup: Remove unused properties from node Viewer Region operatorJulian Eisel
The operator would define the `deselect` and `extend` properties, without actually using them. It's confusing to have them in the keymap item UI.
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.