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-06-14Fix T76563: Transforming an auto-aligned point won't set it alignedCampbell Barton
Correct previous commit that was checking values not yet initialized, causing T77796.
2020-06-14Cleanup: remove unnecessary headerCampbell Barton
Introduced in D8007
2020-06-13Sculpt: Fix creation of repeated constraints in the Cloth BrushPablo Dobarro
Previously, constraints were added multiple times from different vertices. This adds a GSet to check that the same constraint is not being added twice when iterating over the neighbors of two different vertices. Reviewed By: zeddb Differential Revision: https://developer.blender.org/D8007
2020-06-13Fix error selecting similar vertex groups after the 32ndCampbell Barton
Replace 32bit int with bitmap to allow selecting any number of vertex groups.
2020-06-13Cleanup: use const arguments to deform functionsCampbell Barton
This changes curve deform code not to set the objects inverse matrix, this shouldn't cause problems as it's not used elsewhere afterwards.
2020-06-13Cleanup: remove redundant castsCampbell Barton
2020-06-13Cleanup: naming for lattice deform functionsCampbell Barton
- BKE_lattice_deform_data_create was init_latt_deform. - BKE_lattice_deform_data_destroy was end_latt_deform. - BKE_lattice_deform_data_eval_co was calc_latt_deform.
2020-06-13Cleanup: use 'r_' prefix for return argumentsCampbell Barton
Also improve alignment.
2020-06-13Cleanup: comments, use bool return valueCampbell Barton
2020-06-13Cleanup: rename 'par', in deform codeCampbell Barton
Naming is from legacy code where the deforming object was the parent.
2020-06-13Modifier: skip edit-mesh conversion for armature, curve & latticeCampbell Barton
This is an improvement over 2.7x which converted edit-mesh to mesh (CDDM) for all 3 modifiers. Overall this increases performance in edit-mode by around 15-20%.
2020-06-13Cleanup: clang-format, unused variableCampbell Barton
2020-06-13Cleanup: spellingCampbell Barton
2020-06-13Fix T77295: Snapping in edit mode only works for non-selected polys/verts/edgesGermano Cavalcante
Caused by the optimization of `Skip EditMesh to Mesh Conversion`. Now that EditMesh is used when the Mesh has no modifiers, do not skip the selected elements.
2020-06-12LibOverride: Remove 'auto override' option.Bastien Montagne
Now all overrides are handled that way. Performances of the process look decent enough, even with production characters... If performance issues still arise, we'll investigate other solutions. This should also make T73154 obsolete now.
2020-06-12Add ability to remove Library data-blocks through RNA API.Simone Barbieri
Just uses same code as for all the other ID types. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7995
2020-06-12Cloth: implement support for a hydrostatic pressure gradient.Alexander Gavrilov
When a fluid is put under influence of gravity or acceleration, it forms an internal pressure gradient, which causes observable effects like buoyancy. Since now cloth has support for simulating pressure changes caused by fluid compression or expansion, it makes sense to also support the effects of gravity. This is intended for better simulation of objects filled or surrounded by fluids, especially when constrained by collisions or pinned vertices, and should result in more realistic shapes. Obviously, this doesn't actually simulate fluid dynamics; instead it is assumed that the fluid immediately adapts to changes in the shape or acceleration of the object without friction or turbulence, and instantly reaches a new static equilibrium. Differential Revision: https://developer.blender.org/D6442
2020-06-12USD: Use new material binding APISybren A. Stüvel
The material binding API that we used was removed in the Universal Scene Description library version 20.02. Using this new API, the code is compatible with both USD 19.11 and 20.02.
2020-06-12Fix T77586 EEVEE: UDIM image Texture doesn't Display properlyClément Foucault
2020-06-12GPencil: Make accessible via python to keyframe typeAntonio Vazquez
This can be requiered for some add-ons and for some reason this prop was missing in RNA.
2020-06-12Functions: Wrap into blender namespaceSergey Sharybin
Similar to previous commit, aims to resolve compilation on devtoolset-6.
2020-06-12DRW: Avoid undefined behavior when running multiple iterationClément Foucault
This was caused by DST.dupli_origin not being reset properly. This had not effect in master but has effect in EEVEE motion blur branch.
2020-06-12Cleanup: split object data deform functions into their own filesCampbell Barton
Move armature/curve functions into their headers, they were previously in BKE_lattice.h
2020-06-12Cleanup: use doxy sections for armature.cCampbell Barton
2020-06-12Cleanup: minor changes to deform functionsCampbell Barton
- Use 'float (*)[3]' to avoid casts. - Remove unnecessary float[3] copy in gpencil_deform_verts. - Use MEM_SAFE_FREE - Use const arguments.
2020-06-12Cleanup: split deform functions that take target object-dataCampbell Barton
Prefer meaningful function names over redundant NULL arguments. Also clarify variable names as it wasn't obvious the object-data is part of the object target.
2020-06-12Cleanup: use BKE_ prefix for deform functionsCampbell Barton
2020-06-11GPencil: Cleanup transform codeAntonio Vazquez
2020-06-11UI: Adjust names for Find/Replace Set SelectionAaron Carlisle
This is really doing two operation so using the ampersand makes more sense. Also selection sounds better than selected. This also adjusts the name in the text Edit menu which was an issue raised in T68738
2020-06-11Fix possibility to add objects in override collections.Bastien Montagne
Override collections do not support that, add proper checks in BKE code adding objects to collections. Also try to find a suitable collection in parents in that case. Note that this is enforced on 'public' API level, internal code can still bypass those checks if needed. Exposing this possibility to public API should not be needed.
2020-06-11BLI: define default hash function for const typesJacques Lucke
2020-06-11BLI: fix forwarding with incorrect typeJacques Lucke
2020-06-11Cleanup: fix terminology in commentJacques Lucke
2020-06-11BLI: don't pass const pointers to placement new operatorJacques Lucke
This resulted in compile errors.
2020-06-11BLI: include <new> headerJacques Lucke
This header defines default placement versions of operator new.
2020-06-11Fix T77657: NVIDIA Quadro FX4800 crash on startupJeroen Bakker
Limit support for `GLEW_ARB_base_instance` to OpenGL 4.0 and higher. NVIDIA Quadro FX 4800 (TeraScale) report that they support GLEW_ARB_base_instance, but the driver does not support `GLEW_ARB_draw_indirect` as it has an OpenGL3 context what also matches the minimum needed requirements. We use `GLEW_ARB_draw_indirect` as a target for `glMapBuffer(Range)` what is part of the OpenGL 4 API. So better disable it when we don't have an OpenGL4 context. Note: fix should be ported to Blender 2.83 LTS Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7994
2020-06-11Fix bad poll function for constraints in liboverrides.Bastien Montagne
2020-06-11BLI: fix printing name in print_stats methods of Map, Set and VectorSetJacques Lucke
2020-06-11Fix T69497: Color Correction node ignores mask in certain casesSergey Sharybin
Happens when some of the color correction terms are mathematically undefined: foe example, when pow() is to be calculated and the X argument is negative. There is no ground-truth result in such cases, so ignore such terms entirely. This is a generalization of D6696 from Jacques. Differential Revision: https://developer.blender.org/D7966
2020-06-11BLI: make Map::Item and Map::MutableItem more accessibleJacques Lucke
This makes it easier to write range-for loops over all items in the map without using auto.
2020-06-11Fix T77171: File selector doesn't tag preferences to be savedCampbell Barton
2020-06-11Sequencer: view toggle no longer cycles over SEQUENCER_PREVIEW stateCampbell Barton
- Remove the operator, use a generic operator instead. - Switch between PREVIEW/SEQUENCER as the mixed state isn't as useful. - Add menu item to make the shortcut discoverable. - Remove unused & broken "View Type" menu.
2020-06-11Cleanup: move sequencer view operators into sequencer_view.cCampbell Barton
2020-06-11UI: exclude context menus from menu searchCampbell Barton
This causes the search result to be less predictable as well as including menu items multiple times.
2020-06-11WM: utility function to iterate on menu typesCampbell Barton
2020-06-11ImBuf: use more accurate DPI/PPM conversionCampbell Barton
Use 0.0254 for conversion as 39.3700787 isn't exactly 1/0.0254 and can't be written as a round float/double.
2020-06-10Cleanup: make the sculpt convert type follow transform conventionGermano Cavalcante
2020-06-10UI: Only set panel data expand flag for active panelsHans Goudey
This solves a crash when switching from the modifiers tab to an armature object and expanding a panel. Thanks to Alexander Gavrilov for mentioning the problem.
2020-06-10Add proper handling of liboverrides to Scene deep copy.Bastien Montagne
Followup to rB74ec37b70cbc8dc2, also missed a case in collection deepcopy then.
2020-06-10Cleanup: Remove no more used `ED_object_single_users`.Bastien Montagne
This utils was only used for scenes' full copy, and was using old deprecated ways to deal with ID relations and such. Good riddance!