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
2021-01-05Fix T84216: Drawing a paintcurve [vertexpaint / weightpaint] failsPhilipp Oeser
Caused by rB35e3dc9192e7. Above commit moved 'Weight Paint' & 'Vertex Paint' keymap also before 'Paint Curve' keymap. This way, paintcurve.add_point_slide would be overriden by: - paint.vertex_paint (inverted) - paint.weight_sample Now move 'Paint Curve' above again. Reviewers: campbellbarton Maniphest Tasks: T84216 Differential Revision: https://developer.blender.org/D9939
2021-01-05BMesh: Add shape-key support to edit-mesh symmetrizeCampbell Barton
Symmetrize now flips shape-keys too since using the un-flipped locations creates an overlapping surface which isn't useful.
2021-01-05BMesh: add use_shapekey to BMesh transform operatorsCampbell Barton
Currently unused, needed for symmetrize to support shape keys.
2021-01-05Cleanup: use scale's 'space' argument instead of two transform callsCampbell Barton
2021-01-05Fix bmesh.mirror operatorCampbell Barton
Checks for merging vertices assumed all the geometry was being mirrored.
2021-01-05Fix T84388: Invalid operator reference in the quick-startCampbell Barton
2021-01-05Cleanup: typos (repeated words)Campbell Barton
2021-01-05VSE: Fix incorrect condition for skipping prefetch framesRichard Antalik
This error was overlooked in commit be69f23b687a.
2021-01-05Cleanup: Use flag type explicitlyHans Goudey
Using the `uiButtonGroupFlag` type explicitly can avoid the need to look up which enum should be used as an argument.
2021-01-05Fix T78017: Broken layout in "View Lock" panel with armatureHans Goudey
The property split layout was broken when the bone dialog appeared, because the name field was not set. Theoretically property split should work in this case, but it makes sense to use the label anyway.
2021-01-05Cleanup: Remove unused variables in transform mesh skin codeHans Goudey
Differential Revision: https://developer.blender.org/D9992
2021-01-05Fix T84382: Geometry Nodes: Vertex group attributes are removedHans Goudey
In the report, the geometry is copied because it has two users and the final join node needs to write to it. The join node also happens to remove attributes apparently, because it exposed a mistake in the "copy" method of the `MeshComponent` class. The copy is supposed to be a deep copy, but the vertex group name map was not duplicated. Differential Revision: https://developer.blender.org/D9991
2021-01-05UI: Fix typo in operator descriptionHans Goudey
2021-01-05Fix T84183: Dark area in the bevel custom profile widgetPi Lanningham
If there was a control point at an extreme position when drawing a curve profile (in the bottom corner), the fill's trianglulation could fail, giving a misleading view of the curve. This is because the extra points added to create a closed shape were exactly on the border of the view. This commit adds a small margin to those points, so the triangulation doesn't fail because the line overlaps itself. Another possible solution is to use a different algorithm to fill the polygon, such as scanfill, which is used by curve objects. This seemed simpler, and seems to work fairly robustly. Differential Revision: https://developer.blender.org/D9989
2021-01-04Fix T84376: Skin Resize(Ctrl + A) does not work in SymmetryGermano Cavalcante
Since the `TransData` converted from vertices is the same used for other transform modes (Move, Rotate, Resize), the logic used for mirroring focused only on the position of the vertices. The solution here is to create a specific `TansData` for `CD_MVERT_SKIN`.
2021-01-04Make mesh modifier tests not fail with optimized OSD libSebastian Parborg
When building opensubdiv with more aggressive optimization flags (-march=native -02) the output meshes would differ a bit from what we expected in the current automated modifier test file. The differences in vertex position is within the 1e-6 range, which I would call is acceptable for floats. In addition to this, all the modifier test that tests the subdiv modifier in particular pass without any modifications. I've updated two tests in the modifier test file and script to make it pass (listed below). Updated following test categories: 1. Decimate test Here there was a subdiv modifier applied before the actual decimate modifier. Because the decimate modifier creates a queue of potential vertices it can remove, it is highly sensitive to even small changes as it drastically changes in which order the vertices are decimated in. As this test should only be testing the decimate modifier, I pre-applied the subdiv modifier in the test file. 2. RandomCubeModifier For these tests I removed the subdiv modifier as well. As with decimate, a small change in vertex position here can lead to quite different results. Reviewed By: Sergey, Bastien Differential Revision: http://developer.blender.org/D9004
2021-01-04Fix T83876: blender crashes when baking particles + smoke simJacques Lucke
This was introduced in rBe5c0d4613a8943c712b57fb336997ecd78e6508e. The issue is that the new fluid system does not use the pointcache system for caching anymore, but still relies on pointcache for other things. For example, it uses DEG_add_collision_relations which internally creates relations with pointcache. Not sure if there are other issues. Ideally, this dependence should be resolved in one way or another at some point, but that is out of scope for this fix. Differential Revision: https://developer.blender.org/D9984 Reviewers: brecht
2021-01-04Fix T84260: NURBS edit mode lines not showingFalk David
When in edit mode, the edit lines for de-selected surfaces did not show up. The bug was caused by the is_gpencil bool which reused another flag. Both grease pencil and nurbs surfaces use the edit_curve_handle shader. A dedicated flag was added to make sure the is_gpencil bool is set correctly. Reviewed By: fclem Maniphest Tasks: T84260 Differential Revision: https://developer.blender.org/D9985
2021-01-04Fix T84095: Eevee vextex color isn't working with hairJeroen Bakker
Regression introduced by {c766d9b9dc56}. When converting the vertex buffer to a texture buffer the fetch mode wasn't checked and the short was bitwise interpreted as a float. This change checks the fetch_mode and select the correct texture buffer. This could also be added to other places when needed. At this time it is only added here to support vertex colors when used with hair particles.
2021-01-04Fix: Update normals when switching scene qualityJeroen Bakker
Recent commits also updated normals for metaballs, curves and volumetric objects. This change tags will tag to generate geometry for these new types.
2021-01-04GPU: Enable HQ normal work around for AMD PolarisJeroen Bakker
THe high quality normals work around is enabled for Polaris cards using the official drivers. Since driver version 2.11.2 they fail to render using low quality normals. The detection of polaris cards is done by matching the opengl renderer. The renderer strings have been extracted from various reports linked to {T82856} but isn't complete as some reports are missing the exact renderer as users don't always report via the help menu.
2021-01-04GPU: Add HQ normals workaround.Jeroen Bakker
This change makes it possible for platforms to only support high quality normal rendering. This is part of {T82856} where current AMD drivers running on the polaris architecture does not support the low quality setting due to a driver bug. In a next commit the work around will be enabled.
2021-01-04Fix mistake in rBef90a8e12caf in data transfer code.Bastien Montagne
Old mistake from 2.80 era when we got rid of DerivedMesh... Not critical, but could be backported to 2.90LTS too.
2021-01-04Fix T84362: Crash when use Vertex Paint in subdivide strokesAntonio Vazquez
Maniphest Tasks: T84362 Differential Revision: https://developer.blender.org/D9983
2021-01-04Fix T84345: Transforming the cursor fails with absolute grid-snapCampbell Barton
Absolute grid snapping was using the pivot, which doesn't make sense when transforming the cursor.
2021-01-04DrawManager: High quality normals for non meshesJeroen Bakker
This adds high quality normals for non meshes. These include * Volumetric Object Wireframe * Metaballs * Extracted Curves * Curves in edit mode This is in preparation to fix a regression in recent AMD drivers where the `GL_INT_2_10_10_10_REV` data type isn't working in Polaris cards.
2021-01-04Fix T84106: attribute mix node worked incorrectly on float attributesJacques Lucke
2021-01-04Fix imbuf.new & resize allowing zero & negative dimensionsCampbell Barton
2021-01-04Cleanup: remove unused optional argument to imbuf.newCampbell Barton
While this didn't cause any problems, it was incorrect.
2021-01-04Fix T84191: remove python API limits for Image.scale() dimensionsPhilipp Oeser
Since the introduction in 2c23bb838979131667c922df1f01738e02e6ca16, these were set to 10000 each. This seems like an arbitrary limit (BKE_image_scale / IMB_scaleImBuf don't have limits and I couldn't spot similar size restrictions in image relating functions), now match what we do for creating images (rna_Main_images_new), use INT_MAX. Ref D9950
2021-01-04Fix crash reading files with unknown modifier ID'sCampbell Barton
Missing NULL check for the modifier type.
2021-01-04Fix early exit check in BKE_appdir_app_template_has_userprefCampbell Barton
Logical error in 84f21c170dda9e503de440c20bc2753002987901 This check was a no-op, replace this with a check for an empty string.
2021-01-04Fix clang_array_check checking utilityCampbell Barton
Use python3 which is now supported, only use CLANG_BIND_DIR & CLANG_LIB_DIR when they are set. Also add immediate mode GPU API function calls.
2021-01-04Cleanup: correct array size in argumentCampbell Barton
2021-01-04Cleanup: use const variablesCampbell Barton
2021-01-04Cleanup: typo in c484b54453e6072399dd79daccf237bb4bd73b41Campbell Barton
2021-01-04Cleanup: add NULL check for filename argument which could be NULLCampbell Barton
While it's never NULL at the moment, checks elsewhere in this function support passing in a NULL filename, so keep this working as intended in case RNAProcessItem.filename is NULL in the future.
2021-01-04Cleanup: redundant call to WM_modalkeymap_findCampbell Barton
2021-01-04Cleanup: redundant code, minor inconsistenciesCampbell Barton
- Remove ternary operators when both values are the same. - Remove break after return. - Remove redundant NULL checks for code which handles those cases immediately beforehand.
2021-01-04Cleanup: use ARRAY_SIZE when when looping over the array indiciesCampbell Barton
2021-01-04Cleanup: remove self-assignmentCampbell Barton
Use CLAMP_MAX to remove redundant comparison.
2021-01-04Cleanup: remove redundant codeCampbell Barton
Fix for T62504 missed removing return call.
2021-01-04Cleanup: sort cmake file listsCampbell Barton
2021-01-04Cleanup: use 'pragma once'Campbell Barton
Add explanations for cases the header-guard defines are still used.
2021-01-04Cleanup: redundant struct declarationsCampbell Barton
2021-01-04Cleanup: sort structsCampbell Barton
2021-01-04Cleanup: docy comments beginning with '/**' don't end with '**/'Campbell Barton
2021-01-04Cleanup: clang-formatCampbell Barton
2021-01-04Cleanup: spelling (use 'gimbal' instead of 'gimble')Campbell Barton
2021-01-04Cleanup: use doxy sections for render_preview.cCampbell Barton