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-03-23Spreadsheet: show comma separators in number of rowsJacques Lucke
2021-03-23FIX: Incorrect link drawing after link cutting toolFabian Schempp
Sorting of links on multi-input sockets where not recalculated after using the knife operator. Added call to resort function before cutting operator finishes. Reviewer: Jacques Lucke Differential Revision: https://developer.blender.org/D10783
2021-03-23Fix crash transforming sequencesCampbell Barton
Regression in 3d9ee83d88186248fb66823662a04d1a0429e1ae
2021-03-23Cleanup: de-duplicate gpencil logic to ensure materialsCampbell Barton
- Rename: `BKE_gpencil_object_material_get_index_name`, to `BKE_gpencil_object_material_index_get_by_name` Matching `BKE_gpencil_layer_get_by_name`. - Move logic to ensure named materials into a new function: `BKE_gpencil_object_material_ensure_by_name`
2021-03-23WM: don't set the area when toggling full-screenCampbell Barton
The stated reason for this no longer applies.
2021-03-22Fix T86822: context.collection not available in Object/Object Data PropertiesSebastian Parborg
We need to return the global context collection if it is not found in the data path. Also fix pinning of the collection tab.
2021-03-22Cleanup: Collection check return type in button_contextSebastian Parborg
2021-03-22Fix T86666: Lasso and Circle select tools selecting objects behind clip_minGermano Cavalcante
Although it works well in most cases, the algorithm to detect if a point is within the limits of the camera does not work well in othographic mode. This commit also adds the option `V3D_PROJ_TEST_CLIP_FAR` (currently unused). Differential Revision: https://developer.blender.org/D10771
2021-03-22Tracking: Fix movie file prefetch freezing interfaceSergey Sharybin
The issue was caused by the prefetch code having LOCK_MOVIECLIP lock acquired while reading frames from the movie files. The need of the lock was coming from the fact that `clip->anim` can not be accessed from multiple threads, so that was guarded by a lock. The side effect of this lock was that the main thread (from which drawing is happening) did not have any chance passing through it in the cache code because the prefetch happens so quickly. The solution is to create a local copy of the clip with its own anim handler, so that read can happen without such lock. The prefetch is slower by an absolute number in seconds (within 10% in tests here), but it is interactive now.
2021-03-22GPencil: Hide Interpolate Only Selected in Draw ModeAntonio Vazquez
This option is only valid in Edit mode. Also changed the space between options to improve UI. Reviewed by: @mendio
2021-03-22UI: Remove text for add and remove buttons in cryptomatte nodeHans Goudey
The text is unecessary and it's always cut off anyway.
2021-03-21Cleanup: fix compiling with older compiler on macosJacques Lucke
We cannot use `std::variant` yet, because not all of the compilers we support have a working version of it yet. For now, I just replaced it with multiple `std::option` which is good enough, because currently `CellValue` is only used for the cells that are actually drawn in the spreadsheet.
2021-03-21Fix failure to set transform rotate around singleCampbell Barton
Regression in 201ab7c54025afc42570ce3df3d2bb7f37fe36be
2021-03-21Cleanup: remove redundant NULL checksCampbell Barton
2021-03-21Cleanup: use static local variablesCampbell Barton
2021-03-21Cleanup: spelling, doxygen comment formattingCampbell Barton
2021-03-20Fix T86745: trace sequence keyframe offsetFalk David
The offset when creating the keyframes was set to `frame_target + i` but `i` starts iterating from the current frame number. The fix uses just `i` as the frame number. Reviewed By: antoniov Maniphest Tasks: T86745 Differential Revision: https://developer.blender.org/D10772
2021-03-20Join curves: compensate for different bevel depthsPhilipp Oeser
When joining curves, the resulting curve will inherit the bevel depth of the active curve, but the radii would stay the same which leads to changed appearance when joining. Now compensate for this taking the different bevel depths into account (if present). Was a feature request here (and I also think we had reports about this -- which were usually turned down as not-a-bug): https://blender.community/c/rightclickselect/bhhbbc/ Differential Revision: https://developer.blender.org/D10752
2021-03-20Fix issues introduced strip loading refactoringRichard Antalik
- Adding effect strip resulted in strip with no name - Adding sound strip attempted to read `fit_method` RNA property, that did not exist, causing error messages in console These issues were introduced in bbb1936411a5.
2021-03-20Fix T86355: Added effect strip has wrong lengthRichard Antalik
SEQ_add_effect_strip used SeqLoadData.image.end_frame to set end frame. This was mistake introduced in last refactoring patch. Use effect data, not image data, when adding effect strips. Reviewed By: sergey Differential Revision: D10633
2021-03-20VSE: Preview images when moving strip handlesPeter Fog
Add option to override current frame whem transforming strip handles. Option can be found in View menu of VSE preview, or in timeline when using backdrop. Reviewed By: ISS Differential Revision: https://developer.blender.org/D10424
2021-03-19Geometry Nodes: Add geometry instances data to the spreadsheetHans Goudey
This patch adds data about instances generated by geometry nodes to the spreadsheet. The transform data is decomposed into position, rotation, and scale, and there is a name column to display the name of the instanced object or collection. This data is implemented specifically for the spreadsheet, because we're not sure that we want to expose this data as attributes for the use elsewhere. Differential Revision: https://developer.blender.org/D10770
2021-03-19Cleanup: rename x1/x2/y1/y2 to x/y/width/heightJacques Lucke
2021-03-19LibOverride: Stash away 'leftover' objects/collections from auto-resync process.Bastien Montagne
Instead of storing those in scne's master collection, which is fairly annoying, we now add them to a (hidden) specific collection. Easy to ignore, or check and cleanup.
2021-03-19Cleanup: minor changes to pose-mode apply visual transformCampbell Barton
- Remove use of evaluated poses, instead calculate transformations into an array which is applied afterwards. - Only update ID's for poses that have been changed.
2021-03-19Python API: Expose CurveProfile Reset View functionPatrick Busch
Allow python access to the `reset_view` functionality which before was only available through the menu. This was suggested for consistency after D10561. Differential Revision: https://developer.blender.org/D10595
2021-03-18Fix T86677: select grouped in node editor crashes without active nodePhilipp Oeser
This was reported for geometry nodes, but was true for all nodetrees (e.g. after deleting the active node). Geometry node trees just made this more obvious since they start without an active node to begin with. Fix provided by @lone_noel, thx! Maniphest Tasks: T86677 Differential Revision: https://developer.blender.org/D10762
2021-03-18LibOverride: Outliner: Rename `Add...` to `Make...`.Bastien Montagne
Also more consistent with the name used for the 3DView operator.
2021-03-18Fix 3DView not updating on some NC_ID notifiers.Bastien Montagne
Outliner uses a lot `NC_ID | NA_EDITED` e.g., which was not caught by the View3D editor for update.
2021-03-18LibOverride: Outliner: Tweak override creation from instancing empty.Bastien Montagne
Now behavior is similar to the one from 3DView: once override of the collection is successfuly created, we remove the instancing empty from the scene.
2021-03-18Fix missing view3d updates after recent NC_SPACE notifier filtersPhilipp Oeser
Since {rB46aa70cb486d}, using `NC_SPACE | ND_SPACE_VIEW3D` as notifier is restricted to space data as a reference. This was still used though for RNA updates in other places (namely `rna_camera`, `rna_scene`, `rna_animviz`), and passing NULL would automatically set the notifier reference to the owner id. Above commit would happily filter these out, leading to missing refreshes. Now use more specific notifiers (in case of animviz a new `ND_DRAW_ANIMVIZ` was added). This was reported for Camera background images btw. Fixes T86670. Maniphest Tasks: T86670 Differential Revision: https://developer.blender.org/D10758
2021-03-18UI: Dynamically increase data-block name button size if there's spaceJulian Eisel
Data-block selectors (or other selectors using the `UILayout.teamplate_search` or `UILayout.template_search_preview`) in headers used a fixed size width for the name button. Often that meant the text would be clipped to fit even though there was plenty of whitespace surrounding the data-block selector. Now the name button can increase in width with the contained string, clamped to some arbitrary and quite big maximum (3 times the minimum width). We could further take the available space into account, to reduce the need for scrolling in the header. But I don't think that is much of an issue and the name clipping it would re-introduce would probably be more annoying.
2021-03-18Cleanup: Remove unused variable in gpencil_add_lineart.cSebastian Parborg
2021-03-18Fix T86692: Start Line Art GP objects on frame 0YimingWu
If playback starts before the first GP frame, we will get "ghost" strokes.
2021-03-18GPencil: Fix unreported datablock type changed using Dopesheet box selectAntonio Vazquez
When doing a box selection in the dopesheet in the header area, the data block type was changed to annotation because the pointer was not usable and produced an unexpected result. Thanks to @pullup for finding a way to reproduce the bug.
2021-03-18Cleanup: use doxy sections for pose_transform.cCampbell Barton
2021-03-18Cleanup: spellingCampbell Barton
2021-03-18Cleanup: remove unused common_restrict_check functionCampbell Barton
Since c10ad8e9eabea8a10d35efea3860cc345977e4f9 hiding edit-mode objects is supported. Although this function had already been removed in aeb8e81f2741aabc95d14bce7a83cef45481959c.
2021-03-17Cleanup: Reduce variable scopeJulian Eisel
2021-03-17Modify Dopesheet block between keyframesAntonio Vazquez
This makes more visible where ends each keyframe. To use, as we did before, full block sometimes looks hard to view where a keyframe ends. Reviewed By: pepeland, mendio, Severin Differential Revision: https://developer.blender.org/D10588
2021-03-17Nodes: Add support to mute node wiresCharlie Jolly
This patch adds the ability to mute individual wires in the node editor. This is invoked like the cut links operator but with a new shortcut. Mute = Ctrl + Alt Cut = Ctrl Dragging over wires will toggle the mute state for that wire. The muted wires are drawn in red with a bar across the center. Red is used in the nodes context to indicate invalid links, muted links and internal links. When a wire is muted it exposes the original node buttons which are normally hidden when a wire is connected. Downstream and upstream links connected using reroute nodes are also muted. Outside scope of patch: - Add support for pynodes e.g. Animation Nodes - Requires minor change to check for muted links using the `is_muted` link property or the `is_linked` socket property. Maniphest Tasks: T52659 Differential Revision: https://developer.blender.org/D2807
2021-03-17Fix T86645: Executing "Operator Cheat Sheet" Crashes BlenderJulian Eisel
The "Operator Cheat Sheet" operator collects info about all operators, and as part of that executes the callbacks to create dynamic enums. The callback to enumerate the Outliner ID operations depends on Outliner context. If this isn't available, it can just return a context-less version of the enum, that is, a static enum with all available items. This was already done in case no context is available at all.
2021-03-17Fix T86609: GPencil: Sculpt brush cursor disappears on undo.Bastien Montagne
Regression from rB2a8122fb65c5, somehow that piece of code was lost during the refactor.
2021-03-17Geometry Nodes: store domain and data type in attribute hintsJacques Lucke
The information is not exposed in the attribute search yet.
2021-03-17Cryptomatte: Show Name of Object/Material Under The Cursor.Jeroen Bakker
This change shows the object or material name with the cursor when picking for a cryptomatte node. Reviewed By: Julian Eisel Differential Revision: https://developer.blender.org/D10705
2021-03-17Fix outliner multi-object edit-armature operationsCampbell Barton
Recursive restrict selection (hide/selectable flag) & renaming edit-bones both used the active object, even when bones for another non-active object were being operated on. Bone renaming would rename a bone in the active object (if that name exists).
2021-03-17Fix issues with automatic proxy buildingRichard Antalik
After merging patches and resolving conflicts, typo prevented correct operation. This uncovered crash on NULL dereference as well.
2021-03-16Grease Pencil: Add LineArt modifierYimingWu
This adds the LineArt grease pencil modifier. It takes objects or collections as input and generates various grease pencil lines from these objects with the help of the active scene camera. For example it can generate contour lines, intersection lines and crease lines to name a few. This is really useful as artists can then use 3D meshes to automatically generate grease pencil lines for characters, enviroments or other visualization purposes. These lines can then be baked and edited as regular grease pencil lines. Reviewed By: Sebastian Parborg, Antonio Vazquez, Matias Mendiola Differential Revision: http://developer.blender.org/D8758
2021-03-16VSE: Automatic proxy buildingRichard Antalik
Build proxies automatically when added to sequencer timeline and when switching preview size. This behavior can be disabled in user preferences. Reviewed By: sergey, fsiddi Differential Revision: https://developer.blender.org/D10363
2021-03-16VSE: Simplify proxy settingsRichard Antalik
- Remove Full Render size from VSE preview size. Use just 100% instead. - Add Use Proxies checkbox to control whether proxies are used globally - Move preview size to top so it is most prominent - Set default to 100% preview size and use proxies Reviewed By: sergey, fsiddi Differential Revision: https://developer.blender.org/D10362