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-09-17Fix T80131: Rigid Body World Field Weights dont have a proper RNA pathPhilipp Oeser
(e.g. cannot be animated) An RNA path is mandatory for RNA_path_from_ID_to_property, and for EffectorWeights, this has to be provided using RNA_def_struct_path_func (since this struct is shared across ParticleSettings, Modifiers and Rigid Body World). Without this, the animation system cannot work and e.g. keyframes cannot be inserted. The case for Rigid Body World in rna_EffectorWeight_path was missing, now added. Rigid Body World Field Weights are capable of being animated, tested with file from T80131 (e.g. gravity, wind). Maniphest Tasks: T80131 Differential Revision: https://developer.blender.org/D8713
2020-08-30UI: Use term "Plasticity" instead of "Plastic"Aaron Carlisle
2020-08-13Fix T79653: Change soft min frame start of cache from 1 to 0Jacques Lucke
It was always possible to set it to zero by typing in the value. This new soft limit is more consistent with the fluid cache and the Scene.frame_start property.
2020-07-28Fix T79264: Mantaflow Field weights cannot be animatedPhilipp Oeser
rna_EffectorWeight_path() needs to point to "domain_settings" (instead of "settings"), was a missing change when switching the FluidModifier to mantaflow. Maniphest Tasks: T79264 Differential Revision: https://developer.blender.org/D8398
2020-07-09Fix T78718: Crash when deleting particle system modifier with the X Shortcut.Bastien Montagne
Duplication and deletion code of modifiers was totally wrong for particle system, that special weird thing needs its own custom management. Note that for now I chose not to duplicate the particle settings ID when duplicating the modifier...
2020-07-03Cleanup: Fluid renaming from old 'manta' naming to new 'fluid' namingSebastián Barschkis
Changed variable names from mmd, mds, mfs, and mes to fmd, fds, ffs, and fes. The author of this commits lights a candle for all the merge conflicts this will cause.
2020-06-19Cloth: allow forces to act parallel to cloth.Alexander Gavrilov
Currently all force effectors can only act on cloth when the force is perpendicular to the surface. This makes sense for wind, but not for other forces; and the user may want even wind to have some friction. This changes effector code to output two force vectors - although you of course can pass the same pointer for both. The force is split between the two outputs based on a new per-effector setting. Differential Revision: https://developer.blender.org/D8017
2020-06-09Cleanup: Move pointcache dna to separate fileJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D7965
2020-05-14Fluid: Rename smoke flow forces to fluid flow forcesSebastián Barschkis
Better to use more general term since in theory these forces can be used for smoke and liquid.
2020-05-08Fix T76498: Refactoring - Rename BKE modifiers funtionsAntonio Vazquez
2020-03-24Fix T64573: RNA_path_from_ID_to_property fails for pointcachesPhilipp Oeser
Give pointcaches a proper path function which e.g. also resolves ALT+click (assign to all selected) not working for anything relating to pointcaches. This also cleans up the usage of the 'eModifierTypeFlag_UsesPointCache' flag (removed from the boolean modifier, added to the softbody modifier). Maniphest Tasks: T64573 Differential Revision: https://developer.blender.org/D7115
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
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-11-05Fix T68396: Unable to change any Collision input value after it has been ↵Philipp Oeser
keyframed 'rna_CollisionSettings_update' has a history of tagging ob for update: rB79312c1912b4 ID_RECALC_TRANSFORM |ID_RECALC_GEOMETRY | ID_RECALC_ANIMATION rBf90a2123eedc OB_RECALC_OB | OB_RECALC_DATA | OB_RECALC_TIME rBfaf1c9a4bb27 OB_RECALC_ALL rB7df35db1b136 OB_RECALC Since the meaning of OB_RECALC_TIME/ID_RECALC_ANIMATION changed a bit historically (from "please update my animation if the animation datablock is tagged for update" to "update animation of this datablock") this was now always overwriting user edit with animated values, making it impossible to change those values once animated. Thx @sergey for guidance! Maniphest Tasks: T68396 Differential Revision: https://developer.blender.org/D6113
2019-09-20UI: Fix CapitalizationYevgeny Makarov
Differential Revision: https://developer.blender.org/D5716
2019-08-30Cleanup: clang-format, spellingCampbell Barton
2019-08-29Fix T69267: Missing Boids force field tooltipAaron Carlisle
2019-08-26Fix T69156: Blender crash when baking rigid body world.Bastien Montagne
Issue was exposed by recent own rB03bf84db86b commit, but was actually present in RNA API for PointCaches since (probably) ages: whole accessor code here was assuming that owner ID was an Object, when it is actually a scene for RigidBody simulations... Had also to make `BKE_ptcache_id_find()` and friends a bit more flexible, now they also accept a NULL object pointer parameter...
2019-08-24UI: Various tooltip corrections and fixesWilliam Reynish
Patch by Yevgeny Makarov (jenkm) Differential Revision: D5514
2019-08-23RNA: Cleanup PointerRNA structJacques Lucke
The old layout of `PointerRNA` was confusing for historic reasons: ``` typedef struct PointerRNA { struct { void *data; } id; struct StructRNA *type; void *data; } PointerRNA; ``` This patch updates it to: ``` typedef struct PointerRNA { struct ID *owner_id; struct StructRNA *type; void *data; } PointerRNA; ``` Throughout the code base `id.data` was replaced with `owner_id`. Furthermore, many explicit pointer type casts were added which were implicit before. Some type casts to `ID *` were removed. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D5558
2019-08-16Cleanup: spellingCampbell Barton
2019-08-13Fix T66373: Strange translation text behaviour.Bastien Montagne
i18n code does not work from threads on some plaforms, so it is disabled in Blender when called from non-main thread. Means that we have to go to a slightly different approach, with dirty tag and generating string on request for UI. Note: Also had to update the `info` string size, to fit with expensive asiatic scripts in utf-8... Using mem for that kind of runtime data is not really nice, but for now it will have to do.
2019-07-17Fix T67115: Changing the Shape of a Force Field object does not refresh the ↵mano-wii
animation
2019-06-03Cleanup: style, use braces in RNACampbell Barton
2019-05-08UI messages: Rename 'Light' to 'Lite' for compression method.Bastien Montagne
While not exactly optimal, that's the only disambiguation solution I found doable for translations (i18n). ID names tend to sneak everywhere, including in places where we have no access to i18n context currently (like menu labels e.g.). Other alternative would have been to use 'Lightweight', but that is a tad too long, we love short UI messages as much as possible. The genius who decided that it was critical to rename ID lamp to light in 2.8 is welcome to find a better solution... Part of T43295.
2019-04-21Cleanup: comments (long lines) in makesrnaCampbell Barton
2019-04-19Fix T63648: Missing update when changing particle force fieldsSergey Sharybin
Force fields requires relations update in the dependency graph.
2019-04-19Cleanup: Remove dead codeSergey Sharybin
There is no more sorting happening, so the comment is out of date by manu reasons. If something extra is needed there it would need to be done differently anyway.
2019-04-17ClangFormat: format '#if 0' codeCampbell Barton
Previous cleanups didn't account for space after '#'.
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-24Cleanup: redundant use of string formatting functionsCampbell Barton
2019-03-21UI: Spelling: fix wrong apostropheWilliam Reynish
2019-03-21UI: Fix wrong spellingWilliam Reynish
Effect vs Affect
2019-03-11UI: Use 'None' instead of 'No' for cache compression method.Pablo Vazquez
2019-02-20RNA: use factor when appropriateWilliam Reynish
- Many factor properties were set to PROP_NONE, even properties that had 'Factor' in the name! - Some time properties were not set to PROP_TIME, especially in Particles. - Changed motion_blur_shutter to use a soft max value of 1 instead of 2. Anything > 1 here is not physically correct and makes no real logical sense. - Changed display name of Dynamic Paint dissolve_speed to Dissolve Time, since it's a time property, not speed.
2019-02-18RNA: use distance unitsWilliam Reynish
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-02Cleanup: indentation, namingCampbell Barton
Use rna naming conventions for unit-settings callbacks.
2018-12-24Fix/cleanup another bunch of UI messages issues.Bastien Montagne
Also (mostly in comments): behaviour -> behavior (we use American English).
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-12-07Fix T58750: missing fallof power tooltip.Sebastian Parborg
Differential Revision: https://developer.blender.org/D4042
2018-11-28Use collection and instance terminology in Python APISergey Sharybin
This follows naming convention agreed on in T56648.
2018-09-26Cloth: Collision improvementsLuca Rood
This commit includes several performance, stability, and reliability improvements to cloth collisions. Most notably: * The implementation of a new self-collisions system. * Multithreading of collision detection. * Implementation of single sided collisions and normal overrides. * Replacement of the `plNearestPoints` function from Bullet with a dedicated solution. Further, this also includes several bug fixes, and algorithmic improvements. Reviewed By: brecht Differential Revision: http://developer.blender.org/D3712
2018-09-24Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-24Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3719
2018-09-24Add support for a one-dimensional Force Field source shape.Alexander Gavrilov
The fields currently support a Point source and a two-dimensional Plane source, but there is no way to create a field that pulls toward or from a line in space other than using the Texture field type. This adds a new simple shape option to do that. The line is aligned along the Z axis so that it works meaningfully with the Tube and Cone falloff modes. Reviewers: brecht, mont29, LucaRood Differential Revision: https://developer.blender.org/D3721
2018-07-05Merge branch 'master' into blender2.8Campbell Barton