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
2022-04-26Animation: Sensible frame range for motion pathsColin Marmond
Motion paths can now be initialised to more sensible frame ranges, rather than simply 1-250: - Scene Frame Range - Selected Keyframes - All Keyframes Reviewed By: sybren, looch, dfelinto, pablico Maniphest Tasks: T93047 Differential Revision: https://developer.blender.org/D13687
2022-04-26Correct over allocation in "Fix Vertex Group Deform" operatorCampbell Barton
The pointer size was incorrectly being used instead of the float size.
2022-04-26Cleanup: use boolean arguments and return valuesCampbell Barton
2022-04-26Cleanup: replace in-line swapping with SWAP macroCampbell Barton
Also use bool array for true/false values.
2022-04-26Cleanup: unused return value warningCampbell Barton
2022-04-25Vertex Paint: Fix brush color spaceJoseph Eagar
The brush color wasn't being converted to scene linear space properly.
2022-04-25Cleanup: remove unused function parameterJoseph Eagar
2022-04-25Fix T81452: Incorrect trim lasso radiusJoseph Eagar
Added a fallback path to compute the cursor radius for when the stroke starts over a blank area of space (in which case SCULPT_cursor_geometry_update fails).
2022-04-25Fix T97597: vertex paint initialization wasJoseph Eagar
called by weight paint mode, causing a crash
2022-04-25Fix T97553: SCULPT_handles_colors_report called for non-sculpt brushesJoseph Eagar
2022-04-25Sculpt: Remove hardcoded setting ofJoseph Eagar
auto-iteration property in mask filter Note: Auto-iteration is still set manually for increase/decrease contrast. These should probably become their own operators.
2022-04-25Fix T97423: Make mask filter less confusingJoseph Eagar
by showing redo panel. The A hotkey has "auto iteration" enabled by default, which calculates the number of times to run the filter using a heuristic based on vertex count. To make clear to the user what is going on the redo panel is now shown for the mask filter operator. NOTE: I discovered the source of the bug where sculpt operators' redo panels were greyed out. The name fed to SCULPT_undo_push_begin must match the operator name. I've added a comment in sculpt_intern explaining this.
2022-04-25Cleanup: Use const for smoot scrolling functionJulian Eisel
2022-04-25Transform Snap Refactor: dedicate ghash to different SnapData typesGermano Cavalcante
Changes: - Remove `BLI_memarena` (Use `MEM_cnew` and `MEM_delete` to allocate cached data) - Implement `snap_object_data_mesh_free_ensure` and `snap_object_data_editmesh_free_ensure` and skip need to get original key Object for editmesh data - Use `BMEditMesh` as key for editmesh `Ghash` - Make a better distinction between `SnapObjectData`s. (`SnapData_Mesh` and `SnapData_EditMesh`)
2022-04-25Cleanup: Turn some 'eTFlag' into macrosGermano Cavalcante
Some of the enum values are a mixture of others and make it difficult for the IDE to identify them. Separating these values makes debugging easier.
2022-04-25Fix T97401: Snap options ignored for Nurbs surfacesGermano Cavalcante
The editing data of a `SURF`s is similar to that of Curves and should be supported for snapping. But unlike Curve objects, for snapping, only support the nurb points if the object is in edit mode. This matches the solution for Meshes and avoids having to create a kind of "boundbox" for the SURF nurb points.
2022-04-25Nodes: show overlays in node editor even when nodes are collapsedJacques Lucke
2022-04-25Geometry Nodes: improve attribute dependency overlayJacques Lucke
* Adjust width based on node width, necessary to make the longer name below work. * Show "X Named Attributes" in the overlay. * Use "Accessed named attributes" in the tooltip. Differential Revision: https://developer.blender.org/D14751
2022-04-25Geometry Nodes: show timing overlay above attributes overlayJacques Lucke
2022-04-25Fix: use natural string sorting for attribute namesJacques Lucke
2022-04-25Cleanup: fix unused variable warning in `paint_vertex.cc`Sybren A. Stüvel
No functional changes.
2022-04-25Fix T96925: Fast diagonal movement in walk navigationPratik Borhade
View moves faster with two active directions. This is probably because `dvec` is not normalized when moving in two directions. Normalizing this direction vector will fix the problem. Differential Revision: https://developer.blender.org/D14729
2022-04-25Cleanup: spelling in commentsCampbell Barton
2022-04-25VSE: Update first thumbnail when moving handleRichard Antalik
When handles are moved, job is created only for strips that need to update first thumbnail. ref T91618
2022-04-24Cleanup: various minor changesCampbell Barton
- Add missing doxy-section for Apply Parent Inverse Operator - Use identity for None comparison in Python. - Remove newline from operator doc-strings. - Use '*' prefix multi-line C comment blocks. - Separate filenames from doc-strings. - Remove break after return.
2022-04-24Cleanup: clang-formatCampbell Barton
2022-04-23Bake: add UDIM tile baking supportBrecht Van Lommel
Works for both Cycles and multires bake. Triangles are baked to multiple UDIM images if they span across them, though such UV layouts are generally discouraged as there is no filtering across UDIM tiles. The bake margin currently only works within UDIM tiles. For the extend method this is logical, for the adjacent faces method it may be useful to support copying pixels from other UDIM tiles, though this seems somewhat complicated. Fixes T95190 Ref T72390
2022-04-22Cleanup: Clang tidy, unused variable warningsHans Goudey
Also remove unnecessary uses of `struct` and add const in one place.
2022-04-22LibOverride: Add hierarchy creation from IDTemplate UI widget.Bastien Montagne
This is fairly tricky to perform, since there is often very limited contextual information available about the 'active' hierarchy to override. This commit is a first step, it is expected to handle decently well cases like objects and obdata (recreating necessary object and collection hierarchy, and/or hooking it to a potential existing hierarchy), at least in most common cases. Ref: {T95707}.
2022-04-22Fix (unreported): Placement Tool not orienting the Object to normalGermano Cavalcante
Regression introduced in {rB721335553ccb5ce4f7a374b958b7d65befa319df}. `plane_omat` is only computed if `snap_state->draw_plane` is `true`.
2022-04-22Fix various typos and other UI messages issues.Bastien Montagne
2022-04-22Fix T97277: Tweak drag transforming is broken for masks (RMB select)Campbell Barton
Regression in 4d0f846b936c9101ecb76a6db962aac2d74a460a, passing selection through to drag relied on tweak events running even when the press event was handled which is not the case for drag.
2022-04-22Fix - Display correct units in "Edit voxel size" widgetRamil Roosileht
Fix for T84962 Before the patch, edit voxel size always displayed voxel size without units, just as a number in meters. Now it changes like in the voxel remesh panel and shows correct units Video: {F13009428} In adaptive mode: {F13009435} Reviewed By: JulienKaspar Maniphest Tasks: T84962 Differential Revision: https://developer.blender.org/D14682
2022-04-22Fix: VSE channels region visible in previewRichard Antalik
Hide region for preview and sequencer/preview combined view.
2022-04-22Cleanup: spelling in commentsCampbell Barton
2022-04-22Fix: VSE channels area has no backgroundRichard Antalik
Draw area background even when there is no sequencer data.
2022-04-21Fix T97490: snap to multiple objects with linked data can crashGermano Cavalcante
The problem is old. rB52be06301257 (fixed by rB4b35d6950d4f) just masked it. `Object->data`, on evaluated objects, is not a safe pointer to get objects with the same `BMEditData`. Use `Object->runtime.data_orig` instead.
2022-04-21Geometry Nodes: better support for byte color attributesJacques Lucke
Since {rBeae36be372a6b16ee3e76eff0485a47da4f3c230} the distinction between float and byte colors is more explicit in the ui. So far, geometry nodes couldn't really deal with byte colors in general. This patch fixes that. There is still only one color socket, which contains float colors. Conversion to and from byte colors is done when read from or writing to attributes. * Support writing to byte color attributes in Store Named Attribute node. * Support converting to/from byte color in attribute conversion operator. * Support propagating byte color attributes. * Add all the implicit conversions from byte colors to the other types. * Display byte colors as integers in spreadsheet. Differential Revision: https://developer.blender.org/D14705
2022-04-21Curves: show sculpt tool settings in panelsJacques Lucke
Ref T97444. Differential Revision: https://developer.blender.org/D14700
2022-04-21Fix T97497: NLA strip names are now properly contained within the strip boundsColin Basnett
Very easy fix, the bug seemed to be a result of a typo on the right-most margin. Old: {F13013777} New: {F13013782} Maniphest Tasks: T97497 Differential Revision: https://developer.blender.org/D14711
2022-04-21Fix T97465: Moving compositor BG image cannot be cancelledPhilipp Oeser
This was possible with the gizmo, but no using the operator (e.g. from the sidebar). Now store original offsets and reset to these on calcel (ESC or RMB). Maniphest Tasks: T97465 Differential Revision: https://developer.blender.org/D14704
2022-04-21Fix T95932: Auto-close text breaks outliner drag-n-dropCampbell Barton
Text inserted via TEXT_OT_insert would always have auto-close logic applies which interfered any insertion of literal strings containing brackets. Now auto-closing brackets is restricted to characters read from events from the operators invoke functions.
2022-04-21Cleanup: clang formatJacques Lucke
2022-04-21Cleanup: fix various warnings after recent commitJacques Lucke
2022-04-21Vertex paint: Fix debug compile error and aJoseph Eagar
few warnings.
2022-04-21Fix T97469: Sculpt colors crash in multiresolution or dynamic topology modes.Joseph Eagar
Sculpt paint tools now pop up an error message if dynamic topology or multires are enabled. Implementation notes: * SCULPT_vertex_colors_poll is now a static function in sculpt_ops.c. It is now used solely by the legacy color attribute conversion operators (SCULPT_OT_vertex_to_loop_colors and SCULPT_OT_loop_to_vertex_colors) and should be deleted when they are. * There is a new method, SCULPT_handles_colors_report, that returns true if the sculpt session can handle color attributes; otherwise it returns false and displays an error message to the user.
2022-04-21Commit D14179: Revamp Vertex Paint With C++Joseph Eagar
- Verrtex paint mode has been refactored into C++ templates. It now works with both byte and float colors and point & corner attribute domains. - There is a new API for mixing colors (also based on C++ templates). Unlike the existing APIs byte and float colors are interpolated identically. Interpolation does happen in a squared rgb space, this may be changed in the future. - Vertex paint now uses the sculpt undo system. Reviewed By: Brecht Van Lommel. Differential Revision: https://developer.blender.org/D14179 Ref D14179
2022-04-21Text Editor: add Python 3.10 soft keywords to `builtinfunc` listJon Denning
Python 3.10 has added "soft keywords" [0] to their list of identifiers. This patch adds these soft keywords to the list of builtin functions that the text editor searches for when highlighting Python code. The only soft keywords that Python 3.10 current has are: `match`, `case`, and `_`, but more will likely be added in future versions. Currently, the `_` soft keyword is ignored from highlighting. It is a wildcard matching pattern when used with `case` (similar to `default` for `switch`es in C/C++), but `_` is far more often used in other contexts where highlighting the `_` might seem strange. For example, ignoring elements when unpacking tuples (`_, g, _, a = color`). This patch also updates the commented Python code for creating the list of keywords, for convenience. Before: {F13012878} After: {F13012880} Example from PEP-636 [1] Note: These soft keywords are only reserved under specific contexts. However, in order for the text editor to know when the keywords are used in the appropriate contexts, the text editor would need a full-blown Python grammar [2] parser. So, for now, these keywords are simply added in along with the other keywords in order to highlight them in the text editor. [0]: https://docs.python.org/3/reference/lexical_analysis.html#soft-keywords [1]: https://peps.python.org/pep-0636/#matching-specific-values [2]: https://docs.python.org/3/reference/grammar.html Ref D14707
2022-04-21Fix typo in previous commitRichard Antalik
2022-04-21Cleanup: VSE effect relationship checkingRichard Antalik
Use `SEQ_relation_is_effect_of_strip` for checking effect-input relationship where this is applicable.