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-04-03Cleanup: Animation, move AnimData API to `anim_data.c`/`BKE_anim_data.h`Sybren A. Stüvel
The `BKE_animsys.h` and `anim_sys.c` files already had a an "AnimData API" section. The code in that section has now been split off, and placed into `BKE_anim_data.h` and `anim_data.c`. All files that used to include `BKE_animsys.h` have been adjusted to only include the animation headers they need (sometimes none). No functional changes.
2020-04-03Cleanup: Rename bScreen variables from sc/scr to screenJulian Eisel
Part of T74432. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.
2020-04-03Cleanup: Rename ScrArea variables from sa to areaJulian Eisel
Follow up of b2ee1770d4c3 and 10c2254d412d, part of T74432. Now the area and region naming conventions should be less confusing. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.
2020-04-03Cleanup: Continue renaming ARegion variables from ar to regionJulian Eisel
Continuation of b2ee1770d4c3, now non-single word variables are also renamed. Part of T74432. Also ran clang-format on affected files.
2020-04-03Cleanup: split `BKE_anim.h` and `anim.c` into smaller piecesSybren A. Stüvel
The files are now split up into the following sections: - `BKE_anim_path.h` and `anim_path.c` for path/curve functions. - `BKE_anim_visualization.h` and `anim_visualizationanim_path.c` for animation visualization (mostly motion paths). - `BKE_duplilist.h` for DupliList function declarations. These were already implemented in `object_dupli.c`, so they were rather out of place being declared in `BKE_anim.h` in the first place. No functional changes.
2020-04-03Fix T75315: typo in automasking UI textPhilipp Oeser
2020-04-02Sculpt: Delay Viewport UpdatesPablo Dobarro
In Blender 2.81 we update and draw all nodes inside the view planes. When navigating with a pen tablet after an operation that tags the whole mesh to update (like undo or inverting the mask), this introduces some lag as nodes are updating when they enter the view. The viewport is not fully responsive again until all nodes have entered the view after the operation. This commit delays nodes updates until the view navigation stops, so the viewport navigation is always fully responsive. This introduces some artifacts while navigating, so it can be disabled if you don't want to see them. I'm storing the update planes in the PBVH. This way I can add support for some tools to update in real-time only the nodes inside this plane while running the operator, like the mesh filter. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6269
2020-04-02Sculpt: Add global automasking options for all brushesPablo Dobarro
This adds the automasking options to the Sculpt Tool options in a way that they affect all brushes. This is more convenient when working with some of these options while switching brushes as they don't need to be enabled/disabled per brush. An automasking option is enabled if it is enabled in the brush or in the sculpt options. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7304
2020-04-02Fix T75302: GPencil fill does not work on python generated strokesAntonio Vazquez
2020-04-02GPencil: Cleanup typo error for hardnessAntonio Vazquez
The variable cannot be names because it was already renamed.
2020-04-02Scultp: Face Set boundary automaskingPablo Dobarro
With this brush option it is possible to mask the boundary vertices of all face sets. This is especially useful in the cloth brush, where face sets can be used to simulate seams between different patches of cloth and produce different patterns and effects. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7230
2020-04-01Cleanup: clang-formatCampbell Barton
2020-04-01GPencil: Cleanup typo errorAntonio Vazquez
2020-04-01Grease Pencil: Fix typo in labels and comments.Pablo Vazquez
Hardeness -> Hardness Only changed the labels/tooltips, will leave the internal change to @antoniov.
2020-04-01Cleanup: Organize Weld Modifier in alphabetical orderGermano Cavalcante
2020-03-31Add Voxel Mode to the Remesh modifierPablo Dobarro
This adds the Voxel Mode to the current remesh modifier. It works exactly the same way as the voxel remesh operator and uses the same properties to control the remeshing. We can exand this with more options in the future (fix poles, reprojection...) Reviewed By: brecht Differential Revision: https://developer.blender.org/D7292
2020-03-31Fix VR session toggle not changing reliably on session start/endJulian Eisel
The text and icon were supposed to change but didn't reliably, which was a race condition I think. It depended on how fast the OpenXR runtime would transition the session state. This also makes sure the correct notifier is sent on session exit.
2020-03-31Fix T75210: Frame range does not go down to 0 in the physics tab for ↵Sebastián Barschkis
mantaflow when clicking the left arrow Added nore flexibility to cache frame range and ensured validity of frame range.
2020-03-30GPencil: Remove GP_DATA_PYTHON_UPDATED used by old engineAntonio Vazquez
2020-03-30GPencil: Rename Overlay blend mode to Hard LightAntonio Vazquez
Differential Revision: https://developer.blender.org/D7280
2020-03-29RNA: expose the pin flag for AnimData and ActionGroupWayde Moss
2020-03-29Screw Modifier: support 1-2 stepsHenrik Dick
The Screw Modifier had a lower limit for the steps value, which not only was inconsistent between render and viewport steps, but also was capped to 2 in UI and also in the code internally.
2020-03-29Cleanup: spelling, commentsCampbell Barton
2020-03-28Fix T74604: A.N.T Landscape Erode function reports errorGermano Cavalcante
Although indicated, the `rna_Object_active_vertex_group_set` function was missing.
2020-03-28Fix missing NULL terminator for new brush optionBrecht Van Lommel
2020-03-27Sculpt: Pose Brush Face Sets origin modePablo Dobarro
This commit introduces a new mode for calculating the positions and weights of the IK segments in the Pose Brush based on the Face Sets. The first segment of the chain will always include all face sets inside the brush radius and it will propagate until the boundary of the last face sets added in the flood fill. Then consecutive connected face sets are added to the chain until the chain length limit is reached or all face sets of the mesh are already part of the chain. This feature enables complete control over the pose brush origins in case that is needed. Also, with this mode, the user can have a library of base meshes with face sets already configured to get to the initial pose as fast as possible. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7235
2020-03-27Rename Edge Automasking to Mesh Boundary AutomaskingPablo Dobarro
This makes more clear what this automasking operation does and helps to differenciate it from the future face sets boundary automasking. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7185
2020-03-27Surface Deform modifier: add vertex group and strength control.Cody Winchester
This commit aims to add functionality to the surface deform modifier that gives more control and allows it to work better with the modifier stack. * Maintains compatibility with older files. The default settings keep it so that the whole object is bound and vertex coordinates get overwritten as the modifier currently does. * Turns the deformations from an absolute vertex coordinate overwrite into an additive offset from the vertex location before the modifier to the resulting bound deformation. This gives the ability to control the strength of the deformation and mix the deformation of the modifier with the modifier stack that comes before it. * Also adds in a vertex group with the invert option. This is applied after the bind deformation is added. So the whole object is still bound to target, and the vertex group filters afterwards what parts get affected. I experimented with a version to only binds the geometry weighted to the vertex group, but that would break compatibility with old files. I may bring it in later as a separate option/mode for the surface deform. With several fixes from @mont29. Reviewed By: mont29 Differencial Revision: https://developer.blender.org/D6894
2020-03-27GPencil: Cleanup unused parameterAntonio Vazquez
2020-03-27Solidify modifier: add option to assign shell & rim geometry to selected ↵Cody Winchester
vertex groups. This commit gives the solidify modifier the ability to assign the newly created shell and rim geometries to selected vertex groups. This expands the procedural control over the modifier stack by letting users apply modifiers to the shell geometry without affecting the original geometry. This will be especially helpful for NPR users that use solidify to create backface culling lines on their characters giving them the ability to add displace noise and other effects. Differential Revision: https://developer.blender.org/D6903
2020-03-27Warp modifier: add bone from and bone to options when using armature objectsCody Winchester
This commit adds the option to use armature bones for the From and To targets when using armature objects. The changes are based on the UV Warp modifier. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6820
2020-03-27UI: Use Title CaseAaron Carlisle
2020-03-27UI: Spelling InconsistenciesAaron Carlisle
2020-03-27Cleanup: rename WM_modalkeymap API names, matching WM_keymapCampbell Barton
Rename: - WM_modalkeymap_add to WM_modalkeymap_ensure - WM_modalkeymap_get to WM_modalkeymap_find
2020-03-27UI: use pixel unit for generated image dimensionsAdrian Newton
Differential Revision: https://developer.blender.org/D7171
2020-03-27UI: fix inconsistent modifier menu order for fluid and multiple strokesAdrian Newton
Differential Revision: https://developer.blender.org/D7172
2020-03-26Mantaflow: remove reminents of high res smokeAaron Carlisle
It appears this slipped through the code review Reviewed By: sebbas Differential Revision: https://developer.blender.org/D6760
2020-03-26Add option to Copy the active view layer, and add an empty view layerChris Clyne
Modify the view layer add operator (and underlying `BKE_view_layer_add`) to allow for copying the current view layer, as well as adding a new one but with all LayerCollections disabled by default (this is important for heavy scenes where currently adding view layers can take a long time due to enabling every collection by default). Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6862
2020-03-26Sculpt: Surface Smooth Brush and Mesh FilterPablo Dobarro
This implements the Surface Smooth Brush as a mode inside the Smooth tool, which uses the HC algorithm from "Improved Laplacian Smoothing of Noisy Surface Meshes". Comparted to the regular smooth brush with laplacian smooth, this brush removes the surface while preserving the volume of the object. The smooth result can be controlled by tweaing the original shape preservation, displacement and iteration count. The same surface smooth operation is also available as a mesh filter. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7057
2020-03-26Keymap: disallow modal key-maps in add-ons keyconfigCampbell Barton
Disable functionality reported in T60766 & only partially worked. This could be used if the key-map was added after Blender started as a way to customize modal key-maps, however it didn't work with the add-on enabled on startup. Add-on key-maps are intended to extend existing key-maps so they can call the add-on, not as a way to change modal key-maps for Blender's built-in functionality. Disable this since it's not needed as add-ons can't yet define modal key-maps.
2020-03-26Fix T75081: RNA path For FFMPEGSettings missingMatt Rossman
2020-03-26Fix crashes accessing inactive screen propertiesCampbell Barton
2020-03-26Fix crash accessing length unit settingsCampbell Barton
2020-03-26UI: rename image source Tiled to UDIM Tiles for easier discoveryBrecht Van Lommel
2020-03-24Add invert mapping option to proximity weight edit modifier, and some cleanup.Bastien Montagne
2020-03-24Modifiers: Vertex Weight Edit add invert curve falloff optionCody Winchester
This commit adds the option to invert the resulting weights of the falloff curve. There is a workflow used by some to convert a texture mask into vertex weights by using a custom curve and inverting the points. This allows the same effect with a single click, and gives the modifier more procedural functionality. With minor UI tweaks by @mont29. Differential Revision: https://developer.blender.org/D6899
2020-03-24GPencil: Replace Tint mode "Both" to "Stroke and Fill"Antonio Vazquez
2020-03-24Fix missing grid theme option for Movie Clip EditorMichael Soluyanov
The theme color is used in code, but not exposed in RNA and therefore there's no button in the theme editor for it. Reviewed by: Julian Eisel Differential Revision: https://developer.blender.org/D7219
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-24RNA: expose comparison tolerance for Mesh.unit_test_compareHabib Gahbiche