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
2019-08-30GPU: Split gpu_shader_material into multiple files.OmarSquircleArt
This patch continue the efforts to split the `gpu_shader_material` file started in D5569. Dependency resolution is now recursive. Each shading node gets its own file. Additionally, some utility files are added to be shared between files, like `math_util`, `color_util`, and `hash`. Some files are always included because they may be used in the execution function, like `world_normals`. Some glsl functions appeared to be unused, so they were removed, like `output_node`, `bits_to_01`, and `exp_blender`. Other functions have been renamed to be more general and get used as utils, like `texco_norm` which became `vector_normalize`. A lot of the opengl tests fails, but those same tests also fail in master, so this is probably unrelated to this patch. Reviewers: brecht Differential Revision: https://developer.blender.org/D5616
2019-08-30Cleanup: spellingCampbell Barton
2019-08-30UI: Outliner Natural SortHarley Acheson
Collection contents alphabetical sort now uses a Natural Sort that takes number magnitude into account. Differential Revision: https://developer.blender.org/D5636 Reviewed by Brecht Van Lommel
2019-08-30Sculpt: New brush cursor, active vertex and normal radiusPablo Dobarro
This commit includes the new brush cursor, active vertex updates and the normal radius brush property for all sculpt brushes. -The new brush cursor previews the real stroke radius over the mesh and the sampled sculpt normal. -The active vertex is used in sculpt tools and brushes as a starting point for an operation, similar to a preselection. It is also mirrored following the enabled symmetry options to preview the stroke symmetry. -The normal radius brush property limits the radius that is going to be used to sample the sculpt normal and area center. It controls how closely the cursor follows the surface and it improves the behavior of most brushes, making them suitable for hard surface sculpting. Reviewed By: campbellbarton, brecht Differential Revision: https://developer.blender.org/D3594
2019-08-30Install_deps: Do not take sub-versions '6' numbers of RHEL/CentOS versions ↵Bastien Montagne
as main '6' version.
2019-08-30Windows: Move building of blendthumb into the blender codebase.Ray Molenkamp
Previously this was done in the deps builder due to the fact we needed both 32 and 64 bit versions of this dll and CMAKE does not support that in a single build folder. Now that 32 bit support has been dropped, this can be safely moved into the codebase. Reviewers: brecht Differential Revision: https://developer.blender.org/D5633
2019-08-30Cleanup: Fix typo errorAntonio Vazquez
2019-08-30DrawManager: UV StretchingJeroen Bakker
Calculating UV Stretching on large meshes showed garbage. The reason is that the calculation is not thread save. Temporarily disable threading for UV Stretching
2019-08-30UI: assert on invalid click-step for integer buttonsCampbell Barton
Avoids T69305 going by unnoticed.
2019-08-30UI: Remove Colons From Number FieldsHarley Acheson
Removes the colon separating label and number inside some number fields. Differential Revision: https://developer.blender.org/D5628 Reviewed by Brecht Van Lommel
2019-08-30Fix T69324: Console error in particle systems using "Follow Leader" boidPhilipp Oeser
brain rule Was missing from rna renaming in rBeee445590a29.
2019-08-30GPencil: Use default material when slot material is emptyAntonio Vazquez
When a material slot is empty, the default material is used. The default color used is Gray to get a good contrast in dense scenes with dark and white background. Reviewers: brecht, dfelinto, mendio, pepeland Differential Revision: https://developer.blender.org/D5625
2019-08-30Fix (unreported) 'Duplicate Particle System' operator not ensuringPhilipp Oeser
unique name This was leading to equally named particle systems, causing problems later on. Spotted while looking into T67958. Reviewers: brecht Differential Revision: https://developer.blender.org/D5632
2019-08-30Cycles: OpenCL Separate Compilation Debug FlagJeroen Bakker
OpenCL Parallel compilation only works inside Blender. When using cycles in a different setup (standaline or other software) it failed compiling kernels as they don't have the appropriate Python API and command line arguments. This change introduces a `running_inside_blender` debug flag, that triggers out of process compilation of the kernels. Compilation still happens in subthread that enabled the preview kernels and compilation of the kernels during BVH building Reviewed By: brecht Differential Revision: https://developer.blender.org/D5439
2019-08-30GPencil: Fix unreported problem with Move to Layer popupAntonio Vazquez
As the operator was designed to use only as popup, when it was used as menu option, the popup was displayed again. Reviewers: mendio, pepeland Differential Revision: https://developer.blender.org/D5630
2019-08-30Fix interger number buttons increment/decrement arrows not working inPhilipp Oeser
some cases Since rB78b56fa7d973 defining a button with 'but->a1 = 0' wasnt automatically setting its step value to 1 in 'ui_do_but_NUM' anymore. Instead of handling this more forgiving in 'ui_do_but_NUM', went over the remaining cases of buttons and and defined them with a step value of 1. Fixes T69305 Reviewed By: brecht Maniphest Tasks: T69305 Differential Revision: https://developer.blender.org/D5631
2019-08-30GPencil: Set active layer when click in Dopesheet keyframe areaAntonio Vazquez
Now, when clicking in the keys area, the layer is synchronized, not only in the left area with the names. This is one of the most requested feature by artists. Also, removed some old comments. Reviewers: brecht, angavrilov Reviewed By: brecht Subscribers: pepeland, mendio Differential Revision: https://developer.blender.org/D5627
2019-08-30GPencil: Make visible active layer when hide othersAntonio Vazquez
To make more consistent the UI, when hide all other layers, the active layer is always set to visble.
2019-08-30Build: check necessary software is installed for make deps on macOS and LinuxBrecht Van Lommel
To avoid errors deep into the build process. Fixes T69297.
2019-08-30Cleanup: clang-format, spellingCampbell Barton
2019-08-30Cleanup: no need to zero the area in beautify calculationCampbell Barton
Also correct comment.
2019-08-29GPencil: Minor Menu tweaksMatias Mendiola
- Added 'Hide Inactive Layers' operator and reordered 'Show/Hide' menu items - Move 'New Layer' to bottom in 'Move to Layer' operator for consistency. - Removed extra end points in some menu items (...) Reviewers: antoniov, billreynish Tags: #bf_blender, #grease_pencil Differential Revision: https://developer.blender.org/D5626
2019-08-29Build: install_deps add lib64 paths for ldconfigNathan Craddock
Building deps on some systems will install to opt/lib/library/lib64 directories rather than opt/lib/library/lib. This adds additional lib64 paths for ldconfig to ensure the libraries are found at runtime.
2019-08-29LibOverride: Create override operator: various fixes.Bastien Montagne
* `make_override_library_exec` was not properly cleaning `LIB_TAG_DOIT` from all IDs in the Main DB. * `BKE_override_library_create_from_tag` was doing dangerous things (like iterating over a BMain listbase while adding items to it...). * It would remap *all* local usages of overridden linked IDs to new overriding local IDs, which was very inconvinient. New handling of remapping now allows to only remap inside of the group of IDs that is being overridden, in other words you can still have e.g. other empties still instancing the same linked collection...
2019-08-29BKE_libblock_relink_ex: pass all remapping flags instead of a single boolean.Bastien Montagne
There is no reasons to limit access to remapping flags here, we may want to use other options than only the ID_REMAP_SKIP_NEVER_NULL_USAGE one...
2019-08-29LibOverride: Add entry to create a liboverride to object->relations menu.Bastien Montagne
2019-08-29Copy Scale: support copying arbitrary non-uniform scale as uniform.Alexander Gavrilov
Uniform scale is superior to non-uniform scale in that it works with parenting without causing shear. Thus it is a valid desire in some cases to turn arbitrary scale into guaranteed uniform scale. Implementing this in the Copy Scale constraint allows one for instance to 'inherit scale as uniform' by disabling Inherit Scale, and using Copy Scale from parent with Offset and Make Uniform. Reviewers: brecht Differential Revision: https://developer.blender.org/D5614
2019-08-29UI: Correct Sequencer Text Alignment TooltipsAaron Carlisle
Pointed out in rBM5719
2019-08-29Fix T56532: Boolean locks up BlenderCampbell Barton
Actual issue is with triangle beautify, avoid precision error by scaling the epsilon by the face area when it's over 1 The mesh in the report was very large (approx 2000 on each side), causing precision issues with a fixed epsilon.
2019-08-29LibOverride: Fix use-after-free error when freeing whole Main DB.Bastien Montagne
We do not want to touch to other ID pointers in that case, those might have already been freed...
2019-08-29GPencil: For Stroke select don't display pointsAntonio Vazquez
Now, when it's selected the stroke select mode, the points are not displayed and the stroke is fully selected automatically extending the selection. Differential Revision: https://developer.blender.org/D5622
2019-08-29Cleanup: unused warningCampbell Barton
2019-08-29Cleanup: use custom data for object transform dataCampbell Barton
2019-08-29Outliner: fix sync select on read file without loading UINathan Craddock
Tag for a complete sync when loading a file with load UI disabled.
2019-08-29Fix T69267: Missing Boids force field tooltipAaron Carlisle
2019-08-29Move math and vector double routines into blenlib from delaunay codeHoward Trickey
2019-08-29Fix T69273: Rotate tool gizmo not showing incremental snapping tick marksmano-wii
2019-08-29Edit Mesh: AutoMerge and Split: Improve detection of the best split facemano-wii
2019-08-29Fix possible endless loop in AutoMerge and Splitmano-wii
2019-08-28GPencil: Animation menu updatesMatias Mendiola
Animation menu updates for Edit Mode and Draw Mode (header and context menu): - Rename menu items for a better understanding of what the operators really do. - Change shortcuts (legacy from the old Grease pencil) {F7708018} Reviewers: antoniov, pepeland, billreynish Tags: #bf_blender, #grease_pencil Differential Revision: https://developer.blender.org/D5617
2019-08-28Fix T68971: Copy As New Driver from Material node creates a bad reference.Alexander Gavrilov
NodeTree structures of materials and some other data blocks are effectively node group datablock objects that are contained inside the parent block. Thus, direct references to them are only valid while blender is running, and are lost on save. Fix Copy As New Driver to create a reference that goes through the owner datablock, by adding a new ID flag to mark private pseudo-datablocks. Also fix functions that return full paths to structures and properties, e.g. used in python tooltips. Functions for paths from ID to struct or property can't be changed because of Animation Data related code. Reviewers: mont29 Differential Revision: https://developer.blender.org/D5559
2019-08-28Transform: option to transform parent objects without childrenCampbell Barton
Supports parent/child chains with mixed selections. Currently accessible from the pivot popover (may be moved along with the other options here).
2019-08-28Fix T69221: inconsistent handling of filenames derived from image names.Bastien Montagne
We did not properly sanitize image data block name when using it to init file name...
2019-08-28Fix strict compiler warning in release modeSergey Sharybin
2019-08-28CMake: Remove unsupported G++ strict flagSergey Sharybin
According to the documentation this flag is only supported by C and Objective-C languages: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html Solves noisy output on every C++ file in the project when using latest GCC-9.
2019-08-28Cleanup: make transform data in object mode flag publicCampbell Barton
This fits better with intended flag usage.
2019-08-28Cleanup: remove automerge BMesh operatorCampbell Barton
Move logic into EDBM_automerge since this is meant to run after transform and isn't a generic editing operation.
2019-08-28Cleanup: split automerge logic into own fileCampbell Barton
This isn't closely related to selection & this file was over 5k lines.
2019-08-27Cycles: Stitching of subdivided and displaced meshesMai Lavelle
This patch stitches the vertices along patch edges so that cracks can no longer form when applying subdivision or displacement a mesh. Subpatches are now formed in a way that ensures vertex indices along subpatch edges are equal for adjacent subpatches. A mapping of vertices along patch edges is built to preform stitching. Overall performance is roughly the same, some gains were made in splitting, but some was lost in stitching. This fixes: - T49049 (cracks between patches from material and uv seams) - T49048 (discontinuous normals with true displacement) Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D3692
2019-08-27Cleanup some outdated dead code and comments in Outliner.Bastien Montagne