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-07-30Cleanup: spellingCampbell Barton
2020-07-30Cleanup: warningsCampbell Barton
2020-07-30Merge branch 'blender-v2.90-release'Germano Cavalcante
2020-07-30Fix ghash return value on 'Correct Face Attributes' with 'Keep Connect'Germano Cavalcante
The result was somewhat unpredictable. This error was recently introduced.
2020-07-30Cleanup: GPU: Remove GPU_draw.h and move fluid gpu function to DRWClément Foucault
2020-07-30Cleanup: Split gpu_texture_image.c into BKE and IMB modulesClément Foucault
This is in order to disolve GPU_draw.h into more meaningful code blocks. All the Image related function are in `image_gpu.c`. All the MovieClip related function are in `movieclip.c`. The IMB module now has a connection with GPU. This is not strickly necessary and the code could be move to `image_gpu.c` if needed. The Image garbage collection is also ported to `image_gpu.c`.
2020-07-30Cleanup: Rename defineHans Goudey
*_LEN follows names elsewhere in Blender more closely than "_N_"
2020-07-29Sculpt: Cloth Brush Soft Body Influence propertyPablo Dobarro
This property adds constraints to the simulation using the initial location of the vertices, making it behave like a soft body. The strength of these constraints can be modified with the brush parameter. This makes some deformation modes more subtle and predictable, making it possible to use the cloth brush to add surface detail in a more controllable way without loosing completely the original shape of the mesh. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7845
2020-07-29Merge branch 'blender-v2.90-release'Pablo Dobarro
2020-07-29Fix Cloth Brush global Sculpt gravity applied in the wrong falloffPablo Dobarro
Previously, gravity was only applied in the real brush radius, not in the whole simulation radius. For most deformation modes, applying gravity to the entire simulation instead of just to the brush radius and scaled by the radius (like a regular sculpt brush) makes more sense. After this fix and with the cloth collisions patch applied, it is possible to do things like this with the cloth grab brush. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8406
2020-07-29Fix T79054: Crash with Cloth Brush and anchored strokePablo Dobarro
As the comment says, anchored stroke can't rely on the first stroke iteration for creating the simulation data. Probably lost in a cleanup. I also made that anchored stroke doesn't restore the mesh state in the cloth brush, so it can create the simulation effect. Reviewed By: sergey Maniphest Tasks: T79054 Differential Revision: https://developer.blender.org/D8348
2020-07-29GPencil: New Brush predefined modeAntonio Vazquez
it's good to have an option to ' pin' a mode to the brush, to use that mode always, independent of the current viewport selected mode. {F8723224} Reviewed By: pepeland Differential Revision: https://developer.blender.org/D8399 81a002
2020-07-29Merge branch 'blender-v2.90-release'Germano Cavalcante
2020-07-29Fix T78826: Move constraint is not fully disabledGermano Cavalcante
Caused by rB45f17e10ec50
2020-07-29GPencil: Consider extrude point as lastAntonio Vazquez
Before, when extrude a point, the extruded point is considered as the first point of the stroke, but this was not logic. Now, the extrude point is considered as last. Related to T79313
2020-07-29Fix T79355: switch to texture paint workspace changes image in other workspacesBrecht Van Lommel
Only automatically change image in editor to follow texture paint editors and workspaces that are visible.
2020-07-29Cleanup: rename uiBut.dt, uiBlock.dt to 'emboss'Campbell Barton
Use 'emboss' instead of 'draw_type' as enum, layout & functions use the term emboss. This issue was noted by @Poulpator in D8414, as `dt` is also an abbreviation for delta-time.
2020-07-29Clanup: unused returnCampbell Barton
2020-07-29Cleanup: declare static variablesCampbell Barton
2020-07-29Cleanup: Doxygen sections, comment formattingHans Goudey
2020-07-28Cleanup: Use bool instead of intHans Goudey
2020-07-28Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-28Fix T54544: "Copy Materials to Selected" only works when materials are ↵Bastien Montagne
defined on the mesh. Build a temp matarray storing materials from obdata and source object (depending on slots 'allocation' of source object), and assign those to targets. Also remove limitation of 'using same obdata is forbidden', just never edit obdata materials in that case... Certainly not perfect, but already much better than existing code.
2020-07-28Merge branch 'blender-v2.90-release'Antonio Vazquez
2020-07-28GPencil: Fix unreported missing strokes in interpolationAntonio Vazquez
Sometimes the interpolated stroke was tagged and removed.
2020-07-28Merge branch 'blender-v2.90-release'Germano Cavalcante
2020-07-28Fix bad 'Correct Face Attributes' behavior when extruding facesGermano Cavalcante
A face must have area in order to be possible calculate interpolation weights. The same to the reference UVs. But the new faces created with the extrude operator, have no area (before moving). The solution was to get the loop data from some neighbor face. Differential Revision: https://developer.blender.org/D8278
2020-07-28Transform: Correct Face Attributes: Option to merge attributesGermano Cavalcante
Keeping face attributes connected is now optional. Keeping UV's connected is useful for organic modeling, but bad for architectural. Differential Revision: https://developer.blender.org/D8360
2020-07-28Cleanup: incorrect spelling of 'manhattan'Campbell Barton
2020-07-28Cleanup: spelling, commentsCampbell Barton
2020-07-28Merge branch 'blender-v2.90-release'Nathan Craddock
2020-07-28Fix: Wrong outliner restrict column for gpencil layer hideNathan Craddock
The icon was drawing in the viewport disable rather than the viewport hide column. Unreported.
2020-07-27Merge branch 'blender-v2.90-release'Pablo Dobarro
2020-07-27Fix Sculpt Relax operation when deforming mesh boundariesPablo Dobarro
Previously, mesh boundaries were relaxed as any other vertex, which was causing artifacts and unwanted deformation. In order to prevent this, the mesh filter was using the automasking system to lock the boundary vertices, which was hacked into the tool. For the brush, the only solution was to enable boundary automasking to lock those vertices in plance. Now the relax vertex function slides the boundary vertices along the mesh boundary edges, relaxing all the topology correctly while preserving the shape of the mesh. The automasking hack in the relax mesh filter was also removed as now vertices slide correctly along the boundary. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8350
2020-07-27Fix T79164: Sculpting with smooth shading doesn't update normalsPablo Dobarro
Just a missing update flag Reviewed By: sergey Maniphest Tasks: T79164 Differential Revision: https://developer.blender.org/D8364
2020-07-27Fix T78242: Crash when using a Sculpt color tools that needs connectivity ↵Pablo Dobarro
for the first time When there is no color layer available, BKE_sculpt_update_object_for_edit creates a new one and tags the mesh with ID_RECLAC_GEOMETRY, so this layer is inmediatly available when the tool starts. This also deletes the PBVH and when it is created again in BKE_sculpt_update_object_after_eval, the pmap is not initialized, making the tool crash. This moves the color layer creation to a separate function outside BKE_sculpt_update_object_for_edit, which now runs after the color layer is available, so it won't need to update again and the pmap will still be available when the tool is used. Reviewed By: sergey Maniphest Tasks: T78242 Differential Revision: https://developer.blender.org/D8135
2020-07-27Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-27Fix T78308: Weight Transfer Operator "Deform Pose Bones" destination setting ↵Bastien Montagne
doesn't work. Some modes were working by mere chance in that ugly 'reversed' case, but the to/from selection modes were not properly swapped... Should also be safe for 2.83.
2020-07-27Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-27Fix T78306: Weight Transfer Operator target mesh doesn't update when ↵Bastien Montagne
transforming bones. Data transfer operator was missing tagging DEG for relations updates. Should be portable to 2.83 as well.
2020-07-27UI: improve errors when evaluating a number button failsCampbell Barton
Showing the Python error without any explanation is often not enough information and doesn't hint that the error was in the user input. The error report from a invalid expression such as '..1' used to be: ('invalid syntax', ('<string>', 1, 1, '..1')) Now reads: Error evaluating number, see Info editor for details: invalid syntax Address issue raised by T78913.
2020-07-27Cleanup: match call signature for UI unit number evaluationCampbell Barton
Also rename ui_but_string_set_eval_num to ui_but_string_eval_number as it doesn't set any of the buttons values.
2020-07-27GPencil: New operator to Cleanup duplicated framesAntonio Vazquez
This operator cleanup any frame that is equal to the previous one. This is very handy when convert a mesh animation to Gpencil and the mesh is static for several frames. Differential Revision: https://developer.blender.org/D8149
2020-07-27UI: Show message in transform panel when no metaball elements are selectedAaron Carlisle
The complete lack of a transform panel was confusing enough to spawn this question: https://blender.stackexchange.com/q/169074/599 Displaying a message instead of nothing is more consistent with the behavior of the mesh transform panel anyway. Reviewed By: Blendify Differential Revision: https://developer.blender.org/D8390
2020-07-26Cleanup: GPU: Remove glew headers part2Clément Foucault
2020-07-26GPU: Remove GL constant from BIF_glutilClément Foucault
2020-07-26Cleanup: GPU: Remove GPU_glew.h outside of GPU moduleClément Foucault
Remove use of GL* constants and types inside the codebase. There is still a few occurence to get rid of.
2020-07-26VSE: Refactor delete operator and APIRichard Antalik
Operator logic is limited to iterating over selection and executing same code as python API does. Functional changes: - No attempt to preserve effects is made. Dependant effects are deleted. - No attempt to change meta strip boundaries. Partially fixes T73828 Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D6892
2020-07-26Merge branch 'blender-v2.90-release'Richard Antalik
2020-07-26Fix T74958: Infinite loop on using strip as modifier maskRichard Antalik
Add recursion check before assigning strip as a mask for modifier. Same check is used for recursion check when reassigning effect input, so it should not be possible to create recursion at all.