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-03-06Cleanup: use 'BKE_' prefix for BKE_deform API callsCampbell Barton
- Use 'BKE_object_defgroup' prefix for object functions. - Rename 'defvert_verify_index' to 'defvert_ensure_index' since this adds the group if it isn't found.
2020-03-06Cleanup: use BLI_strnlen instead of strlenCampbell Barton
2020-03-06Cleanup: clang-formatCampbell Barton
2020-03-06Cleanup: use MEM_recallocN_idCampbell Barton
2020-03-06Cleanup: spellingCampbell Barton
2020-03-06Cleanup: redundant-decls warningCampbell Barton
2020-03-06UI: Using Consistent Font Icon in File BrowserHarley Acheson
Use only one font icon in File Browser for all platforms. Correct mistake to allow this icon to be used. Differential Revision: https://developer.blender.org/D7037 Reviewed by Brecht Van Lommel
2020-03-05Sculpt Face SetsPablo Dobarro
Face Sets are the new system to control the visibility state of the mesh in sculpt and paint modes. They are designed to work in modes where brushes are the primary way of interaction and they provide much more control when working with meshes with complex shapes and overlapping surfaces. This initial commit includes: - Sculpt Face Sets data structures and PBVH rendering. - Face Set overlay and opacity controls. - Sculpt Undo support. - Remesher reprojection support. The visibility state of the mesh is also preserved when remeshing. - Automasking and Mesh filter support. - Mask expand operator mode to expand Face Sets (Shift + W) and flood fill areas by connectivity (press Ctrl while expanding). - Sculpt Mode Face Sets and Visibility API. - Sculpt Face Sets creation and visibility management operators. - Operator to randomize the Face Sets colors. - Draw Face Sets brush tool to create and edit the Face Sets. Drawing on the mesh creates a new Face Set. Pressing Ctrl before drawing modifies the Face Set under the brush at the beginning of the stroke. - Updated keymap and menu to work with Face Sets from Sculpt Mode (H to toggle visibility, Alt + H to show all, Shit + H to hide). - Pie menu on the W key with Face common Sets operations. Know limitations: - Multires support. The Face Sets and Visibility API needs to be implemented for Multires. Reviewed By: jbakker, #user_interface, Severin Differential Revision: https://developer.blender.org/D6070
2020-03-05UI: File Browser FavoritesHarley Acheson
Adding more Windows special folder locations, used when browsing or bookmarking. Differential Revision: https://developer.blender.org/D7014 Reviewed by Brecht Van Lommel
2020-03-05UI: Mac File Browser System List ChangesYevgeny Makarov
Nicer icons for File Browser System and Favorites lists on Mac. Differential Revision: https://developer.blender.org/D6398 Reviewed by Brecht Van Lommel
2020-03-05Fix T74332: selection sync replacing parent selectionNathan Craddock
Selecting certain child datablocks also selects the parent (e.g. selecting a pose bone selects the armature). The base was selected, but the outliner tree element was left unselected. The subsequent selection sync would then deselect the parent base because it was not flagged as selected in the outliner. This led to issues like T74332 where selecting a pose bone in the outliner did not show drivers in the driver editor unless the armature was explicitly added to the selection afterwards. The solution is to also flag the outliner elements as selected when selecting parent bases. Differential Revision: https://developer.blender.org/D7029
2020-03-05Cleanup: Clarified commentSybren A. Stüvel
No functional changes.
2020-03-05Cleanup: redundant castsCampbell Barton
2020-03-05Cleanup: material API namingCampbell Barton
- Use 'BKE_object_material_*', 'BKE_id_material_*' prefix for functions that operate on Object and ID types. - Use '_len' suffix for length (matching BLI naming). - Use '_p' suffix for functions that return a pointer to values where the value would typically be returned. Functions renamed: - BKE_object_material_resize was BKE_material_resize_object - BKE_object_material_remap was BKE_material_remap_object - BKE_object_material_remap_calc was BKE_material_remap_object_calc - BKE_object_material_array_p was BKE_object_material_array - BKE_object_material_len_p was BKE_object_material_num - BKE_id_material_array_p was BKE_id_material_array - BKE_id_material_len_p was BKE_id_material_num - BKE_id_material_resize was BKE_material_resize_id - BKE_id_material_append was BKE_material_append_id - BKE_id_material_pop was BKE_material_pop_id - BKE_id_material_clear was BKE_material_clear_id
2020-03-04Cleanup: replace unnecessary MEM_callocN callsCampbell Barton
Use MEM_mallocN when memory is immediately copied over.
2020-03-04Fix T74434: Video Sequencer: Alt+ clicking (assign to all selected) doesPhilipp Oeser
not work for unlocking Special case for when we do this on "lock": - locked sequences are not in "selected_editable_sequences" - use "selected_sequences" in that case Maniphest Tasks: T74434 Differential Revision: https://developer.blender.org/D7023
2020-03-04Fix T71578: knife tool draws some points incorrectlyJacques Lucke
D6417 by @fbessou
2020-03-04Fix T74426: Crash in the IK Pose Brush preview with null preview chainPablo Dobarro
After switching tools, the active vertex can be the same and the cursor won't update the previews, so the pose_ik_chain_preview will be null. This often happens in low poly meshes where chances of hovering the same vertex are high. Reviewed By: sergey Maniphest Tasks: T74426 Differential Revision: https://developer.blender.org/D7021
2020-03-04Cleanup: spellingCampbell Barton
2020-03-04Refactor ID make local to use a single flag parameter.Bastien Montagne
Instead of using anonymous booleans flags, also allows to keep the same behavior in all cases, without needing special handling from calling code for our beloved oddballs object proxies...
2020-03-04Cleanup: Rename 'make local' functions to new scheme.Bastien Montagne
Also removed some only used locally from the header, `BKE_lib_id.h` is already way too big, no need to overload it with unused things.
2020-03-04UI: rename View Selected" to "Frame Selected"Asad-ullah Khan
Addresses T74331
2020-03-04Fix T73797: Selection/Editing after Make Single User for Object DataPhilipp Oeser
fails Exposed by rB50d5c03e2d14. This was only a problem when _only_ 'Object Data' was made local. If also e.g. 'Object' or 'Materials' was checked, these were already making sure realations were updated [DEG_relations_tag_update(bmain)]. Now also call DEG_relations_tag_update(bmain) for the 'Object Data' case. I assume the underlying issue is that there is some ID_NEW_REMAP happening in 'single_obdata_users()' -- including that for 'me- >texcomesh', which might be responsible for the glitches in selection/ editing? Also not entirely sure why this wasnt a problem prior to rB50d5c03e2d14.(I assume this was somewhat hidden by the fact this was always called with a default action being nothing, the user would always need to access the redo panel. So this might have been hidden by an Undo step involved?) Maniphest Tasks: T73797 Differential Revision: https://developer.blender.org/D7020
2020-03-04Cleanup: avoid the term old when storing/restoring context variablesCampbell Barton
2020-03-04Cleanup: replace CLAMP macros with functionsCampbell Barton
2020-03-04Cleanup: replace commented code with define checkCampbell Barton
Avoids duplicated comments, also quiet warning accessing non-existing variable.
2020-03-03Fix T72028: Crash switching to vertex paintPhilipp Oeser
This would happen when done from editmode, on a mesh with any modifier, after adding/removing geometry in editmode. Similar to rBba0870713b9b (which did this for weightpaint and sculpt already), ensure an evaluated depsgraph, otherwise 'runtime.mesh_deform_eval' would not be up to date causing problems later. Maniphest Tasks: T72028 Differential Revision: https://developer.blender.org/D7011
2020-03-03IDs: change FILTER_ID_* to 64 bit to make space for new ID typesBrecht Van Lommel
And change file browser to boolean from bitflag enum, which is only 32 bit. Differential Revision: https://developer.blender.org/D7004
2020-03-03Fix Snake Hook rake on rotated objectsPablo Dobarro
It was missing this local space conversion before calculating the rake angle. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7008
2020-03-03Fix T71871: Quadriflow remesh operator don't stack operationsSebastian Parborg
Made an explicit call to the exec function be a blocking call and a call from invoke (or otherwise) be nonblocking. Reviewed By: Bastien Differential Revision: http://developer.blender.org/D7006
2020-03-03Remove the "use mesh curvature" option from quadriflowSebastian Parborg
It sometimes caused the solver to get into an seemingly unrecoverable state and crash. Therefore I will disable this feature for now.
2020-03-03Cleanup: formatting, spellingCampbell Barton
2020-03-03Separate operators (mesh/curve/armature/gpencil): take user preferencesPhilipp Oeser
into account for duplicating actions Previously actions remained linked after duplication, now this is based on the User Preferences (PreferencesEdit.use_duplicate_action). note: default is ON here, so this changes default behavior of separate operators. First intuition was to respect _all_ preferences here (e.g. also duplicating materials if chosen in the User Preferences) but after consideration this is probably not what the User would expect from such 'modeling' opertions (e.g. separate by loose parts resulting in possibly many duplicate materials) Fixes T71038 Maniphest Tasks: T71038 Differential Revision: https://developer.blender.org/D6120
2020-03-03Fix dope sheet (Mask mode) keyframe editing not image/clip viewsCampbell Barton
Every key-frame edit was updating all grease pencil & mask data-blocks. Change the logic to only update edited data-blocks.
2020-03-03Fix T74292: Dope sheet (Mask mode) keyframe editing misses updateSybren A. Stüvel
2020-03-03Cleanup: Use a utility function to obtain the bvh_cacheGermano Cavalcante
2020-03-03Missed in the last commitGermano Cavalcante
2020-03-03Transform Snap: Clear 'SnapObjectData' after changes in the geometryGermano Cavalcante
Differential Revision: https://developer.blender.org/D6927
2020-03-03Revert "Transform Snap: Clear 'SnapObjectData' after changes in the geometry"Germano Cavalcante
This reverts commit fe7c4fb4a2d5d48555ebb9178fd5e7a8c1ace1ee. It does not work because `mesh_eval_cage` and `mesh_eval_final` always is `NULL` in this case.
2020-03-03Fix error parsing XDG path valuesCampbell Barton
Own error in recent changes to parsing.
2020-03-03Transform Snap: Clear 'SnapObjectData' after changes in the geometryGermano Cavalcante
Differential Revision: https://developer.blender.org/D6927
2020-03-02Cleanup: Use generics properties for arrow keys navigation (walk-select)Valentin
This patch refactors arrow keys navigation to move properties and enum to generic ED_select_utils.h and property to WM_operator_properties_select_walk_direction() No functional change Reviewed By: Julian Eisel Differential Revision: https://developer.blender.org/D4771
2020-03-02Fix T74278: Light, Image Object, and Compositor Backdrop Viewer NodePhilipp Oeser
gizmos are too big Caused by rB9cac5fa681c5 which fixed the handles for the camera border gizmo (being much too small)-- which in turn was broken by rB98e4fbc7cc9e. Camera border gizmo sets up its matrix_space a bit differently [this is why we are getting very small values in gizmo_calc_rect_view_scale -- needs more investigation], but instead of breaking it for Light, Image and Compositor Backdrop, lets just compensate by scaling the Camera Border Gizmo for now. Maniphest Tasks: T74278 Differential Revision: https://developer.blender.org/D6991
2020-03-02Cleanup: make remaining editor include headers work in C++Jacques Lucke
2020-03-02Shading: Add invert option to Vector Rotate NodeCharlie Jolly
Checkbox to invert rotation angle, suggested by @simonthommes Differential Revision: https://developer.blender.org/D6932
2020-03-02Fix T74334: VSE can't import multiple movie filesRichard Antalik
Add `directory` RNA property to add operators. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6986
2020-03-02Clay Thumb: Remove hardcoded hardness valuePablo Dobarro
Clay Thumb was using a custom hardness implementation and value to make it functional. Hardness is now a property of brushes and it is implemented for all brushes, so this is no longer needed. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6981
2020-03-02Cleanup: Correct forward declarationSergey Sharybin
2020-03-02Fix T74320: Sound strip waveforms drawing allows negative volume valuesRichard Antalik
While animating sound strips volume within the graph editor, it is possible to set keyframes to negative values. The drawing code of waveforms wasn't clamping these values to zero and was instead drawing an "inverted" curve Author: a.monti Reviewed By: iss Differential Revision: https://developer.blender.org/D6971
2020-03-01Fix: Build error on windows.Ray Molenkamp
Use of undefined GSQueue type was causing build errors.