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-26Cleanup: Fix MSVC warning regarding flags in bulletRay Molenkamp
For bullet we compile at /W0 for MSVC but we did not remove the standard /W3 flag. Leading to the following warning: Command line warning D9025 : overriding '/W3' with '/W0' This change removes the W3 flag for bullet to get rid of the warning.
2020-08-26Fix T77900: File Browser in macOS fullscreen crashesYevgeny Makarov
When Blender is started in fullscreen mode from the command line, or if the fullscreen state is saved in the startup file, all temporary windows will also open in fullscreen mode. When closing the fullscreen File Browser, Blender would either crash or parent window becomes black. This does not happen if the Blender switches to full screen manually. `NSWindowCollectionBehaviorFullScreenPrimary` should be set for windows that can enter full-screen mode. Otherwise macOS will turn the wrong window into full-screen. Similar fix: rB4b39de677d20 Differential Revision: https://developer.blender.org/D8708 Reviewed by: Julian Eisel
2020-08-26Clenaup: Refactor Sculpt gesture mask operatorsPablo Dobarro
This refactors Box Mask and Lasso mask making both functions share the same code. After this change it should be easier to add new functionality, new gesture tools or implement new gesture modes. No functional changes. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8707
2020-08-26Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-26Fix T80098: Mesh deform doesn't update in edit modeCampbell Barton
Use BKE_mesh_wrapper API access to access mesh coordinates for modifier evaluation. Call BKE_mesh_wrapper_ensure_mdata when binding since it's a one off operation. Regression from deaff945d0b96. Reviewed by: @brecht Ref D8709
2020-08-26GPencil: Hide Boundary strokes in RenderAntonio Vazquez
This change hides the boundary strokes used for closing filled areas in render mode (viewport and final render). Related to T80128
2020-08-26GPencil: Fix Assert using fill toolAntonio Vazquez
With the new changes in the Draw Manager, GPU_depth_mask must be set to ON, before clear depth.
2020-08-26Cleanup: remove G.debug_value check for old mesh-deform behaviorCampbell Barton
Added in 2007, it doesn't seem useful to support alternate behavior.
2020-08-26Cleanup: remove unused UvVertMap.flagCampbell Barton
2020-08-26Fix T79992: Error calling context.copy() in Properties EditorDalai Felinto
This was an oversight in rB83e3d25bcae3. Basically we still have the "hair" and "point_cloud" entries for the context. However they were ifdef'ed. Note this would mostly happen in 2.90 since we always build without hair and particles there. Differential Revision: https://developer.blender.org/D8712
2020-08-26Cleanup: typosJacques Lucke
2020-08-26Merge remote-tracking branch 'origin/blender-v2.90-release'Dalai Felinto
2020-08-26Fix #ifdef WITH_PARTICLE_NODES and WITH_HAIR_NODES mixup in rna_internal.hEvan Wilson
Differential Revision: https://developer.blender.org/D8711
2020-08-26BLI: support removing multiple elements from a vectorJacques Lucke
2020-08-26UV: match 3D mesh editing behavior for edge-loop selectCampbell Barton
- Cycling between part of the boundary & the entire UV boundary. - Include pole vertices in the selection. Edge loop selection was rewritten to use BMesh connectivity data.
2020-08-26Cleanup: simplify edge loop/boundary select cycling logicCampbell Barton
2020-08-26Docs: comments for interface_handlers.cCampbell Barton
Explain why some features have defines, also use doxy sections for defines & prototypes.
2020-08-26Cleanup: use const variables in interface codeCampbell Barton
2020-08-26Cleanup: add SEQ_ALL_BEGIN, SEQ_CURRENT_BEGIN to .clang-formatCampbell Barton
These were missed in 70500121b457d which caused reformatting.
2020-08-26Cleanup: spellingCampbell Barton
2020-08-26Cleanup: build without USE_KEYNAV_LIMIT definedCampbell Barton
2020-08-25Cleanup: Declare variables where they are initializedHans Goudey
Further changes to interface_handlers.c to avoid a block of variable declarations at the beginning of functions. Also use const in some situations. I only made changes where the variable's intended scope was obvious.
2020-08-25Cleanup in interface_handlers.cValentin
- Reduce variables scope - Use some const prefixes - Initialize variables at declaration - Use comparison to boolean false instead of 0 Differential Revision: https://developer.blender.org/D8678
2020-08-25install_deps: also clear BLOSC cmake variables.bastien
Otherwise when switching from self-built to distro packages for OpenVDB, Blosc CMake cached variables break building...
2020-08-25Fix T79494 Refrence Image reflects object after source got deletedClément Foucault
Silly typo was causing the error texture to not be bound.
2020-08-25GPUState: Move state limits getter to the area they belongClément Foucault
This fix a GL_INVALID_VALUE error on startup due to 0.0f max line width. Also moves the max anisotropy filter to the sampler creation. This reduces code fragmentation.
2020-08-25Outliner: Include gpencil modifiers and effects in the treeNathan Craddock
Grease pencil modifiers already had defined outliner icons, but had never been included in the tree. This adds the modifiers and the shader effects to the tree. Part of T68498
2020-08-25Fix T77298: Cycles multiple object making not working with multiple samplesBrecht Van Lommel
The previous fix loaded the pixels so existing tiles were not overwritten. However the Cycles render buffer is expected to be scaled by the number of sample, which was not taken into account. This is not ideal in that previews could have a mismatched number of samples between multiple objects, though the result will be correct. The better solution would be to bake all objects together per tile, rather than one after the other. But that is a bigger change than we can do in 2.90. Differential Revision: https://developer.blender.org/D8704
2020-08-25Fix T79811 MacOS: Edit Mode - vertex/edge/face selection is missingClément Foucault
The VAO reconfiguration from the offset workaround was not working.
2020-08-25Fix buildbot failing due to non-existent git submodule hashBrecht Van Lommel
The wrong hash was committed in 95cc709612d3, presumably due to local changes to the submodule repository.
2020-08-25Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-25Fix T77359: Crash adding UV's in edit-mode with linked duplicatesCampbell Barton
This prevents UV layer mix up in MeshBatchCache.cd_used/cd_needed/cd_used_over_time which depends on the extraction method. One object's mesh can be accessed with MR_EXTRACT_MESH, another object that uses the same mesh can use MR_EXTRACT_BMESH based on (Object.mode & OB_MODE_EDIT), this causes a problem as the edit-mesh and the mesh aren't always in sync, the custom data layers wont necessarily match up, causing T77359. Reviewed by @jbakker, @brecht Ref D8645
2020-08-25GPU: Fix compilation issue caused by rBb43f4fda19b9Clément Foucault
2020-08-25GL: Add error checking functionClément Foucault
This is to ease the debugging process on Apple GL implementation.
2020-08-25GPUSelect: Avoid assert caused by clearing without a depth maskClément Foucault
This should not cause any problem since the depth test is required in order to draw to the depth buffer and this is not altered by this change. To be on the safe side, we still restor the mask after altering it.
2020-08-25Fix T80012: Bevel Shader node Samples value has too low hardcoded limitPhilipp Oeser
Up the hard limit, keep the UI range max at 16 Maniphest Tasks: T80012 Differential Revision: https://developer.blender.org/D8701
2020-08-25Merge branch 'blender-v2.90-release'Philipp Oeser
2020-08-25Fix T80016: Shape key animation is linked when duplicating objectRed Mser
Fix T80016 Caused by a typo in rB7b1c406b5431ce65d84ddb5f2c53977c25c18373 Reviewed By: mont29, dfelinto Maniphest Tasks: T80016 Differential Revision: https://developer.blender.org/D8693
2020-08-25Merge branch 'blender-v2.90-release'Jeroen Bakker
2020-08-25Enabled workaround to solve threading issues in draw managerJeroen Bakker
This workaround addresses T79533 and T79038 for Blender 2.90. The solution isn't clear and needs more research and work. In order to continue with blender 2.90 release it was proposed to add this work around. It has been tested with the test files provided in the reports. Reviewed By: Dalai Felinto, Clément Foucault Differential Revision: https://developer.blender.org/D8695
2020-08-25Revert "Enabled workaround to solve threading issues in draw manager"Jeroen Bakker
This reverts commit 141a8ff6b3b1170d5551ef08895f1b7fac145235.
2020-08-25Fix T79915: crash when changing to white noise textureJacques Lucke
Reviewers: brecht, OmarSquircleArt Differential Revision: https://developer.blender.org/D8697
2020-08-25Enabled workaround to solve threading issues in draw managerJeroen Bakker
This workaround addresses T79533 and T79038 for Blender 2.90. The solution isn't clear and needs more research and work. In order to continue with blender 2.90 release it was proposed to add this work around. It has been tested with the test files provided in the reports. Reviewed By: Dalai Felinto, Clément Foucault Differential Revision: https://developer.blender.org/D8695
2020-08-25Cleanup: use doxy sectionsCampbell Barton
2020-08-25Fix T80077: Objects disappear when joining with a zero scaled axisCampbell Barton
Use invert_m4_m4_safe_ortho when joining objects so zero scaled axis doesn't cause all points to be scaled to zero. Instead geometry is left un-scaled on degenerate axes. Report a warning in this case since users may want to adjust the active objects scale.
2020-08-25BLI_math_matrix: add invert_m4_m4_safe_ortho (m3 version too)Campbell Barton
Unlike invert_m4_m4_safe, this calculates zeroed axes. Useful when we need to use the inverse of an objects matrix, keeping the valid axis, only filling in the zeroed ones.
2020-08-25Sculpt: Cloth Snake Hook BrushPablo Dobarro
This implements Snake Hook as a deform type for the cloth brush. This brush changes the strength of the deformation constraints per brush step to avoid affecting the results of the simulation as much as possible. It allows to grab the cloth without producing any artifacts in the surface and create more natural looking folds than any of the other deformation modes. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8621
2020-08-25Fix T80008: Smooth brush not deforming mesh boundaries correctlyPablo Dobarro
In 2.83 and previous versions there was a bug that was causing boundary vertices to be detected incorrectly that was preventing the smooth brush to work on boundaries if there was a pole on them. In 2.90 the boundary vertex detection was fixed, but it was still using a simplified version of the algorithm without any boundary smoothing. This patch implements a similar smoothing algorithm to what I think it was the intention of 2.83 and previous versions, but working correctly. Reviewed By: sergey Maniphest Tasks: T80008 Differential Revision: https://developer.blender.org/D8680
2020-08-24T79811 MacOS: Edit Mode - vertex/edge/face selection is missingClément Foucault
This is quite embarassing... it was returning the base instance instead of the correct vao. No wonder that it was causing crash and at most drawing issues.
2020-08-24BLI: simplify lookup methods in MapJacques Lucke
No functional changes expected.