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-05-06Fix radius not taken into account when adding curve guide force fieldPhilipp Oeser
Wrong usage of ED_curve_add_nurbs_primitive from {rBe8f3fa99de81}. Differential Revision: https://developer.blender.org/D11166
2021-05-06Fix memory leak in object.mode_set_with_submodeCampbell Barton
2021-05-06VSE: Fix wrong flag valueRichard Antalik
`SEQPROP_VIEW_TRANSFORM` value was set incorrectly. Introduced in 9576612d45dc
2021-05-05VSE: Set view transform based on strip colorspaceRichard Antalik
In some cases, users start video editing work from General template, where Filmic view transform is chosen by default. Currently, this causes issue when working with sRGB footage, which are not properly decoded into linear working space and final render looks miscolored. When adding first strip, check it's colorspace and if it corresponds to colorspace for byte images, ensure that view transform is set to default value, which is Standard. Reviewed By: brecht Differential Revision: https://developer.blender.org/D11151
2021-05-04Fix missing header & footer toggle chevrons in SpreadsheetJulian Eisel
The little chevron tab to open a hidden region wouldn't show up in the Spreadsheet editor. Cause was an incorrect GPU-scissor usage: While drawing regions, the scissors should be kept enabled, just the scissor rectangle should be updated - and afterwards reset to what it was before.
2021-05-04Fix missing background of buttons after reportsJulian Eisel
Reports would change the active emboss of the Block, to make some of its buttons appear without background. But it didn't reset it so that buttons added afterwards wouldn't use the correct embossing.
2021-05-04Fix T87489: Text Data-Blocks get deleted on Recursive PurgeSebastian Parborg
Text data block were not considered special in the recursive purge function. So they would get deleted if they had no actual users. To fix this we instead make text data block use "fake user" so that addon authors can specify script files that should be removed if nothing is using it anymore. Per default, new text object have "fake user" set. So functionality wise, the user has to explicitly specify that they want the text object to be purge-able. Reviewed By: Bastien Differential Revision: http://developer.blender.org/D10983
2021-05-03Fix T87982: crash switching render slots while render is in progressBrecht Van Lommel
2021-05-03Fix T88005: GPencil inverse fill leaves unwanted line at viewport edge.Antonio Vazquez
There was a function to set 2 pixels wide for inverse filling, but this must not be done in the borders of the image. Now, the borders are checked before set 2 pixels.
2021-05-02Fix T82824: Draw sensor size with correct alphaRobert Guetzkow
Previously the option in the camera's //Object Data Properties > Viewport Display > Sensor// would not display the sensor in camera view. This seemed to be caused by the theme color `TH_VIEW_OVERLAY` having zero set for the alpha channel and alpha blending being active, resulting in no visible output. Hence `immUniformThemeColorShade(TH_VIEW_OVERLAY, 100);` is replaced with `immUniformThemeColorShadeAlpha(TH_VIEW_OVERLAY, 100, 255);`. Reviewed By: mano-wii Differential Revision: https://developer.blender.org/D11075
2021-04-30Revert "Fix crash running constraint, modifier, fx from missing NULL check"Campbell Barton
This reverts commit f4d5a69cf8512aafcc697d1b09f65489015b6af4. This causes bpy.ops.object.modifier_apply.poll() to fail as well as modifier binding operators (breaking tests).
2021-04-30Fix/Workaround T87511: snap gizmo flickers on Ctrl-DragCampbell Barton
Hack to bypass drag events, eventually the gizmo API should support this use case without hacks.
2021-04-30Fix crash running constraint, modifier, fx from missing NULL checkCampbell Barton
None of these generic poll functions had NULL pointer checks, since all operators that use these functions expect a valid constraint, modifier .. etc. Add the NULL check to the poll function. Ref D11126 Reviewed By: mont29, Severin
2021-04-30Fix sculpt mask operator crash running without a 3D viewCampbell Barton
Add missing operator poll, depend on the 3D view for all sculpt paint/mask operators.
2021-04-30Fix crash running window operators in background modeCampbell Barton
2021-04-30Fix uninitialized local-view flag on object creationCampbell Barton
Local view return argument to ED_object_add_generic_get_opts was left uninitialized.
2021-04-29Fix T86335: Knife tool fails on object with zero scaled axisCampbell Barton
Use invert_m4_m4_safe_ortho for the knife tool to support operating on objects with a single zero scaled axis.
2021-04-29Fix T87808: Connected proportional editing includes hidden geometryCampbell Barton
Regression in 21b9231d7f5a248027c32dcc7daab3318390c20f
2021-04-29Fix T87823: Select similar doesn't work with small facesCampbell Barton
FLT_EPSILON was added to the threshold when comparing values, this caused problems selecting similar small faces since the areas can be very small in this case. Also increase the displayed precision so it's easier to use smaller numbers.
2021-04-29UI: increase precision of bisect thresholdCampbell Barton
The default value of `0.0001` was displaying as `0.000`, increase the display precision to 5 since this value often needs to be small.
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-28Fix T87767: spreadsheet not updating on texture changesJacques Lucke
Differential Revision: https://developer.blender.org/D11108
2021-04-28Fix T87526: poor contrast in attribute searchJacques Lucke
Differential Revision: https://developer.blender.org/D11106
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-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-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 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-27Fix T87401: Drop-down can apply the wrong modifierHans Goudey
The trouble was that there was a context pointer "modifier" in the property editor context that returned the active modifier. But the "modifier" variable was already used in many places, for pointers that are *not* equivalent to the active modifier. The context pointer for the active modifier was unecessary anyway. If we need to access a context pointer for the active modifier in the property editor then we can add it. Until then it only adds confusion.
2021-04-26Fix T87771: Immediate Crash on "Edit Source" in CompositorPhilipp Oeser
Caused by {rB278011e44d43}. Framebuffer management since above commit now seems to require region bind/unbind in for the operator to be able to redraw correctly without using the same framebuffer in multiple contexts. Maniphest Tasks: T87771 Differential Revision: https://developer.blender.org/D11084
2021-04-26Spreadsheet: combine vector/color spreadsheet columnsJacques Lucke
Differential Revision: https://developer.blender.org/D11056
2021-04-26Fix T87170 Multi-Input socket activation zone error with lots of inputsFabian Schempp
Calculation of bounding rect for multi-input socket was wrong. Reviewer: Hans Goudey (HooglyBoogly) Differential Revision: https://developer.blender.org/D11077
2021-04-23Fix T87749 (partially): Text jitter in buttons and spreadsheet editorLeon Leno
This patch fixes jittering text when resizing regions of the UI as described in T87749. The jitter was caused by the text padding being stored as an integer which lead to inconsistent rounding. Most notably this patch fixes the jitter in the new spreadsheet editor, but not all occurrences of jitter described in T87749 (e.g. in UI lists) are addressed. Differential Revision: https://developer.blender.org/D11060
2021-04-23Cleanup: quiet clang-tidy warningCampbell Barton
2021-04-22Fix missing includeGermano Cavalcante
2021-04-22Fix T87615: No snapping to objects instanced by Geometry nodesGermano Cavalcante
The code of the snapping system to interact the objects in the scene only considers instances what comes from "DUPLI" objects. This commit adds instances coming from Geometry nodes. Differential Revision: https://developer.blender.org/D11020
2021-04-21Fix T87677: Add primitive tools produce wrong sized objects after changing ↵Philipp Oeser
values in 'Adjust Last Operation' Always use the defaults here (radius, depth etc), since desired bounds have been set interactively, it does not make sense to use a different value from a previous command. The Cube tool has already seen a fix for this in rB26e5718e29a7, but Cone/UVSphere/Cylinder/IcoSphere havent. Maniphest Tasks: T87677 Differential Revision: https://developer.blender.org/D11038
2021-04-21Fix T87640: Grease Pencil layer visibility/locking not synchronized from ↵Philipp Oeser
Dope Sheet to Properties Properties Editor is a bit more picky (compared to the Outliner for example) when it comes to listening to grease pencil notifiers -- it requires the action to be set. So when adding the notifier in the dopesheet from the channels (done in `achannel_setting_flush_widget_cb`), now add the `NA_EDITED` action. Maniphest Tasks: T87640 Differential Revision: https://developer.blender.org/D11025
2021-04-20Fix T86809: Action Editor header not display the right action in certain ↵Philipp Oeser
scenarios If a new action is created (e.g. by inserting keyframes), the header was not garuanteed to display the right action. Notifiers were fine here, redraw took place, the editors action was just not set soon enough for the drawing. Now make sure this is set correctly by ensuring the animation context is right (same as the other editor regions do before drawing). Maniphest Tasks: T86809 Differential Revision: https://developer.blender.org/D10796
2021-04-19Fix T87567: Crash adding item in empty attribute searchHans Goudey
The function applying the search used the dummy search info for when the item doesn't exist even when there was no UI data associated with the node at all. A fix is to only add the search menu when there is attribute info stored for the node. This is something I wanted to do anyway, since it makes it look more purposeful when there are no attribute info for a node, less like a bug. Differential Revision: https://developer.blender.org/D11016
2021-04-19Fix T85223: Some modifier panels can dissapear in old filesHans Goudey
The problem is that each uiBlock needs to be assigned a unique name, but when there can be multiple modifiers of the same type, we use the panel sort order for the unique part of the string. However, the most recent test file has 1200+ panels in the property editor, so 4 characters isn't enough for a unique string. That's not a situation I expected, but it makes sense, because we don't remove legacy panels with unused types when loading old files. So they tend to accumulate a bunch of unused panels. That's why this works fine with a new property editor, it doesn't all of the extra old panels. These panels must be stored for the expansion status and order, but arguably we could cull unused panels on save. However, simply increasing the length of the unique panel string is a valid fix in this situation. In the future, we can look into removing unused panels when saving.
2021-04-19Fix T87392: Copy modifier to selected does not do anythingHans Goudey
This was caused by a stupid copy & paste error in rB9f323e9bf79fbf4157a.
2021-04-19Fix creating operator properties without an owner_idCampbell Barton
Any dynamic enum access would not use the callback. Always set the owner_id to avoid this causing problems. Oversight in 919558854d624f5db40acfa9f5674ac8c94873b6
2021-04-19Fix incorrect compositor denoise node message about SSE on macOS ArmBrecht Van Lommel
Ref T78710
2021-04-19Fix spin-gizmo not allowing click events to select verticesCampbell Barton
2021-04-19Fix spin-gizmo button tool-tip placementCampbell Barton
gizmo_button2d_bounds result wasn't valid when the gizmo was part of a 3D gizmo group. Regression in cf6d17a6aa421e0038fc1f8e60e3f1f708887c3e
2021-04-19Fix snap mixed with vertices ignored for meshes with vertices onlyGermano Cavalcante
The logic assumed that there were only 3 basic snapping modes.
2021-04-18Fix compile warningHans Goudey
The order of the two parameters was incorrect.