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-09Merge branch 'blender-v2.91-release'Pablo Dobarro
2020-11-09Fix assert in the sculpt pen tilt codePablo Dobarro
Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D9422
2020-11-09Cleanup: more renaming in the render/ module for consistencyBrecht Van Lommel
2020-11-09macOS: follow system preference for natural trackpad scroll directionYevgeny Makarov
And remove Blender preference, which was expected to be set to match the system preference for correct behavior. Instead just handle this automatically. Differential Revision: https://developer.blender.org/D9402
2020-11-09Merge branch 'blender-v2.91-release' into masterJacques Lucke
2020-11-09Sculpt: Fix off-by-one error when creating bitmap for lasso gestureJacques Lucke
Reviewers: pablodp606 Differential Revision: https://developer.blender.org/D9472
2020-11-09Animation: move group colors switch to user preferencesSybren A. Stüvel
Move the "Show Group Colors" toggle from a per-editor option to a single user preference in the Animation preferences. The Grease Pencil animation channel side panel allows picking a channel color; this now shows a message when channel colors are disabled. The old "Show Group Colors" toggle had to be set per editor, and was on by default. This meant that disabling group colors would require an action for every file, for every editor. It is very hard to select a color that works both as bone color in the 3D Viewport (needs to be bright there) as well as the channel list (needs to be dark there), most animators turn channel list colors off. Differential Revision: https://developer.blender.org/D9391
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-07View3D: take clipping into account for Frame AllCampbell Barton
Clamp the min/max used for Frame All/Selected by the clipping region if it's set. Resolve T81050
2020-11-07Fix for T78211: Trackpad Zoom to Mouse Position ErrorYevgeny Makarov
When using a trackpad Zoom to Mouse Position would always zoom to center of canvas. Differential Revision: https://developer.blender.org/D8683 Reviewed by Brecht Van Lommel
2020-11-07Fix for T65714: Pinch Zooming Crash using Mac TrackpadYevgeny Makarov
Ensure that Zoom does not crash on Mac Trackpad by checking for existence of Continuous Zoom timer. Differential Revision: https://developer.blender.org/D8682 Reviewed by Julian Eisel
2020-11-06Merge branch 'blender-v2.91-release' into masterPhilipp Oeser
2020-11-06Fix T81997: Subsurf Optimal Display sticks after object conversionPhilipp Oeser
When using Optimal Display, some edges are not flagged `ME_EDGEDRAW` | `ME_EDGERENDER`. When the modifier is applied through the UI in the modifier stack this is not an issue because the `modifyMesh` callback is run with `MOD_APPLY_TO_BASE_MESH` (this will effectively turn of Optimal Display). When converting to mesh though, this will just get an evaluated mesh (where the edge flags are still the same as with the subdivision modifier). Now ensure every edge is flagged to draw after conversion. Maniphest Tasks: T81997 Differential Revision: https://developer.blender.org/D9331
2020-11-06Merge branch 'blender-v2.91-release' into masterPhilipp Oeser
2020-11-06Fix T82251: Outliner Material Drag&Drop missing tree updatePhilipp Oeser
Caused by rBb077de086e14. Not entirely sure why this was rebuilding the tree prior to above commit, but sending an ND_OB_SHADING notifier is appropriate (and also what the Outliners listener listens to). Maniphest Tasks: T82251 Differential Revision: https://developer.blender.org/D9396
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: rename time related variablesRichard Antalik
Variables renaned: - cfra -> timeline_frame - nr -> frame index - cfra_over -> overlap_frame Function seq_give_stripelem_index was renamed to seq_give_frame_index.
2020-11-06Merge branch 'blender-v2.91-release' into masterPhilipp Oeser
2020-11-06Fix T82364: Widget anim state not updated when deleting channel in Graph EditorPhilipp Oeser
So a keyframed e.g. location slider would stay yellow/green even if its corresponding channel was removed. Needs a appropriate notifier so the listeners (e.g. buttons_area_listener, view3d_buttons_region_listener) would cause a redraw. Maniphest Tasks: T82364 Differential Revision: https://developer.blender.org/D9438
2020-11-06Merge branch 'blender-v2.91-release' into masterPhilipp Oeser
2020-11-06Fix Outliner editbone selection with 'Sync Selection'Philipp Oeser
When editbones were selected from the Outliner (and they were connected to a parent) with the 'Sync Selection' option turned ON, they could not get duplicated. For duplication to work, the (connected) parent bone's tip also has to be selected [which was not the case when selection is done from the Outliner under above circumstances]. The reason being that armature_duplicate_selected_exec -> ED_armature_edit_sync_selection clears the BONE_ROOTSEL flag if the parent bone's BONE_TIPSEL is not set. Caused by rB71eb65328078 btw. The correct "parent-tip-selection" would actually happen in activation - `tree_element_active_ebone` -- `tree_element_active_ebone__sel` but for 'Sync Selection' this happens [also] in - `outliner_sync_selection_from_outliner` -- `outliner_select_sync_to_edit_bone` which did not do the "flushing" to the parent bone's tip Now use existing dedicated function for this. ref. T82347 Reviewers: Zachman Differential Revision: https://developer.blender.org/D9470
2020-11-06Cleanup: use doxy sections for node_group.cCampbell Barton
2020-11-06Cleanup: use if/else check for property pollCampbell Barton
2020-11-06Cleanup: replace STREQLEN with STRPREFIX for constant stringsCampbell Barton
2020-11-06Cleanup: use STR_ELEM macroCampbell Barton
2020-11-06Cleanup: doxygen commentsCampbell Barton
2020-11-06Cleanup: use ELEM macro (>2 args)Campbell Barton
2020-11-06Cleanup: clang-formatCampbell Barton
Missed this last commit.
2020-11-06Cleanup: use ELEM macroCampbell Barton
2020-11-06Cleanup: follow our code style for float literalsCampbell Barton
2020-11-06Cleanup: transform.h comments, use doxy sectionsCampbell Barton
2020-11-06Cleanup: sort structs, filesCampbell Barton
2020-11-06Cleanup: clang-formatCampbell Barton
2020-11-06Cleanup: unused variableCampbell Barton
2020-11-06Merge branch 'blender-v2.91-release'Pablo Dobarro
2020-11-06Fix T81915: Draw Face Sets not working with deformed sculpt meshPablo Dobarro
The draw face sets brush uses the poly center when used in meshes to increase its precision when working in low poly geometry. For this to work with deformed meshes, the deformed coordinates from the PBVH should be used instead. Reviewed By: sergey Maniphest Tasks: T81915 Differential Revision: https://developer.blender.org/D9424
2020-11-06Fix memory leaks in sculpt mode trimming toolsPablo Dobarro
BKE_mesh_free() seems to not free the meshes correctly, so using BKE_id_free() instead. The looptri array was also not freed. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9426
2020-11-06Fix T82400: Dyntopo detail size edit operator visual glitchPablo Dobarro
Just a missing immUnbindProgram Reviewed By: sergey Maniphest Tasks: T82400 Differential Revision: https://developer.blender.org/D9459
2020-11-06Fix Dyntopo detail size preview orientation not matching the cursorPablo Dobarro
Used the sampled cursor normal when available instead of the raycast face normal. This makes the preview match the previous orientation of the cursor. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9460
2020-11-06Move "Camera Parent Lock" from preferences to Object RelationsHans Goudey
"Camera Parent Lock" can be useful when rigging cameras, but it is not intuitive, and has also generated a lot of confusion (bug reports). This is because it breaks the fundamental parent <-> child relationship conventions in Blender, and there is no indication that it's intended without diving into the preferences. This commit moves the setting to the object level, and exposes it in the relations panel in the property editor. It is exposed for every object type because any object type can be "View Locked" in the 3D view. The property description is also updated to reflect this change and be more specific without getting too long. In the future this could become a more general feature of the transform system, but for now it is limited to "Lock Camera to View". Differential Revision: https://developer.blender.org/D9239
2020-11-06Fix T82164: Knife tool draws huge vertices after using bgl.glPointSizeGermano Cavalcante
Since it is possible to have multiple draw callbacks, (some of which use bgl and others gpu), check and force the reset of the drawing status at the end of each callback. Differential Revision: https://developer.blender.org/D9476
2020-11-05Merge branch 'blender-v2.91-release'Robert Guetzkow
2020-11-05Fix T82423: Replace duplicate name in keymapRobert Guetzkow
The two entries `TFM_MODAL_AUTOCONSTRAINT` and `TFM_MODAL_AUTOCONSTRAINTPLANE` had the same name displayed in the UI. The latter is now includes "plane" in it's name. Reviewed By: mano-wii Differential Revision: https://developer.blender.org/D9474
2020-11-05Spelling: Predefined, Look Up, No OneHarley Acheson
Fixes 18 misspellings of 'predefined', 'Look Up', 'Lookup', and 'No One'. Differential Revision: https://developer.blender.org/D9466 Reviewed by Hans Goudey
2020-11-05VSE: cache performance optimizationRichard Antalik
Map frame for cached raw images to strip input media frame range. This means that static images or extended frame range of movies will only generate one cache entry. timeline_frame is stored in cache key as a reference - on what frame was this entry created, so we don't have to reverse lookup frame range. Since each media frame corresponds to one cache frame with same frame index key, there is no need to invalidate raw cache when changing time remapping properties like use_reverse_frames or strobe No changes are needed for disk cache, since invalidating raw entry assumes all data will be invalidated. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9462
2020-11-05Rename extern rendering and proxy functionsRichard Antalik
Replace BKE_sequencer wirh SEQ_render or SEQ_proxy prefixes. In cases where function is very generic, only SEQ prefix is used. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9439
2020-11-05Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-05Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-05Transform: support individual origins for "To Sphere"Campbell Barton