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-10-05VSE: Fix of several outline and handle related problems by bracket handlestemp-vse-handlesPeter Fog
There are numerous problems with the current handles and outlines: - Current handles are making waveform editing imprecise: T90824 - They are not showing a direction(previously they had arrows). - Having both strip(via outline) and handles selection drawn is the cause of confusion: T90843 - Strip overlay texts are stealing attention away from with the selected elements. - Adjoined outlines are drawn op top of each other. Solutions: - Change handles to bracket shaped(introduced in: D10297), so the waveform is not covered by the handle. - Selection is drawn as either handle or strip, so there is no confusion(and it is in consistency with ex. 3d view where a selected object and a selected vertex are drawn at the same time). - Since the handles are smaller this way, the overlay and transform texts colors are muted a bit, so selection will stand out as the most highlighted elements. - The outlines have been tweaked, so the outlines are moved away from each other and a dark line is separating them. Before {F10768098,size=full} After {F10768103,size=full} A gif: {F10768170,size=full} Differential Revision: https://developer.blender.org/D12308
2021-10-04Fix T91725: Waveforms are not displayedRichard Antalik
Use `sseq->timeline_overlay.flag` for `SEQ_TIMELINE_ALL_WAVEFORMS` instead of `sseq->flag`.
2021-10-04Fix T91920: Missing decorate buttons in sound panelRichard Antalik
Add back decorate buttons, move mono and display waveforms to bottom as they were before.
2021-10-04Cleanup: Use LISTBASE_FOREACH macroAntonio Vazquez
2021-10-04Make keyframe inserts/removals less verbose when called from python.Gaia Clary
Following operators now only report messages back when they are called via their invoke-methods: - ANIM_OT_keyframe_insert - ANIM_OT_keyframe_insert_by_name - ANIM_OT_keyframe_insert_menu - ANIM_OT_keyframe_delete - ANIM_OT_keyframe_clear_v3d - ANIM_OT_keyframe_delete_v3d Also removed the attribute confirm_success from the following operators: - ANIM_OT_keyframe_insert - ANIM_OT_keyframe_insert_by_name - ANIM_OT_keyframe_insert_menu - ANIM_OT_keyframe_delete - ANIM_OT_keyframe_delete_by_name Note: addons/scripts possibly need to be updated if they use the above operators AND set the "confirm_success" attribute Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D12697
2021-10-04Assets: Show all assets indirectly nested inside the active catalogJulian Eisel
The asset catalog design was always that the active catalog would also display all assets of its child catalogs (or grand-childs, etc.). This is one of the main characteristics that differentiates catalogs from usual directories. Sybren prepared this on the asset catalog backend side with 56ce51d1f75a. This integrates it into the Asset Browser backend and the UI.
2021-10-04Cleanup: Remove unused variable and includeHans Goudey
2021-10-04Fix: Geometry Nodes Handle Type Selection FixJohnny Matthews
Fix the selection logic on the Handle Type Selection node to work as intended: (Left is Selected AND Left is ChosenType) OR (Right is Selected AND Right is ChosenType)
2021-10-04Geometry Nodes: Curve Trim Node UpdateJohnny Matthews
This update allows the Trim Curve node to use float field inputs for the start and end inputs. These fields are evaluated on the spline domain. Differential Revision: https://developer.blender.org/D12744
2021-10-04Fix: Unable to select left and right in set handle type nodeHans Goudey
The "enum" RNA flag was missing.
2021-10-04GPencil: Simplify code removing extra functionAntonio Vazquez
The function was not doing anything and only was calling another function.
2021-10-04UI Tree-View API: Enforce active item to be un-collapsedJulian Eisel
Makes sure that the active item of a tree never has collapsed parent items, which can be confusing if it happens. E.g. for the asset catalogs UI, the active catalog decides which assets are visible. Having it hidden while being the main factor deciding which assets are visible is quite confusing. I think it makes sense to have this at the UI Tree-View level, rather than doing it manually in the asset catalog code for example. Seems like something you'd commonly want. We can make it optional in the API if needed. Renamed the `set_active()` function to make clear that it is more than a mere setter.
2021-10-04GPencil: Remove unused flagAntonio Vazquez
This flag was used in older versions, but now is not used anymore.
2021-10-04Nodes: Revert some socket declarations to previos APIAaron Carlisle
See T91826, there is a bug in the code where both `.` and `_` are used as a seperator for `BLI_uniquename_cb`. This resulted in some nodes becoming disconnected on file load. Until this is resolved, the chnages are reverted to prevent data loss.
2021-10-04Assets: Support dragging assets on "Unassigned" catalogJulian Eisel
Dragging assets onto the "Unassigned" catalog tree item will effectively move the assets out of any catalog. Technically this means unsetting the Catalog-ID stored in the asset metadata, or more precisely setting the UUID to be all zeros.
2021-10-04Cleanup: Use static function for asset catalog tree-view helperJulian Eisel
2021-10-04Cleanup: Separate interface & implementation for asset catalog tree-viewJulian Eisel
Should make the code a bit more organized and help getting an overview of the interfaces more quickly.
2021-10-04Fix T91823: Regression not showing idblocks when recursion is set to `Blend ↵Julian Eisel
file` Introduced by fc7beac8d6f4. During code review it wasn't clear why this branch was needed, so we removed it. Now it is clear why it is needed so we added it back and added a comment why the branch is needed. Patch provided by @Severin.
2021-10-04Fix T91861: Black environment behind shadow catcherSergey Sharybin
Always sample background pass behind shadow catcher (if the pass exists, of course), regardless of whether shadow catcher will be used as approximate or accurate. Allows to combine accurate shadows into an environment map. Differential Revision: https://developer.blender.org/D12747
2021-10-04Fix T91894: Cycles baking normal maps of transformed objects not workingBrecht Van Lommel
2021-10-04Fix T89759: baking normals does not take into account mirror modifierBrecht Van Lommel
2021-10-04Fix T90815: wrong Cycles OSL normal map render after recent optimizationBrecht Van Lommel
2021-10-04Fix Cycles render time pass being available in UI, but it was removedBrecht Van Lommel
This previously only work for CPU rendering, and isn't that practical to get working in the new architecture.
2021-10-04Fix T91911: error in image dithering code after recent changesBrecht Van Lommel
Thanks to Patrik Olsson for spotting this.
2021-10-04Cleanup: Reverting submodules hashDalai Felinto
This partially reverts commit e62ce9e08e919f25aad444f378947f6be932730f.
2021-10-04Fix camera border bug in passepartout render viewSimon Lenz
{F10761402} With active viewport render from camera view, the camera border shows up, even when passepartout and overlays are disabled. By moving the line-drawing code to the passepartout section, it is effectively disabled when passepartout is off. Reviewed By: sebastian_k Differential Revision: https://developer.blender.org/D12745
2021-10-04I18n tools: Fix issue when extracting messages on release builds.Bastien Montagne
This was also affecting prototype of buildbot-driven UI messages extraction...
2021-10-04Cleanup: Redundant space at the end of commentSergey Sharybin
2021-10-04Fix session uuid ghash comparison return valueSebastian Parborg
Because of legacy reasons (C string compare function returning 0 when strings are equal), the ghash compare function is expected to return false when hashes are equal.
2021-10-04Fix T91867: Error reading tiles with Persistent Data ONSergey Sharybin
2021-10-04Cleanup: `Neighbour` -> `Neighbor`. and other minor UI messages fixes.Bastien Montagne
Blender English should use 'American' variants, not 'British' variants.
2021-10-04Cleanup: tag unused parameters as such.Bastien Montagne
2021-10-04Fix T91873: Crash when opening properties panelFalk David
This patch fixes a crash that was recently introduced by rB5cebcb415e76. The reason were missing poll functions in the UI and operator. Reviewed By: ISS Maniphest Tasks: T91873 Differential Revision: https://developer.blender.org/D12736
2021-10-04Cleanup: remove unused assignmentsCampbell Barton
2021-10-04Cleanup: pass arguments as constCampbell Barton
2021-10-04Cleanup: remove redundant assignmentCampbell Barton
2021-10-04Cleanup: use system includesCampbell Barton
2021-10-04check_cppcheck: use quiet outputCampbell Barton
Without this, each cppcheck invocation included all defines/includes flooding the console with unhelpful information. Also remove nonexistent directory to exclude.
2021-10-04check_cppcheck: use '--cppcheck-build-dir'Campbell Barton
Use a temporary directory for faster performance.
2021-10-04project_source_info: queue_processes() now waits for jobs to finishCampbell Barton
queue_processes() - used for some of the "make check_*" utilities, wasn't waiting for all jobs to finish before returning. This conflicted with running cleanup operations.
2021-10-04Fix possible NULL pointer deferenceCampbell Barton
The pointer was referenced before being checked.
2021-10-04Fix T91904: Assert when loading empty CurveProfileHans Goudey
Somehow, the file from T71329 has an empty curve profile. While that may be a problem in itself, it's reasonable to avoid asserts or crashes when loading or drawing such a CurveProfile. This commit just makes sure the table always has a single vertex, and adds some checks in drawing code.
2021-10-04Cleanup: Make more functions staticHans Goudey
This simplifies the surface of the API for a CurveProfile.
2021-10-04Cleanup: Replace macro with functionHans Goudey
2021-10-04Cleanup: Make function staticHans Goudey
2021-10-04Cleanup: Add doxygen sections, rearrange functionsHans Goudey
2021-10-04Fix key-map with fall-back tool on RMB selectCampbell Barton
Regression in bffda4185dc7eee88e49818b72fa8c34dc2778e6.
2021-10-04Cleanup: rename eRegionType -> eRegion_TypeCampbell Barton
Match eSpace_Type.
2021-10-04Keymap: print more verbose output for --debug-handlersCampbell Barton
Include the short-cut text and the operator properties to make it easier to track down the key-map item source that matched the event.
2021-10-04Asset Browser: Support dragging assets into catalogsJulian Eisel
With this it is possible to select any number of assets in the Asset Browser and drag them into catalogs. The assets will be moved to that catalog then. However, this will only work in the "Current File" asset library, since that is the only library that allows changing assets, which is what's done here. While dragging assets over the tree row, a tooltip is shown explaining what's going to happen. In preparation to this, the new UI tree-view API was already extended with custom drop support, see 4ee2d9df428d. ---- Changes here to the `wmDrag` code were needed to support dragging multiple assets. Some of it is considered temporary because a) a proper #AssetHandle design should replace some ugly parts of this patch and b) the multi-item support in `wmDrag` isn't that great yet. The entire API will have to be written anyway (see D4071). Maniphest Tasks: T91573 Differential Revision: https://developer.blender.org/D12713 Reviewed by: Sybren Stüvel