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-04-07UI: Language Selection ChangesHarley Acheson
Removal of 'Translation' checkbox. Enable translation options when selecting non-English languages. Differential Revision: https://developer.blender.org/D7210 Reviewed by Brecht Van Lommel
2020-04-07GPencil: Fix unreported problems with Chisel brushAntonio Vazquez
With the new sampling, the arc points were not using the angle of the brush and the line was with the same thickness in all orientations.
2020-04-07UI: Don't collapse all panels for subpanelsHans Goudey
The behavior for subpanels was incorrect, and the ideal behavior isn't even clear. This disables the "collapse all" ctrl click feature for panels that have parents. Differential Revision: https://developer.blender.org/D7355
2020-04-07Undo: change depsgraph recalc flags handling to improve performanceBrecht Van Lommel
These changes only have an effect when the experimental Undo Speedup preference is enabled. * For DEG_id_tag_update, accumulate recalc flags immediately before the undo push happens instead of afterwards. Otherwise the undo state does not contain enough flags, and the current state may contain too many flags. This also means we call DEG_id_tag_update after undo with the accumulated flags to ensure they are flushed to other datablocks. * For undo, accumulate recalc flags in id->recalc and clear accumulated flags immediately. Not clearing would cause circular behavior where accumulated flags may never end up being cleared. This matches what happens after an undo push where these are also cleared, indicating that the undo state and current in-memory state match exactly. * Don't change id->recalc of identical datablocks, it should not be needed. There is one exception for armatures where pointers across datablocks exist which otherwise would cause problems. There may be a better solution to this but it seems to work in agent 327 production files. * This contains a change in undofile.c to avoid detecting all datablocks as changed for the first of the two undo steps, where we restore to the state of the last undo push before going to the one before. Without this the whole system is much less efficient. However this is unsafe in the sense that if an app handler or operators edits a datablock after an undo push, that change will not be undone. It can be argued that this is acceptable behavior, since a following undo push will include that change and this may already have unexpected side effects. Ref T60695 Differential Revision: https://developer.blender.org/D7339
2020-04-07Fix T73566: Mesh analysis, error showing intersecting facesCampbell Barton
2020-04-07Fix T74720: bmesh.ops.delete default context argument does nothingmano-wii
2020-04-07Cleanup: use doxy sectionsCampbell Barton
2020-04-07Fix T75471: Outliner: crash selecting modifier objects/targets that are in a ↵Philipp Oeser
excluded collection There is no garuantee 'outliner_find_id()' can find those corresponding TreeElements, safeguard against failure now. note: not sure why this was no problem in Release builds? (could only reproduce crashes in Debug builds...) Maniphest Tasks: T75471 Differential Revision: https://developer.blender.org/D7365
2020-04-07Fix T75343: Wireframe overylay is not working properly with multiple modifiersPhilipp Oeser
Since rBcf258b02f449, only wires and edges that are mapped to the original mesh were drawn if the mesh was modified by modifiers. Above commit was only meant for showing orig wires for paint mask overlays [where final wireframe is not desired], so now only use MR_EXTRACT_MAPPED when we are in a paint mode. Maniphest Tasks: T75343 Differential Revision: https://developer.blender.org/D7333
2020-04-07Fix T74828: Fluid: Crash with Fire/Smoke NoiseSebastián Barschkis
Issue was that the noise simulation was trying to bake with a minimized domain size (adaptive domain initializes domain with size (1,1,1)). Similarly to the base resolution bake, there should be no noise baking happening at those domain sizes - a domain at this size is considered empty.
2020-04-07Revert "Fix memory leak in recent panel drag widget cache"Campbell Barton
This reverts commit 58e20b432a2bd7fbff7ebb7aa1f49a6662dc6e7c. Was calling discard twice, tsk. Although for some reason it did quiet the leak. Reverting because this is causing a crash.
2020-04-07Fix T66751: Symmetrizing armature does not symmetrize constraints.Sebastian Parborg
The symmetrize operator now tries to make sure that the armature constraints are correctly mirrored. Before it would only mirror the subtargets for the constraints (and that failed too in some cases). Reviewed By: Sybren Differential Revision: http://developer.blender.org/D6009
2020-04-07Fix memory leak in recent panel drag widget cacheCampbell Barton
Memory leak from 60d873bd22121.
2020-04-07Cleanup: avoid memory allocation for unchanged datablocks in undoBrecht Van Lommel
Differential Revision: https://developer.blender.org/D7336
2020-04-07Cleanup: split partial undo code off into functions, tweak debug printsBrecht Van Lommel
Differential Revision: https://developer.blender.org/D7331
2020-04-07Cleanup: simplify logic for partial undo in ID readBrecht Van Lommel
Differential Revision: https://developer.blender.org/D7330
2020-04-07Cleanup: skip reading UI datablocks entirely for undoBrecht Van Lommel
Other types of datablocks pointing to UI datablocks is unsupported, so there is no need to store them in fd->libmap. With the experimental undo speedup enabled preserving such pointers was done. But it didn't work in 2.82 and such pointers are easily lost in cases other than undo. Differential Revision: https://developer.blender.org/D7329
2020-04-07Cleanup: delay creating datamap until it's actually neededBrecht Van Lommel
Differential Revision: https://developer.blender.org/D7328
2020-04-07Cleanup: don't use global variable for test if IDs are identicalBrecht Van Lommel
Differential Revision: https://developer.blender.org/D7327
2020-04-07Cleanup: split off library and linked datablock undo restoreBrecht Van Lommel
Differential Revision: https://developer.blender.org/D7326
2020-04-07Cleanup: early out on invalid ID data to simplify control flowBrecht Van Lommel
Differential Revision: https://developer.blender.org/D7325
2020-04-07Cleanup: split off direct_link_id() functionBrecht Van Lommel
Differential Revision: https://developer.blender.org/D7324
2020-04-07Fix T73598: Pose options - Auto IK. Bones move on releaseSebastian Parborg
The issue was that the code tried to use the bones transformation matrix as a rotation matrix. This works fine as long as the scale is 1. Now we simply make sure that we only get a pure rotation matrix when extracting it for the bone's transformation matrix.
2020-04-07Fix crash using object.to_mesh() when in edit modeSergey Sharybin
The root of the issue was caused by mesh which was a result of to_mesh() had the same edit_mesh pointer as the input object, causing double-free error. This fix makes it so result mesh does not have edit mesh pointer. Motivation part behind this is to make the result of to_mesh() to be somewhat independent from the input. Differential Revision: https://developer.blender.org/D7361
2020-04-07GPUBatch: Correctly Free Panel Widget BatchJeroen Bakker
The GPU Batch for the panel drag widget wasn't freed anywhere. This patch will free the GPUBatch.
2020-04-07Fix T75128: Select Linked fails when the selection is a delimiterCampbell Barton
Starting select linked failed when the selected vertex or edge was it's self delimiting. Support using these elements for linked select as long as they're part of an isolated selection.
2020-04-07Fix T68159: Normals point target crashes when exiting edit-modeCampbell Barton
When the modal operator passes events, free the internal state of the operator as we can't be sure those events don't cause the mesh data to be re-allocated or removed. Longer term it might be best to make this into a tool since the main purpose of this operator is to run other actions.
2020-04-07Cleanup: remove unused BM_total_loop_select functionCampbell Barton
2020-04-07UI: rename 'smoothen' to 'smooth'Campbell Barton
Other smooth operators use term 'smooth'.
2020-04-07Cleanup: doxy sections, move utility function to editmesh_utils.cCampbell Barton
2020-04-07Fix T60069: repeated extrusion uses wrong axismano-wii
2020-04-07Cleanup: BLI_path.h function renamingCampbell Barton
Use BLI_path_ prefix, more consistent names: BLI_parent_dir -> BLI_path_parent_dir BLI_parent_dir_until_exists -> BLI_path_parent_dir_until_exists BLI_ensure_filename -> BLI_path_filename_ensure BLI_first_slash -> BLI_path_slash_find BLI_last_slash -> BLI_path_slash_rfind BLI_add_slash -> BLI_path_slash_ensure BLI_del_slash -> BLI_path_slash_rstrip BLI_path_native_slash -> BLI_path_slash_native Rename 'cleanup' to 'normalize', similar to Python's `os.path.normpath`. BLI_cleanup_path -> BLI_path_normalize BLI_cleanup_dir -> BLI_path_normalize_dir BLI_cleanup_unc -> BLI_path_normalize_unc BLI_cleanup_unc16 -> BLI_path_normalize_unc16 Clarify naming for extracting, creating numbered paths: BLI_stringenc -> BLI_path_sequence_encode BLI_stringdec -> BLI_path_sequence_decode Part of T74506 proposal.
2020-04-07Cleanup: clang-formatCampbell Barton
2020-04-07UI: Use Consistent Operator NameAaron Carlisle
Was called "Subdivide Multi" in Bone Edit and "Subdivide" in Mesh Edit
2020-04-06GPU: Panel Drag Widget Drawing PerformanceJeroen Bakker
The 10g Intel/Win driver doesn't work well with our emulated intermediate mode. This patch alters the drawing of the drag widget of the panels to reduce unneeded drawing. The previous method would draw 16 boxes per widget. This new way would cache this drawing in a GPU batch and just move the matrix around. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7345
2020-04-06Don't take into account time remapping when scrubbing with AV sync.Sebastian Parborg
It would cause the playhead to be remapped to an other frame than the one you clicked on.
2020-04-06Fix user counting when ungrouping a node group.Maxim Vasiliev
Existing code for ungrouping did not correctly handle user counters: - counter for the group was not decremented - counters for containing nodes were not incremented The latter resulted in losing some nodes after orphan cleaning or several save/reload cycles. The bug did not have destructive consequences until recently, because it was compensated by another bug (fixed in rBe993667a46c2). Maniphest Tasks: T74665, T74682 Differential Revision: https://developer.blender.org/D7332
2020-04-06Cleanup: keep parameter docs above the function bodyCampbell Barton
2020-04-06Tracking: Fix (un)distortion happen in single threadSergey Sharybin
Need to communicate available number of threads to the camera intrinsics implementation, otherwise default value of 1 is used. Must have been single-threaded for a very long time.
2020-04-06Fix T75444: typo in tooltipJacques Lucke
2020-04-06Fix T74111: Animation Playback Delayed With Time Remapping And AV-SyncSebastian Parborg
When setting the current playback time in BKE_sound_play_scene we didn't account for the frame length. So the current frame/time would be wrong when we asked the audio playback what time it was. This would lead to playback being offset when using time remapping and AV sync. Reviewed By: Richard Antalik and Sybren A. Stüvel Differential Revision: http://developer.blender.org/D7248
2020-04-06Fix T75418: Outliner Blender File view has UNKNOWN category for armaturesPhilipp Oeser
Typo in rB57daecc2cf88. Maniphest Tasks: T75418 Differential Revision: https://developer.blender.org/D7346
2020-04-06Fix (unreported) wrong hair vertex colorsPhilipp Oeser
This was already fixed in rB985f33719ce9 once. But resurfaced after rB7070e4c15e6c [which just reverted a bit too much ;)]. Spotted while looking into T75263. Differential Revision: https://developer.blender.org/D7308
2020-04-06Tracking: Fix slow undistored displaySergey Sharybin
TH distortion model was not cached properly, making it so frame is undistorted on every redraw.
2020-04-06Fix f-curve sequencer versioning logicCampbell Barton
Screen loop was inside an existing screen loop, in the body of a function used to initialize the toolbar region.
2020-04-06Fix T75297: Apply base inflates meshes with Simple subdivisionSergey Sharybin
2020-04-06Fix T75311, T75310: Edit Weight Paint Overlay Render ArtifactsJeroen Bakker
During recent refactoring of the edit weight overlay we moved a assignment before it was valid. Making everything one frame off what resulted in a flashing frame during TAA, not drawing the overlay until a second action happened, making overlays too bright. The reason whas that the painting overlay wasn't initialized in the first sample, but the draw passes and groups were filled. Resulting in rendering the overlay twice or not at all. This change moves the assignment to where it is valid.
2020-04-06Cleanup: Add some comments removed in rB0d0036cb53f8Richard Antalik
2020-04-06Cleanup: spellingCampbell Barton
2020-04-06Fix displaying edit-mesh measurements with deform modifiersCampbell Barton
Resolves regression from 2.7x