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-03-09Transform Snap Object: Remove depsgraph when creating contextGermano Cavalcante
Currently, this change does not bring functional changes. But it is necessary to extend the use of the snap system for gizmos, since, after a Undo, the `depsgraph` pointed by the `snap_context` has its memory invalidated. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D7013
2020-03-09Cleanup: ParticleSettings: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-09Cleanup: PaintCurve: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-09Cleanup: CacheFile: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-09Cleanup: WorkSpace: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-09Cleanup: WindowManager: Move to IDTypeInfo and remove unused WM API.Bastien Montagne
Getting rid of one static 'registered' callback in BKE, yeah!
2020-03-09Revert "Constraints: remove special meaning of Local Space for parentless ↵Sybren A. Stüvel
Objects." This reverts commit 7728bfd4c45c634ba6b62e149176425ec5779945. Although this brings back an inconsistency in the behaviour of constraints on objects and bones, people were relying on the old behaviour, and the new behaviour broke their files. It is still desired to remove this inconsistency, but it will happen more gradually.
2020-03-08Cleanup: Sound: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-08Cleanup: Speaker: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-08Fix T74395: Box interpolation does not support repeat extrapolationJacques Lucke
Reviewers: fclem Differential Revision: https://developer.blender.org/D7009
2020-03-08Cleanup: comments in main()Campbell Barton
Clarify references to functions.
2020-03-08Revert "Outliner: Allow deleting entire selection"Campbell Barton
This reverts commit 62f238a65e334ccecae85134da0b05ba58382ae9. This prevents undo steps from being stored.
2020-03-08Outliner: Allow deleting entire selectionNathan Craddock
This allows deleting both collections and objects in the outliner selection at the same time. This only works using the keyboard shortcuts (X or Delete). While this works, a more robust solution should be implemented later to allow deleting the whole selection from the context menu as well.
2020-03-07Cleanup: Outliner: Remove unused parameterNathan Craddock
Searching back in the outliner did not require the unused SpaceOutliner parameter.
2020-03-07Fix T74513: Wrong naming in some Face Set comments and operatorsPablo Dobarro
Missing changes from one of the renamings of the initial face sets patch. Reviewed By: brecht Maniphest Tasks: T74513 Differential Revision: https://developer.blender.org/D7054
2020-03-07Fix T74501: Wrong initial iteration when using mask expandPablo Dobarro
The initial iteration for all symmetry areas is always 0. We were using 1 for the main stroke, so it was 1 step behind. This was broken for expanding masks and face sets, but with face sets it is more noticeable. Reviewed By: brecht Maniphest Tasks: T74501 Differential Revision: https://developer.blender.org/D7050
2020-03-07Fix T74498: Do not iterate over hidden vertices when using the transform toolPablo Dobarro
By using PBVH_ITER_UNIQUE hidden vertices are skipped, like in the rest of the brushes and tools. Reviewed By: brecht Maniphest Tasks: T74498 Differential Revision: https://developer.blender.org/D7047
2020-03-07Fix key release event activating click-dragCampbell Barton
A handled release event could still trigger a click-drag afterwards.
2020-03-07WM: include repeat value in WM_event_printCampbell Barton
2020-03-07Cleanup: replace BLI_make_file_string with BLI_join_dirfile for the ↵Campbell Barton
file-selector In these cases the file selectors directory is already expanded.
2020-03-07Cleanup: replace BLI_make_file_string with BLI_join_dirfile where possibleCampbell Barton
Use 'BLI_join_dirfile' for joining paths that don't need to expand '//'.
2020-03-06Cleanup: VFont: Move to IDTypeInfo and remove unused BKE APIDalai Felinto
This was particularly strange because we had a _free_data() function. But still the one I replaced was of course the _free() one. And we should rename the _free_data_ function later to avoid confusions.
2020-03-06Cleanup: Text: Move to IDTypeInfo and remove unused BKE API.Dalai Felinto
2020-03-06UI: Remove Windows 3D Object Folder ReferenceHarley Acheson
Remove Windows special folder FOLDERID_Objects3D. Requires newer SDK. Differential Revision: https://developer.blender.org/D7014 Reviewed by Brecht Van Lommel
2020-03-06Cleanup: tweak Freestyle #includes in preparation for clang-format sortingDalai Felinto
2020-03-06Cleanup: Fix forward declaration of headersDalai Felinto
2020-03-06Cleanup: Rename ARegion variables from ar to regionJulian Eisel
The old convention was easy to confuse with ScrArea. Part of https://developer.blender.org/T74432. This is mostly a batch rename with some manual fixing. Only single word variable names are changed, no prefixed/suffixed names. Brecht van Lommel and Campbell Barton both gave me a green light for this convention change. Also ran clan clang format on affected files.
2020-03-06Cleanup: Image: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-06Cleanup: Texture: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-06Cleanup: Material: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-06Fix build error on windowsGermano Cavalcante
``` Error C4013 '_VA_ELEM1' undefined; assuming extern returning int ```
2020-03-06Cleanup: Action: Move to IDTypeInfo, and remove unused BKE API.Dalai Felinto
2020-03-06Cleanup: Armature: Move to IDTypeInfo, and remove unused BKE API.Dalai Felinto
2020-03-06Bring back code accidentally removed by previous commitJulian Eisel
Probably got lost when resolving merge conflicts.
2020-03-06Cleanup: Reduce context usage in UI functionsJulian Eisel
Part of https://developer.blender.org/T74429. There's a chance that this causes some issues becaue in some cases we change from getting the window from context to getting it from somewhere else.
2020-03-06Cleanup: Lattice: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-06Cleanup: MetaBall: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-06Cleanup: Curve: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-06Cleanup: Mesh: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-06Cleanup: move Alembic, AVI, Collada, and USD to `source/blender/io`Sybren A. Stüvel
This moves the `alembic`, `avi`, `collada`, and `usd` modules into a common `io` directory. This also cleans up some `#include "../../{somedir}/{somefile}.h"` by adding `../../io/{somedir}` to `CMakeLists.txt` and then just using `#include "{somefile}.h"`. No functional changes.
2020-03-06Depsgraph: remove unused no-op nodes after buildingSybren A. Stüvel
This is the companion of D7031. That patch adds a new DIMENSIONS node to the depsgraph for each object that has geometry. However, this node is only necessary when there are drivers using an object's dimensions as variable. Since this is rare, it's easiest to remove these nodes after they turn out to be unnecessary. This is what (almost) happens in this patch. Removing nodes from the depsgraph is hard, and there are no functions to do this yet. Instead, this patch recursively removes all the incoming relations from unused no-op nodes (i.e. no-op operation nodes without outgoing connections). Actually removing the nodes will be left as a future improvement. I've tested this on a Spring file [1]. Here are there results of blender --debug-depsgraph-time spring_02_055_A.eevee.blend and letting it run for a while to stabilise the reported FPS: master: 11.7 FPS Just D7031: 11.7 FPS Just D7033: 11.8 FPS Both D7031 + D7033: 12.3 FPS [1] https://cloud.blender.org/p/spring/5d30a1076249366fa1939cf1 Differential Revision: https://developer.blender.org/D7033
2020-03-06Cleanup: Move Multiplane Scrape brush to its own filePablo Dobarro
2020-03-06Fix narrowing from int to short when removing material slotSergey Sharybin
2020-03-06Sculpt: Cleanup, remove macro re-definitionSergey Sharybin
2020-03-06Fix integer overflow in BLI_mempool_as_arrayN()Sergey Sharybin
`(size_t)(int * int)` will actually cast overflown integer to size_t, which isn't what was intended here. Correct thing would be to cast in the following manner `(size_t)int * int`. In this particular case can as well use function which is designed to allocate an array of memory without overflow.
2020-03-06Cleanup: Collection: Move to IDTypeInfo, and remove unused BKE API.Dalai Felinto
Note: we still need BKE_collection_free since we call it from scene.c.
2020-03-06Cleanup: Use the SCULPT_ prefix in all sculpt_intern functionsPablo Dobarro
2020-03-06Cleanup: bScreen: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne
2020-03-06Cleanup: use ELEM macro for path slash checksCampbell Barton
2020-03-06Cleanup: bNodeTree: Move to IDTypeInfo and remove unused BKE API.Bastien Montagne