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-08-11Cleanup: rename variables 'gizmo_snap' to 'snap_gizmo'Germano Cavalcante
And a minor fix when there is no `USE_SNAP_DETECT_FROM_KEYMAP_HACK`.
2020-08-11Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-11Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-11Fix T79517: Data Transfer modifier fails in edit-modeCampbell Barton
2020-08-11Fix mesh data-transfer tracking if a change was madeCampbell Barton
2020-08-11Fix compile error after recent cleanupJacques Lucke
2020-08-11Merge branch 'blender-v2.90-release' into masterJacques Lucke
2020-08-11Python: don't remove existing context overrides when calling an operatorJacques Lucke
Reviewers: campbellbarton, brecht Differential Revision: https://developer.blender.org/D8532
2020-08-11Timers: set first window as context in timerJacques Lucke
This avoids some crashes when running Python code in timers. Reviewers: brecht Differential Revision: https://developer.blender.org/D8531
2020-08-11Cleanup: Strict compiler flagsSergey Sharybin
Mainly caused by moving tests to source folder, which brings new compiler flags. Also, no need to extend include directories (to the non-existing paths, btw) since this is done by the CmakeList.txt which is in the blenlib folder.
2020-08-11Depsgraph: Use UUID to match modifiersSergey Sharybin
Solves possible pointer-based comparison fiasco. Another nice outcome of this is that topology cache will now be preserved throughout the undo system. For example, undo of object transform will not require topology cache to be re-created. Differential Revision: https://developer.blender.org/D8493
2020-08-11Modifier: Maintain per-modifier session UUIDSergey Sharybin
Allows to keep track of modifiers, which is required, for example, for runtime data preservation in depsgraph.
2020-08-11Fix path regression test build failure on WindowsSergey Sharybin
The file was including BKE. It was a required fix for another compilation error a while back. It is a bad level include, and seems is not needed anymore.
2020-08-11Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-11Fix memory leak setting error text in the data-transfer modifierCampbell Barton
2020-08-11Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-11Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-11Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-11Fix T77409: Crash showing vertex/face duplicators in edit-modeCampbell Barton
Support duplicators in edit-mode without creating a mesh copy.
2020-08-11BMesh: add UV calculate center callCampbell Barton
Move uv_poly_center to BM_face_uv_calc_center_median as it was only defined in uvedit_intern.h
2020-08-11Cleanup: use doxy sections for object_dupli.cCampbell Barton
2020-08-11Cleanup: GCC warning in guardedalloc_overflow_testCampbell Barton
2020-08-11Cleanup: spellingCampbell Barton
2020-08-11Merge branch 'blender-v2.90-release'Lukas Stockner
2020-08-10Fix T77298: Can't bake texture with multiple objectsLukas Stockner
The problem here is that the baking code uses tiles to exchange pixel data with the renderer since a recent-ish refactor, but the code that sent data to the renderer did not initialize the bake result pixels. Therefore, when the baking process for the second object started, Cycles received empty tiles and sent them back as-is if the second object did not cover them. By initializing the tiles with the result of the previous bakes, we avoid this problem.
2020-08-10Merge branch 'blender-v2.90-release'Julian Eisel
2020-08-10Fix T79636: Inserting special characters with Ctrl+Alt broken on WindowsJulian Eisel
We can't exactly follow what we do for macOS here. On Windows special characters can be inserted with Ctrl+Alt. So make sure we expect UTF-8 characters when Alt is held. Mistake in 87062d4d670c.
2020-08-10Cleanup: follow code style regarding bracesBrecht Van Lommel
2020-08-10BLI: improve StringRef for C++17Jacques Lucke
Since C++17 there is also std::string_view, which is similar to StringRef. This commit does a couple of things: * New implicit conversions between StringRef and std::string_view. * Support std::string_view in blender::DefaultHash. * Support most of the methods that std::string_view has. * Add StringRef::not_found which can be used instead of -1 in some places. * Improve/fix the description at the top of BLI_string_ref.hh.
2020-08-10Tests: move remaining gtests into their own module foldersBrecht Van Lommel
And make them part of the blender_test runner. The one exception is blenlib performance tests, which we don't want to run by default. They remain in their own executable. Differential Revision: https://developer.blender.org/D8498
2020-08-10Sculpt: Option to mask front faces only using Lasso and Box MaskPablo Dobarro
This adds a property that checks the normals of each vertex against the view direction to decide if they should be masked (similar to the "Front Faces Only" option works for brushes. Reviewed By: sergey Maniphest Tasks: T77637 Differential Revision: https://developer.blender.org/D8448
2020-08-10Sculpt: Boundary BrushPablo Dobarro
This brush includes a set of deformation modes designed to deform and control the shape of the mesh boundaries, which are really hard to do with regular sculpt brushes (and even in edit mode). This is useful for creating cloth assets and hard surface base meshes. The brush detects the mesh boundary closest to the active vertex and propagates the deformation using the brush falloff into the mesh. It includes bend, expand, inflate, grab and twist deform modes. The main use cases of this brush are the Bend and Expand deformation modes, which depend on a grid topology to create the best results. In order to do further adjustments and tweaks to the result of these deformation modes, the brush also includes the Inflate, Grab and Twist deformation modes, which do not depend that much on the topology. Grab and Inflate are the same operation that is implemented in the Grab and Inflate tools, they are also available in the boundary brush as producing deformations with regular brushes in these areas is very hard to control. Even if this brush can produce deformations in triangle meshes and meshes with a non-regular quad grid, the more regular and clean the topology is, the better. Most of the assets this brush is intended to deform are always created from a cylindrical or plane quad grid, so it should be fine. Also, its algorithms can be improved in future versions to handle more corner cases and topology patterns. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8356
2020-08-10Merge branch 'blender-v2.90-release'Julian Eisel
2020-08-10Fix T79324: Crash when changing View Layer while VR session runsJulian Eisel
Proper handling of View Layers for the VR session was never implemented. Now the View Layer of the VR session follows the window the session was started in. Note that if this window is closed, we fallback to another window. This is done to avoid the overhead it would take to maintain a separate depsgraph for the VR view. Instead we always share some already visible View Layer (and hence the depsgraph).
2020-08-10Merge branch 'blender-v2.90-release'Germano Cavalcante
2020-08-10Fix T78113: Random explosions of cloth with self collisionGermano Cavalcante
The problem is caused by a lack of prediction in the `isect_line_segment_tri_v3` that incorrectly confirms some intersections of coplanar segments to the triangle. The solution is to use another algorithm to detect intersections. This also resulted in a slight improvement in the performance: - 1min 17sec to 1min 6sec in my test file Differential Revision: https://developer.blender.org/D8500
2020-08-10GPencil: Fix warning textAntonio Vazquez
2020-08-10GPencil: Invert Filled area pressing Ctrl keyAntonio Vazquez
This feature was suggested in https://blender.community/c/rightclickselect/rggbbc/ When press `Ctrl+LMB`, the filled area is inverted. {F8749306} {F8749307} Filling several areas: {F8759399} Differential Revision: https://developer.blender.org/D8477
2020-08-10GPencil: Change default Stroke thickness when convert curvesAntonio Vazquez
The thickness by default was using the old Draw Engine values and it was too thick in new engine.
2020-08-10GPencil: Remove color conversion when convert curveAntonio Vazquez
In previous versions, grease pencil used sRGB and a color conversion was needed, but now all is Linear and the conversion changes the color wrongly.
2020-08-10Merge branch 'blender-v2.90-release' into masterBastien Montagne
2020-08-10Fix T77847: "Add plane > align" causes crash when certain rigs are in the ↵Bastien Montagne
scene (2.83, fixed in 2.90). Root of the issue was not fixed in 2.90, only hidden by the fact that we now re-read much less data during undo's that we used to, when some new datablock gets added or removed. This is not an ideal solution (as usual when dealing with data pointers shared across data-blocks), but it's decent enough. thanks a lot to @brecht for it! To be backported to 2.83 too.
2020-08-10Merge branch 'blender-v2.90-release'Julian Eisel
2020-08-10Fix pose offset on VR session start for some OpenXR runtimesJulian Eisel
We want the session to start exactly at the landmark position, with no additional offset. Some runtimes (e.g. Windows Mixed Reality) may give an initial non-[0,0,0] position at session start though. Also add a comment explaining the purpose of the eye offset variable.
2020-08-10Fix broken behavior on active VR Landmark changeJulian Eisel
There would always be an unintended offset applied. Per design there should not be any offset when changing VR Landmarks, the view should just jump exactly to the Landmark. Due to the recent changes, we don't have to add, but substract the eye offset we apply to get the wanted behavior. Mistake in 607d745a79e0.
2020-08-10Fix pose offset on VR session start for some OpenXR runtimesJulian Eisel
We want the session to start exactly at the landmark position, with no additional offset. Some runtimes (e.g. Windows Mixed Reality) may give an initial non-[0,0,0] position at session start though. Also add a comment explaining the purpose of the eye offset variable.
2020-08-10Fix broken behavior on active VR Landmark changeJulian Eisel
There would always be an unintended offset applied. Per design there should not be any offset when changing VR Landmarks, the view should just jump exactly to the Landmark. Due to the recent changes, we don't have to add, but substract the eye offset we apply to get the wanted behavior. Mistake in 607d745a79e0.
2020-08-10Fix T77685: object transforms from rigid body simulation are ignored by ↵Jacques Lucke
modifiers This does not fix all the cases in the bug report, because there are multiple different issues. Only the first two are fixed. The third is probably a known issue for now. Before this patch, the rigid body simulation was always done after modifiers are evaluated, because to perform the simulation, the final geometry of the object was required. However, the geometry is not required in all cases, depending on the selected collisions shape. This patch changes it so that when the simulation does not need the evaluated geometry, the simulation will be done before the modifiers are evaluated. This gives the modifiers access to the simulated positions. When the rigid body simulation does depend on the evaluated geometry, it will still be performed after modifiers are evaluated. The simulation will be performed after modifiers are evaluated, iff the collision shape is "Convex Hull" or "Mesh" and the source is set to "Deform" or "Final". Reviewers: sergey Differential Revision: https://developer.blender.org/D8487
2020-08-10Cleanup: use doxy sections for object_dupli.cCampbell Barton
2020-08-10Fix T79619: Sequencer window not updating whilst playing animationJeroen Bakker
Reverted Playhead optimizations for VSE. Needs more investigation to detect which settings in the VSE would require a redraw of the area.