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-04-29WIP changes to compiling interface directory as C++ codetemp-interface-cppHans Goudey
2021-04-29Cleanup: Use const argument for contextHans Goudey
2021-04-29GPencil: Add Layer and Material to Blank objectsAntonio Vazquez
Instead to create only the Blank object, now a new Layer and a simple material is added. This is a common request of artists. Reviewed By: mendio, pepeland Differential Revision: https://developer.blender.org/D11110
2021-04-28Merge branch 'blender-v2.93-release'Falk David
2021-04-28Fix T87718: Fill triangles wrongly calculatedFalk David
The algorithm that calcualted the direction (inside/outside) of the polyline was not always returing the correct result. This mean that the polyline was filled "inside-out". The fix uses the winding number to calculate the inside and outside. Reviewed By: antoniov, pepeland Maniphest Tasks: T87718 Differential Revision: https://developer.blender.org/D11054
2021-04-28Cleanup: Fix inconcistent array lengths in function declarationsHans Goudey
In some cases functions were defined with arguments of different array lengths in headers vs. implementations. This commit fixes some of the cases I ran into, but probably not all of them.
2021-04-28Merge branch 'blender-v2.93-release'Richard Antalik
2021-04-28VSE: Fix slow prefetching when strips are animatedRichard Antalik
Issue was caused by anim handle being reset by `DEG_evaluate_on_framechange()` Preserve anim handle by backing it up in `blender::deg::SequenceBackup` Reviewed By: sergey Differential Revision: https://developer.blender.org/D11059
2021-04-28VSE: Fix colorbleed on scaled imagesRichard Antalik
When frame is rendered to file, bilinear interpolation on scaled images caused blurred edges. This is fixed by not doing interpolation with pixels outside of source buffer. Such fix doesn't cover cropped images which are currently cropped by filling area of image with black transparent color, because image buffer has bigger size than visible image area. This is fixed by offsetting range used in previous fix by amount, that would correspond to crop distance. Because of this, image area doesn't even need to be filled with transparency. Reviewed By: sergey Differential Revision: https://developer.blender.org/D11058
2021-04-28Cleanup: Add float formatAntonio Vazquez
2021-04-28GPencil: Fading based on distance to reference object in Opacity and ↵YimingWu
Thickness modifiers This patch allows you to dynamically control stroke's opacity and thickness using an object for distance reference in the modifier. Fading range is adjustable, and it is compatible with current curve/vertex group selection. Reviewed By: #grease_pencil, antoniov, mendio Maniphest Tasks: T82177, T80194 Differential Revision: https://developer.blender.org/D9091
2021-04-28Fix T87832: Incorrect FOV in line art when sensor fit is not Auto.YimingWu
Reviewed by Sebastian Parborg https://developer.blender.org/D11095
2021-04-28Merge branch 'blender-v2.93-release'Falk David
2021-04-28Fix T86881: Curve Edit handle offset when snappingFalk David
When an aligned (or auto) handle was snapped with only the control point selected, it would not snap to the correct point, but offset. This was because the handles were not considered selected. The `TD_SELECTED` flag was not being set. The fix makes sure that we include the handles in the selection when the handle is aligned or auto. Reviewed By: antoniov Maniphest Tasks: T86881 Differential Revision: https://developer.blender.org/D11111
2021-04-28Gpencil: Fix for SVG import arc and float errorsErik Abrahamsson
Fix for the Arc commands (A/a) to successfully parse the 4th and 5th arguments. Fix for floats without a specified integer part, like `.123` File for testing: {F10042021} Reviewed By: filedescriptor Differential Revision: https://developer.blender.org/D11099
2021-04-28Fix T87464 EEVEE: Crash with deformation Motion BlurClément Foucault
This was caused by the new depsgraph persistence. The GPUbatches we got from the cache being the same for each frame means that we need to be more careful about cleanning the additional VBOs references. Moving the `EEVEE_motion_blur_swap_data` function call at the end of the loop makes sure the references are cleaned.
2021-04-28Spreadsheet: Add instance IDs from geometry setHans Goudey
Mostly the interesting information about the instances IDs whether they are -1 or not, but it's still worth displaying them in the editor. In the future when we can hide or show colums, we could decide to hide this one by default. Differential Revision: https://developer.blender.org/D11104
2021-04-28Merge branch 'blender-v2.93-release'Jacques Lucke
2021-04-28Fix T87767: spreadsheet not updating on texture changesJacques Lucke
Differential Revision: https://developer.blender.org/D11108
2021-04-28Fix T87876: vertex groups missing when mesh is in edit modeJacques Lucke
Differential Revision: https://developer.blender.org/D11107
2021-04-28Fix T87526: poor contrast in attribute searchJacques Lucke
Differential Revision: https://developer.blender.org/D11106
2021-04-28WM: quiet event warning when unknown keys are pressedCampbell Barton
2021-04-28BLI: improve Vector.remove_and_reorderJacques Lucke
The old version was correct as well but did a move even when not necessary.
2021-04-28Fix Compositor: WorkScheduler task model deletes worksManuel Castilla
WorkScheduler task model deletes work packages after executing them. The other models don't do so. All models should handle packages the same way. Reviewed By: #compositing, jbakker Differential Revision: https://developer.blender.org/D11102
2021-04-28Fix Compositor: WorkScheduler task model deletes worksManuel Castilla
WorkScheduler task model deletes work packages after executing them. The other models don't do so. All models should handle packages the same way. Reviewed By: #compositing, jbakker Differential Revision: https://developer.blender.org/D11102
2021-04-28Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-28Fix T87864: Context is None for draw methodCampbell Barton
Use WM_operator_properties_create_ptr so the owner_id is set to the window manger which is now required. Regression in 919558854d624f5db40acfa9f5674ac8c94873b6.
2021-04-28Replace COM_DEBUG #define with constexpr. Fixes T87035Tyler
Reviewed By: jbakker Maniphest Tasks: T87035 Differential Revision: https://developer.blender.org/D11068
2021-04-28Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-28Fix T87165: Join geometry node doesn't copy instance IDsHans Goudey
This makes motion blur work incorrectly. With a similar fix to rBf2d70c02f88cc00, just copy over the instance IDs in this case.
2021-04-28Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-28Add NULL check to Object.pose from 6eb2f71875c69f5f6073fed2d285fe8ef662ba03Campbell Barton
2021-04-28Remove include accidentally added in 6eb2f71875c69f5f6073fed2d285fe8ef662ba03Campbell Barton
2021-04-28Fix T87631: Crash undoing edit-mode bone duplicationCampbell Barton
Edit mode could leave pose channels in the object that didn't have an associated bone. These are now cleared when freeing edit-mode data.
2021-04-28UI: Change "Int" to "Integer" in enum item namesHans Goudey
We shouldn't abbreviate words like this in the UI. "Int" is just a programming term.
2021-04-27Merge branch 'blender-v2.93-release'Pablo Dobarro
2021-04-27Fix T87474: Face Set visibility updates failing with single face loopPablo Dobarro
Face set visibility is already flushed to all mesh elements in the right way in SCULPT_visibility_sync_all_face_sets_to_vertices, calling BKE_mesh_flush_hidden_from_verts is legacy code from the previous visibility system that was causing the vertex visibility to take priority over face sets. When hidding a single loop, all vertices of those faces are still visibile, so this line was tagging all loop faces visible. This was leaving mesh/face set visibiltiy in an unconsistent state. Reviewed By: JacquesLucke Maniphest Tasks: T87474 Differential Revision: https://developer.blender.org/D11008
2021-04-27Fix T87596: Pose brush not using automasking optionsPablo Dobarro
Automasking cache factors were missing in the pose brush deform function. Reviewed By: JacquesLucke Maniphest Tasks: T87596 Differential Revision: https://developer.blender.org/D11005
2021-04-27Merge branch 'blender-v2.93-release'Philipp Oeser
2021-04-27Fix: Self object missing from geometry nodes evaluator paramsHans Goudey
This was an oversight in the previous refactoring commit in this file.
2021-04-27Fix T87815: Sculpt: Curve stroke scene spacing not workingPhilipp Oeser
This was just not implemented for curve strokes when world spacing was introduced in rB87cafe92ce2f. Now do the equivalent of what was done in said commit in 'paint_space_stroke', now in 'paint_line_strokes_spacing' as well. Maniphest Tasks: T87815 Differential Revision: https://developer.blender.org/D11098
2021-04-27Fix T87832: Incorrect FOV in line art when sensor fit is not Auto.YimingWu
Reviewed by Sebastian Parborg https://developer.blender.org/D11095
2021-04-27Cleanup: clang formatJacques Lucke
2021-04-27Geometry Nodes: improve geometry nodes evaluator internal apiJacques Lucke
This is a first step towards T87620. It should not have any functional changes. Goals of this refactor: * Move the evaluator out of `MOD_nodes.cc`. That makes it easier to improve it in isolation. * Extract core input/out parameter management out of `GeoNodeExecParams`. Managing this is the responsibility of the evaluator. This separation of concerns will be useful once we have lazy evaluation of certain inputs/outputs. Differential Revision: https://developer.blender.org/D11085
2021-04-27Geometry Nodes: initial Attribute Transfer nodeJacques Lucke
This is a first version of an Attribute Transfer node. It only supports two modes for mapping attributes from one geometry to another for now. More options are planned for the future. Ref T87421. Differential Revision: https://developer.blender.org/D11037
2021-04-27Merge branch 'blender-v2.93-release'Jacques Lucke
2021-04-27Fix T85889: recursive instances result in crashJacques Lucke
Generally, it would be good to not allow this from happening in the first place but that is quite tricky because an object does not know which other object instances it. Similar checks might be necessary in other places, but this fixes the bug already. Differential Revision: https://developer.blender.org/D11086
2021-04-27Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-27Fix T87749: Fix text jitter in buttons with iconsHans Goudey
This patch fixes the remaining issues described in T87749. The jitter was caused by inconsistent rounding when using the floats icon_size and icon_padding to offset the bound for the text drawing. Using `round_fl_to_int` leads to consistent results and fixes the jitter that remained in some buttons with icons, UI lists, and breadcrumbs. Differential Revision: https://developer.blender.org/D11062
2021-04-27Cleanup: Make function staticHans Goudey