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-05-29Fix T77130: Visually broken/stepped wireframe in object mode (regression)Clément Foucault
Create a new shader for the selection fix. Differential Revision: https://developer.blender.org/D7873
2020-05-28GPencil: Reduce aliasing for subpixel linesClément Foucault
2020-05-27Fix T75096: Crash when using liquid simulation as dynamic paint brushJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D7853
2020-05-27Fix T77105: Crashes when clicking "new scene" buttonDalai Felinto
This was introduced on ecc395e473d. Effectively this is reverting that commit for cases when scene->toolsettings->sculpt is NULL. But since the facesets are only working for sculpting this should be fine.
2020-05-27Fix: A few missing outliner selection sync tagsNathan Craddock
Add selection syncing for object add named (e.g. drag and drop from outliner to 3D view), outliner right click (a sync when the context menu is cancelled), and for object selection from Python.
2020-05-26Fix Cloth Brush grab deformation modePablo Dobarro
The grab mode was not correctly implemented, so the way it was working was confusing for users. - Grab delta was calculated in increments from the last stroke position, so it did not match the behavior of a grab brush. I refactored the grab delta calculation to make this change more explicit. - Grab displacement was not calculated from the original coordinates - Grab was using an incorrect strength Grab is now setting the position of the affected vertices directly and the constraints solve the rest of the cloth. I also tried to implement an alternative version based on applying forces to move the vertices to the grab position, but I think this is more controllable and the grab falloff can be adjusted by tweaking the simulation falloff. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7756
2020-05-26Fix Pose Brush origin position with large brush sizePablo Dobarro
When the brush size is bigger than the entire mesh, fdata.tot_co can be 0, so the pose origin will default to (0,0,0), which does not make much sense. After this patch, the pose origin will be set to the farthest vertex from the pose origin, which at least should be in the surface of the mesh and in most cases in the direction the pose brush was already detecting the origin. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7773
2020-05-26Fix naming in the PBVH neighbor iterator macroPablo Dobarro
The only possible name for the iterator was ni, this should fix that. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7774
2020-05-26Fix PBVH API returning wrong normal when using shape keys and modifiersPablo Dobarro
The implementation of this function should match the one in SCULPT_vertex_co_get. This does not solve the issue when sculpting with modifiers active but I think this code is wrong Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D7805
2020-05-26Fix T77021: Alembic export of animated mesh with multiple UV maps failsSybren A. Stüvel
This was caused by a side-effect of our exporting code's memory management (Alembic considers data "written" and "final" when its C++ objects go out of scope) in combination with my change in rB65574463fa2d. I removed an "only export UVs on the first frame" clause because it was unclear why this restriction was there. As it turns out, it breaks the export of the 2nd and subsequent UV maps on an animated mesh. Effectively, on every frame the Alembic library thought we want to create a new UV map, instead of continuing to write a new frame of data to the existing one. This is resolved by keeping a reference to the C++ objects for the UV maps in memory while the exporter is running.
2020-05-26Fix T77074: Collections: Exclude From ViewLayer toggle crashesPhilipp Oeser
Consider this a bandaid fix (similar to rBe2724abc22d5). Real issue seems to be that object is still in OB_MODE_PARTICLE_EDIT whereas it should be in OB_MODE_OBJECT after toggling 'Exclude From ViewLayer'. So while this patch prevents the crash, it leaves the object in a weird state (it cannot be selected for example), needs further investigation. Maniphest Tasks: T77074 Differential Revision: https://developer.blender.org/D7843
2020-05-26Fix overlapping tabs placement when used in right Top-bar splitJulian Eisel
Didn't respect alignment rules for split layouts. Reported in T77075.
2020-05-26Fix T77049: VSE Image cache is not refreshed when strip are muted/Philipp Oeser
unmuted in metastrip Maniphest Tasks: T77049 Differential Revision: https://developer.blender.org/D7834
2020-05-26Fix T77075: Crash omitting optional UILayout.template_ID_tabs parameterJulian Eisel
2020-05-26Fix T68209: Crash opening pre 2.8 file with maximized areaJulian Eisel
Versioning for workspaces didn't update the map used to determine which layout is active for a workspace in a specific window. Library code now called the function to make a workspace active (even if it already was active), which would also use this map to determine the active layout -- the wrong one. Error in initial workspace integration, but only uncovered recently. Likely through 0d8a8ce03b99.
2020-05-26Fix T76926: Crash with Full Screen file browser window preferenceJacques Lucke
Alternative fix for T75292 & T73579 (see b75ce05c3b0f), that does not cause this crash. The crash happened because cancelling the file browser removes its screen (as in bScreen). Before rBb75ce05c3b0f, the file browser event wouldn't be handled any further then. After it, it would still be passed to other areas, while the screen pointer was dangling. Now the event is only skipped for UI handlers. Reviewed by: Julian Eisel
2020-05-26Fix T76902: face sets checkbox brokenJeroen Bakker
Due to recent changes the face sets checkbox broke. The cause is that {7d38f5036794} changed the responsibility of drawing and updating sculpt GPU buffers to fix render glitches. This patch moves the checkboxes evaluation to the overlay engine.
2020-05-26Fix T76970: Unneccessary update calls viewportJeroen Bakker
Due to recent changes clicks in the node editor would trigger a depsgraph update resulting in too many redraws. This patch limits the updates to when workbench shown in texture mode in any visible screen. There are still cases where too many updates are created. For example when there are a Cycles render viewport and a Workbench texture viewport on the same screen. This fix is meant as a workaround. The actual fix should add a mechanism to the depsgraph and the viewports should check if they need to be redrawn. Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D7830
2020-05-25DRW: Selection: Extend small object selection workaround to all overlaysClément Foucault
Fix T77015 box select doesnt select cameras when zoomed out, lasso and circle select do work.
2020-05-25Fix T72121: Measurements are being drawn incorrectly if one end is off screenClément Foucault
The solution is to distribute the drawing for part to be done in 3d (dashed lines, arc) and another part in 2d (text and caps). Ref T72121 Reviewed By: fclem Maniphest Tasks: T72121 Differential Revision: https://developer.blender.org/D6361
2020-05-25Fix T77009: texture baking crash on WindowsBrecht Van Lommel
Only happens in master, but DynamicArray implementation is wrong also in 2.83. Thanks to Jesse Y and Ray Molenkamp for investigating.
2020-05-25Cleanup wrong format specifier in a debug printf.Bastien Montagne
2020-05-25Fix T76267: Stencil texture with negative scale dissapears afterPhilipp Oeser
clicking Image Aspect Calculate with positive areas here and ensure stencil_dimension stays positive. Maniphest Tasks: T76267 Differential Revision: https://developer.blender.org/D7821
2020-05-25Revert "UI: View3D Cursor Changes"Dalai Felinto
This change is yet to be followed by a more comprehensive design proposal including: * How to differentiate the modes apart. * More clear definition of tools and the rules for their components (gizmo, cursor). * Selection as a non-tool vs drag option. This can be revisited for 2.90 with more time. For now the UI team agrees to revert this. -- This reverts commit 4aa703aa1430bc53f19e2cc7182e70db1a916f13.
2020-05-25VR: Fix big performance bottleneck for simple scenesJulian Eisel
Blender's main loop puts the main thread to sleep for 5ms if no user input was received from the OS. We never want that to happen while the VR session is running, which runs on the main thread too. For simpler scenes, where the viewport already draws fast, this may have quite some impact. E.g. in my tests, the classroom scene went from ~55 to quite stable 90 FPS in solid mode (total render time as measured and averaged by Windows Mixed Reality utilities). With Eevee, it only went from 41 to 47 FPS. In complex files, there's barely a difference. E.g. less than 1 FPS increase in a Spring file (both Solid mode and Eevee).
2020-05-25Fix T76941: "Set Inverse" in Child Of constraint broken with armaturesSybren A. Stüvel
When the Child Of constraint is owned by a bone, before the constraint is run the matrix is converted from world to pose space. However, setting the inverse should also take the armature object's transform into account.
2020-05-25Cleanup: ID makelocal code: remove useless and confusing debug code.Bastien Montagne
Thing is, user code should not have the responsibility to check that libquery is valid. Such checks are only source of confusion and errors as nobody will think about finding and updating them in some obscure specific area of the code...
2020-05-25Fix T76997: bad handling of embedded IDs in partial append.Bastien Montagne
Code dealing with embedded data was pre-existing proper generic handling of those by `BKE_library_foreach_ID_link()` - and was never updated for scene's master collection it would seem... Note that such fix/refactor is a bit risky at this point in the release cycle, but on the other end previous situation was really broken. So finger crossed. :|
2020-05-25Fix autokeyframing masks not updating properlyPhilipp Oeser
Spotted while looking into T76872 Maniphest Tasks: T76872 Differential Revision: https://developer.blender.org/D7786
2020-05-25Fix T76990: Crash shortest path select with 'face stepping' when no faces.Bastien Montagne
Note that this sometimes gives no solution when there is a mix of edges with and without faces... But at leat this should be safe fix.
2020-05-25Fix T76897: Lamp Power Not Updating from DriverSybren A. Stüvel
Lamps were not tagged with `ID_RECALC_SHADING` when they were updated from drivers. As a result, Cycles considered the lamp as unchanged. This is resolved by having a (seemingly non-functional) callback in a new `LIGHT_UPDATE` depsgraph node. This patch unconditionally adds the `LIGHT_UPDATE` node + the relation from the lamp's PARAMETERS node. Differential Revision: https://developer.blender.org/D7822 Reviewed by: brecht
2020-05-25Fix crash when converting BMesh to Mesh with shape keysSybren A. Stüvel
The `BM_mesh_bm_to_me()` function copies shape keys from the BMesh to the Mesh. However, it tries to copy the same number of shape keys as are defined on the target mesh. Since the target mesh does not necessarily have the same number of shape keys as the BMesh, this would crash if the target Mesh has more. Found while performing some tests for {D7785}. Differential Revision: https://developer.blender.org/D7818 Reviewed by: brecht
2020-05-25Fix T77031: Blender as pymodule crashes when renderingCampbell Barton
No longer enforce WITH_HEADLESS when building as a Python module as it disables GPU access which is needed for rendering.
2020-05-25Cleanup: make formatCampbell Barton
2020-05-24Fix(unreported): Crash on prefetching while transforming strip.Richard Antalik
While investigating T76274, I found crash scenario when playhead is near end frame and moving a strip. It is not as easy to reproduce, about 5% success rate, and it will be even harder after rB4066c921fbe5. Exact cause wasn't identified yet. I wanted to disable prefetching during modal operator execution in VSE, but currently I don't have any signalling method in place. Checking for G.moving seems to resolve this problem, but it doesn't adress root cause of bug. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7820
2020-05-24Fix T77003: GPencil Paint presets not initializatedAntonio Vazquez
In som ecases, the Paint was not ready when the brushes and palette were created. Now, first the paint is checked.
2020-05-23Fix T76578: Show bone visibility driver in outlinerNathan Craddock
Allow setting drivers and keyframes for the bone visibility restriction icon in the outliner. Before the button was a simple icon button, but it is now connected to the RNA property to show the driven or keyframed state. Also when hiding a bone from the outliner it would be deselected, but from the properties editor it would remain selected. This moves the deselection to the RNA update function to ensure the bone is always deselected. Differential Revision: https://developer.blender.org/D7825
2020-05-23GPencil: Fix unreported Noise modifier does not work in axis aligned strokesAntonio Vazquez
If the stroke is totally straight, the normal was not calculated properly.
2020-05-22Cleanup: silence deprecation warnings of Carbon Finder Favorites itemsAnkit
Differential Revision: https://developer.blender.org/D7655
2020-05-22Fix T74443: No render in VP9 lossless modePhilipp Oeser
We define Lossless as CRF 0 (which is usually the best quality and is working fine with other codecs afaict), but since WebM only allows for CRF values between 2-32 and actually has a dedicated "lossless" mode, I suggest using that (it produces large files though, so double-checking would be welcome). https://trac.ffmpeg.org/wiki/Encode/VP9#LosslessVP9 Maniphest Tasks: T74443 Differential Revision: https://developer.blender.org/D7800
2020-05-22Fix T76960: fluid baking operators not working with pinned objectPhilipp Oeser
Maniphest Tasks: T76960 Differential Revision: https://developer.blender.org/D7819
2020-05-22Fix T73115: In Front Drawing Bone Envelope DistanceJeroen Bakker
The in front drawing was not supported for transparent part of the armature. This patch adds a second transparent pass for drawing in front. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7763
2020-05-22UV: remove "UV Local View" for UV editingCampbell Barton
This feature was added when Blender used tex-face (per-face images), but doesn't make as much sense since this was removed. Removing this from UV edit-mode as this wasn't working in any of the 2.8x releases, causing UV's to be visible but unselectable. Resolves issue raised in T76958.
2020-05-22Fix T73726: Workbench Closest Interpolation ArtifactsJeroen Bakker
All textures in workbench are using linear interpolation. The fragment shader modifies the uv coordinates to sample always in the center of a texel. In rare conditions the GPU could sample an incorrect value due to rounding errors making some rendering artifacts. This patch skips the interpolation in the fragment shader to remove these render artifacts. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7816
2020-05-22Fix (unreported): prefetching wastes resources when end frame is reachedRichard Antalik
This bug is not really visible for user. When end frame is reached by prefetching thread, it doesn't stop and keeps on getting images from cache. Add chech for this situation and simplify logic involved in suspending, so it's easier to read. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7757
2020-05-22Fix (unreported): Don't restart prefetching during rendering.Richard Antalik
Prefetching is stopped in BKE_sequencer_cache_cleanup, but is restarted quickly. Prefetching has negative effect on performance while rendering. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7751
2020-05-22Fix T76774: Crash on prefetching sequences from another scene.Richard Antalik
When rendering another scene, caching in disabled by setting local_context.skip_cache = true. Precondition checking for this flag was missing in BKE_sequencer_cache_get and it wasn't first thing to check in BKE_sequencer_cache_put. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7750
2020-05-22Fix T64277: Inverted WheelmouseJeroen Bakker
When using CTRL wheel mouse the items were selected in a different order than when opening the menu and use the wheel mouse. Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D7791
2020-05-22Fix Python console cursor heightCampbell Barton
2020-05-21Docs: note that the color-ramp uses image alphaCampbell Barton
Avoid misunderstanding from T59110