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
2020-03-10Fix T74525: Fluid caches overwrite each other by defaultJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D7093
2020-03-10Fix T74601: Cut Particles to Shape fails for transformed objectCampbell Barton
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: use 'BKE_' prefix for BKE_deform API callsCampbell Barton
- Use 'BKE_object_defgroup' prefix for object functions. - Rename 'defvert_verify_index' to 'defvert_ensure_index' since this adds the group if it isn't found.
2020-02-28Fix T72404: particle brush size radial control mismatch on high DPI displayYevgeny Makarov
2020-02-28Objects: make evaluated data runtime storage usable for types other than meshBrecht Van Lommel
This is in preparation of new object types. This only changes mesh_eval, we may do the same for mesh_deform_eval and other areas in the future if there is a need for it. This previously caused a bug in T74283, that should be fixed now. Differential Revision: https://developer.blender.org/D6695
2020-02-28Revert "Objects: make evaluated data runtime storage usable for types other ↵Brecht Van Lommel
than mesh" This reverts commit f2b95b9eae2ee913c99cff7595527b18d8b49d0a. Fix T74283: modifier display lost when moving object in edit mode. The cause is not immediately obvious so better to revert and look at this carefully.
2020-02-27Objects: make evaluated data runtime storage usable for types other than meshBrecht Van Lommel
This is in preparation of new object types. This only changes mesh_eval, we may do the same for mesh_deform_eval and other areas in the future if there is a need for it. Differential Revision: https://developer.blender.org/D6695
2020-02-14Particle editmode: add mouse independent "Select Linked" operatorPhilipp Oeser
The current "Select Linked" operator works based on mouse position and makes no sense to call from the menus and was removed in rBdd9dfadaac9b. This patch adds an operator independent from mouse position that just selects all keys to a corresponding point (and adds back menu entries, adds keymap entry). The original operator is renamed to 'select_linked_pick' internally (this is now more in line to how "Select Linked" works for meshes, curves etc) Differential Revision: https://developer.blender.org/D6823
2020-02-12Particles: remove unused sel_col and nosel_col fromPhilipp Oeser
CacheEditrPathsIterData and PTCacheEdit Followup to 80cecee5b7c8. ref D6725
2020-02-12Fix T68788: Particle Edit Mode Hair vertex doesn't follow vertex themePhilipp Oeser
color Selection and grooming only ever happens on hair keys (vertices), so makes sense to use that theme color. Sidenote: `CacheEditrPathsIterData` and `PTCacheEdit` have `sel_col` and `nosel_col`, these can go, will do in a separate commit. Maniphest Tasks: T68788 Differential Revision: https://developer.blender.org/D6725
2020-02-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2020-02-09Fluid: Fixes for fluid guidingSebastián Barschkis
Fluid guiding functionality was broken in the bake / read cache loop in fluid.c. Committing this to the release branch as otherwise fluid guiding would not have worked as expected (i.e. not at all).
2020-02-04Fluid: Improved baking progress bar UISebastián Barschkis
The baking progress bar now uses the entire notification space in the UI. Before, old reports could still be visible when a bake job got started. This had the disadvantage that those message got frozen too with the bake UI freeze.
2020-01-29Fluid: Fixes for flow objects and initial velocitiesSebastián Barschkis
This commit cleans up the flow emission code (i.e. the code that determines where flow is generated). It also addresses an issue with initial velocities. Related issues (that might be fixed through this commit) are: T73422, T72949
2020-01-21Fix T72216 Copied Particles not refreshing in the viewportSybren A. Stüvel
The depsgraph was not tagged for relations update after the copy, which means it was incomplete and thus didn't update the copied particle sim.
2020-01-16Cleanup: unused warningsCampbell Barton
2020-01-15Fix T72970: [Mantaflow] When changing the domain settings, the current frame ↵Sebastián Barschkis
of the scene is set to 1
2020-01-15Fluid: Additional fix for relative cache pathsSebastián Barschkis
2020-01-15Fluid: Additional fix for relative cache pathsSebastián Barschkis
Added missing conversion from relative to absolute paths.
2020-01-15Fluid: Fix for relative cache pathsSebastián Barschkis
Relative paths in the cache are no longer converted into absolute paths automatically.
2020-01-08Fix T72235: crash entering particle editmode with non-valid PTCacheEdit psys ↵Philipp Oeser
pointer Caused by own rBe02ecd599bdc. Can happen with e.g. cloth. Also fixes T59583 Maniphest Tasks: T72235, T59583 Differential Revision: https://developer.blender.org/D6547
2019-12-19Fix (unreported) hair particle 'Delete Edit' missing children hairPhilipp Oeser
updates in particle editmode Particles themselves were cleared correctly but this was not tagging batch cache dirty. Might move this to a utility function later [since it is used in more places], but that is for after going over some more reports... Reviewers: sergey Differential Revision: https://developer.blender.org/D5925
2019-12-19Fix particle editmode undo not doing proper updates when child particlesPhilipp Oeser
are visible Not freeing PTCacheEdit and tagging batch cache dirty on undo will have a couple of consequences. This patch fixes: - crash deleting a particle, then undo - basically any edit (combing, ...), then undo will leave child hairs untouched - adding hairs (through mirror, add tool, ...), then undo will leave 'orphaned' child hairs See also D5755 for a related discussion Fixes the crasher mentioned in T69000 Might move this to a utility function later [since it is used in more places], but that is for after going over some more reports... Reviewers: sergey Differential Revision: https://developer.blender.org/D5912
2019-12-17Cleanup: renaming guiding -> guideCampbell Barton
The term guide makes sense on it's own in this context.
2019-12-17Cleanup: remove redundant string initializationCampbell Barton
Fixed sized strings are always initialized & this is not done elsewhere before calling BLI_path_join. Remove since it's not needed and makes it read as if the function might not initialize the output argument.
2019-12-17Cleanup: use snake case variable & function namesCampbell Barton
2019-12-17Cleanup: style, always use bracesCampbell Barton
2019-12-17Cleanup: remove contributors, license begin/end & doxy file argumentCampbell Barton
This had already been removed for all source files, recent patches re-introduced them.
2019-12-17Cleanup: compiler warningsCampbell Barton
2019-12-17Cleanup: clang-formatCampbell Barton
2019-12-17Fix linking errors WITH_MOD_FLUID=OFFCampbell Barton
2019-12-16Mantaflow [Part 6]: Updates in /blender/sourceSebastián Barschkis
A collection of smaller changes that are required in the /blender/source files. A lot of them are also due to variable renaming. Reviewed By: sergey Maniphest Tasks: T59995 Differential Revision: https://developer.blender.org/D3855
2019-12-16Mantaflow [Part 7]: Added bake configurationSebastián Barschkis
Similarly to physics_fluid.c (in same directory) which handled the baking process for Elbeem, there is now physics_manta.c which handles it for Mantaflow. There are two types of jobs: one for baking and another for freeing. The generic jobs will be used to bake / free specific parts of the simulation (e.g. bake mesh, free particles, etc.). The jobs are only being used in the "modular" cache mode where the simulation has to be baked in parts. Reviewed By: sergey Maniphest Tasks: T59995 Differential Revision: https://developer.blender.org/D3856
2019-12-10Cleanup: header guardsCampbell Barton
2019-10-17Cleanup depsgraph access in particle_edit.cPhilipp Oeser
'PE_set_data' / 'PE_set_view3d_data' would give us a depsgraph already, so use it. Also fix access to PEData->depsgraph without calling 'PE_set_data' prior. Addresses concern raised in rBcf2c09002fae. Reviewed By: sergey Differential Revision: https://developer.blender.org/D6067
2019-10-04Fix assert when deleting a RBW constraint object.Bastien Montagne
Side-reported in T70505. Code did not ensure deleted object was removed from the RBW constraints collection, leading to some invalid status (object in constraints collection but without relevant contraints data). Also fixed another issue - code deleting RBW objects would try to remove any constraint one using it as target, in a very bad and broken way, since you cannot iterate over objects of a collection while removing some... Now instead just NULLify relevant pointers... I hope it works, otherwise we'll have to take a different approach. Needless to stress again how weak the whole RBW code is in general, and regarding same object being used by RBW in more than one scene in particular, that is known broken situation anyway.
2019-10-02Revert "UI: use correct singular and plural nouns in report messages"Brecht Van Lommel
Convention is to use (s) postfix for cases where there can be one or multiple, so stay consistent with that. This reverts commit 3e8276311ed17d12e8b47b4fe8e2f68c1ce8c603.
2019-10-01UI: use correct singular and plural nouns in report messagesYevgeny Makarov
Differential Revision: https://developer.blender.org/D5729
2019-09-30Cleanup: spellingCampbell Barton
2019-09-26Cleanup: clang format for particle loop macrosPhilipp Oeser
See https://developer.blender.org/D5903 Reviewers: JacquesLucke
2019-09-26Fix T68645: Hair Particle Edit - Particle Mirror crash when children arePhilipp Oeser
visible in the viewport Seems to be an issue of not correctly freeing the PTCacheEdit (see T68645 for details), after discussion with sergey we went with the quick and dirty fix to free the path cache early for now. Other solution of freeing it in 'psys_cache_paths' for the non-evaluated psys [which would also fix the particle delete, then undo crash from T69000] needs more deep investigation and, possibly, reconsideration. Reviewers: sergey Maniphest Tasks: T68645 Differential Revision: https://developer.blender.org/D5755
2019-09-26Fix T69488: Hair particles: rekey disolves the hair then crashesPhilipp Oeser
Caused by rB914427afd512. Since above commit 'pe_get_current' checks for an active depsgraph. This caused the skipping of handling `PT_CACHE_EDIT_UPDATE_PARTICLE_FROM_EVAL`for everything calling `PE_get_current` (this passes a NULL depsgraph as opposed to `PE_create_current`). So we now pass a depsgraph here as well... Note there are two RNA cases where we pass NULL, namely - rna_ParticleEdit_editable_get - rna_ParticleEdit_hair_get I guess these should be fine though (no functional change to current master) Reviewers: sergey Maniphest Tasks: T69488 Differential Revision: https://developer.blender.org/D5752
2019-09-26Fix T70259: Hair particle point selection if 'use_fade_time' is setPhilipp Oeser
If fade_time is used, particles would be flagged PEK_HIDE (depending on time settings), but since this is not respected in drawing in 2.8 yet the user would have no indication of them keys being hidden. Also doing this for hair doesnt make much sense anyways... Reviewers: jacqueslucke Maniphest Tasks: T70259 Differential Revision: https://developer.blender.org/D5901
2019-09-26Fix particle lasso selecting non-visible keysPhilipp Oeser
Even though hidden/faded keys are not supported in drawing in 2.8 yet, the selection tools should not be able to select non-visible keys. Spotted while looking into T70259 Reviewers: JacquesLucke Differential Revision: https://developer.blender.org/D5902
2019-09-18Fix excessive dependency graph evaluation while painting strokesBrecht Van Lommel
Particularly noticeable when vertex painting with a subsurf modifier. In some cases every sculpt or paint stroke step would evaluate the dependency graph. This should only happen for redraws. Now more selectively choose if the dependency graph should be evaluated to initialize the view context. Doing it in the view context evaluation is somewhat hidden, now it's more explicit. Differential Revision: https://developer.blender.org/D5844
2019-09-18Fix (unreported) missing viewport update deleting a particlePhilipp Oeser
If children hairs were displayed in particle editmode, these would not update when a particle was deleted. Reviewers: sergey Differential Revision: https://developer.blender.org/D5840
2019-09-14Cleanup: use const args, variablesCampbell Barton
2019-09-12Fix T69582: Empties no longer support Rigid Body ConstraintsPhilipp Oeser
This is caused by rB1342d1879e12 and would also break the whole "Connect" workflow [which relies on empties] Reviewers: mont29, brecht Maniphest Tasks: T69582 Differential Revision: https://developer.blender.org/D5772
2019-09-11Cleanup: typo/spellingPhilipp Oeser