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-11-17Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-17BMesh: support for comparing loops when calculating face-groupsCampbell Barton
Add an optional callback to check source/destination loops for BM_mesh_calc_face_groups. This is needed so it can be used to calculate UV islands.
2020-11-12Merge branch 'blender-v2.91-release' into masterPhilipp Oeser
2020-11-12Sculpt: use ESC key in addition to RMB to cancel eyedropperPhilipp Oeser
This is more in line to other eyedropper usages throughout blender. Affected operators: - Sample Dyntopo detail - Extract Face Set (as reported in T82615) ref T82615 Maniphest Tasks: T82615 Differential Revision: https://developer.blender.org/D9531
2020-11-10Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-10Fix T65585: Knife fails when cursor away from the objectCampbell Barton
Zeroed mouse coordinates were being used making projection fail.
2020-11-09Cleanup: more renaming in the render/ module for consistencyBrecht Van Lommel
2020-11-08Fix T81651, exact boolean modifier incorrect if operand hidden.Howard Trickey
The code was trying to ignore hidden geometry when doing boolean, which is correct when used as a tool, but not when a modifier. Added a "keep_hidden" argument to bmesh_boolean to distinguish the two cases. Also fixed a bug when the tool is used with hidden geometry that is attached to unhidden geometry that is deleted by the operation.
2020-11-08Fix T81651, exact boolean modifier incorrect if operand hidden.Howard Trickey
The code was trying to ignore hidden geometry when doing boolean, which is correct when used as a tool, but not when a modifier. Added a "keep_hidden" argument to bmesh_boolean to distinguish the two cases. Also fixed a bug when the tool is used with hidden geometry that is attached to unhidden geometry that is deleted by the operation.
2020-11-06Cleanup: Render Module: move header files to main directoryAaron Carlisle
Move headers files from `render/extern/` to `render/` Part of T73586
2020-11-06Cleanup: use STR_ELEM macroCampbell Barton
2020-11-06Cleanup: use ELEM macroCampbell Barton
2020-11-04Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-04Fix T65449: Rip wire edges show error even when it worksCampbell Barton
Thanks to @zeddb for finding the root cause.
2020-11-04Merge branch 'blender-v2.91-release'Pablo Dobarro
2020-11-04Fix mask extract and slice not preserving mesh symmetry optionsPablo Dobarro
When extracting new objects from a mesh in sculpt mode, it makes sense to keep the current symmetry options and settings in the new mesh. In previous versions symmetry options were stored in the tool settings, so this bug was not that obvious. This also preserves the remember settings in the new object, which is also the desired behaviour. Reviewed By: sergey, mont29 Differential Revision: https://developer.blender.org/D9417
2020-11-04Fix mask slice to new object preserving the maskPablo Dobarro
If the new object contains the mask it always needs to be cleared before starting sculpting on it. This fix was also committed before in the mask extract operator. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9416
2020-11-03Cleanup: Remove dead code in bevel operatorHans Goudey
The `poll_property` callback is only used when the `ui` callback isn't defined.
2020-11-03Cleanup: Declare variables where initializedHans Goudey
2020-10-27Cleanup: use over-line for doxy commentsCampbell Barton
Follow our code style for doxygen sections.
2020-10-26Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-26Fix custom-normal support for mesh editing operationsCampbell Barton
Account for custom normals for edit-mesh tools: - Limited Dissolve - Split - Split (Edges/Vertices) - Triangulate
2020-10-26Merge branch 'blender-v2.91-release' into masterBastien Montagne
2020-10-26Fix T81984: Crash in sculpt undo with mask extract after dyntopo toggleBastien Montagne
More operators missing the mandatory undo flag...
2020-10-24UI: Capitalization CorrectionsYevgeny Makarov
Approximately 141 changes of capitalization to conform to MLA title style. Differential Revision: https://developer.blender.org/D8392 Reviewed by Julian Eisel
2020-10-23Fix T80165: Separate by loose parts breaks custom normalsCampbell Barton
- Add NULL check for BKE_lnor_spacearr_clear - Remove unnecessary 'use_toolflags' with BMesh creation.
2020-10-20Fix T81190: Merge by Distance marks edges sharpCampbell Barton
Make calculating edges sharp optional since it marks nearly all edges sharp when the normals have been manually rotated.
2020-10-19Spelling: Apart Versus A PartHarley Acheson
Corrects incorrect usages of the fragment 'apart of' when 'a part of' was required. Differential Revision: https://developer.blender.org/D9245 Reviewed by Campbell Barton
2020-10-19Spelling: Loose Versus LoseHarley Acheson
Corrects incorrect usages of the word 'loose' when 'lose' was required. Differential Revision: https://developer.blender.org/D9243 Reviewed by Campbell Barton
2020-10-19Spelling: Then Versus ThanHarley Acheson
Corrects incorrect usages of the words 'then' and 'than'. Differential Revision: https://developer.blender.org/D9246 Reviewed by Campbell Barton
2020-10-19Spelling: It's Versus ItsHarley Acheson
Corrects incorrect usage of contraction for 'it is', when possessive 'its' was required. Differential Revision: https://developer.blender.org/D9250 Reviewed by Campbell Barton
2020-10-14Fix T81511: Loop-cut overlay doesn't follow deformed cageCampbell Barton
With constructive + deform modifiers, loop-cut visualization wasn't following the displayed mesh. This now gets the coordinates from the cage when available.
2020-10-13Fix T81288:Select Linked fails with multi-object edit modeCampbell Barton
Changing options after using select-linked didn't work when the object being selected wasn't the active object.
2020-10-10Cleanup: use C comments for descriptive textCampbell Barton
Follow our code style guide by using C-comments for text descriptions.
2020-10-08Cleanup/Refactor: Shapekey: Get rid of `BKE_key_copy_nolib()`Bastien Montagne
Once again, no behavioral change expected here.
2020-10-07Refactor: remove `BKE_<id_type>_copy` functions.Bastien Montagne
Those were only shallow wrappers around `BKE_id_copy`, barely used (even fully unused in some cases), and we want to get rid of those ID-specific helpers for the common ID management tasks. Also prevents weird custom behaviors (like `BKE_object_copy`, who was the only basic ID copy function to reset user count of the new copy to zero). Part of 71219.
2020-10-07UI: Fix capitalization in various placesYevgeny Makarov
Follow the MLA style, agreed upon in T79589. This means "from" within UI labels should be lowercase. Differential Revision: https://developer.blender.org/D8345
2020-10-05Sculpt: Remove mask datalayer after extracting the objectPablo Dobarro
When extracting a mask, the new object is going to have the same mask on the same vertices, so it can't be sculpted without clearing the mask first. It makes more sense to delete the mask datalayer from the new object. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D9070
2020-09-30Cleanup: convert gforge task ID's to phabricator formatValentin
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718
2020-09-21Cleanup: move some paint helpers to ED_ 'namespace'.Bastien Montagne
Those two functions had `BKE_` prefix, were defined in BKE headers, but implemented in ED code, yuck. Moved everything to ED area for now, since those do not look fondamental enough to belong to BKE, and none of their usages requires it currently.
2020-09-19Cleanup: consistent TODO/FIXME formatting for namesCampbell Barton
Following the most widely used convention for including todo's in the code, that is: `TODO(name):`, `FIXME(name)` ... etc.
2020-09-18Unify all XYZ symmetry options using Mesh SymmetryPablo Dobarro
This adds XYZ symmetry as a property of meshes and updates all modes to use the mesh symmetry by default to have a consistent tool behavior between all modes and when switching objects. Reviewed By: brecht, mano-wii, campbellbarton Maniphest Tasks: T79785 Differential Revision: https://developer.blender.org/D8587
2020-09-13Apply patch D8816, from Zachary(AFWS) for collection boolean operand.Howard Trickey
Also added code so that exact solver does the whole collection at once. This patch allows users to use a collection (as an alternative to Object) for the boolean modifier operand, and therefore get rid of a long modifier stack.
2020-09-12Cleanup: Remove GLEW dependencies outside of GL moduleClément Foucault
2020-09-11Fix T79464: Crash adding objects without an active screenCampbell Barton
Running add-objects operator without an active screen would crash as CTX_data_edit_object would return NULL in this case. This could happen when adding objects from frame-change handlers for e.g. In the case of adding new objects there is no need for a context lookup, pass this directly to ED_object_editmode_exit_ex.
2020-09-09Cleanup: reduce variable scopeJacques Lucke
2020-09-09Cleanup: Rename public "bUnit" functionsHans Goudey
This commit renames the functions in "BKE_unit.h` to be consistent with the naming in the rest of blenkernel. bUnit_AsString -> BKE_unit_value_as_string_adaptive bUnit_AsString2 -> BKE_unit_value_as_string bUnit_ReplaceString -> BKE_unit_replace_string bUnit_ApplyPreferredUnit -> BKE_unit_apply_preferred_unit bUnit_ToUnitAltName -> BKE_unit_name_to_alt bUnit_ClosestScalar -> BKE_unit_closest_scalar bUnit_BaseScalar -> BKE_unit_base_scalar bUnit_IsValid -> BKE_unit_is_valid bUnit_GetSystem -> BKE_unit_system_get bUnit_GetBaseUnit -> BKE_unit_base_get bUnit_GetBaseUnitOfType -> BKE_unit_base_of_type_get bUnit_GetName -> BKE_unit_name_get bUnit_GetNameDisplay -> BKE_unit_display_name_get bUnit_GetIdentifier -> BKE_unit_identifier_get bUnit_GetScaler -> BKE_unit_scalar_get bUnit_IsSuppressed -> BKE_unit_is_suppressed Differential Revision: https://developer.blender.org/D8828
2020-09-09Cleanup: use bool instead of intJacques Lucke
2020-09-04Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fixSebastian Parborg
No functional changes
2020-09-04Cleanup: Use function pointers in geometry extractPablo Dobarro
This replaces the switch case with function pointers to extract masks or face sets. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8796