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-03-25Cleanup: use count or num instead of nbrCampbell Barton
Follow conventions from T85728.
2022-03-25Cleanup: use array syntax for sizeof, zero before float suffixCampbell Barton
2022-03-25Cleanup: spelling in comments, stringsCampbell Barton
2022-03-25Cleanup: sort cmake file listsCampbell Barton
2022-03-25Cleanup: unused warningsCampbell Barton
2022-03-25Geometry Nodes: Multi-thread creation of selection from fieldHans Goudey
When boolean fields are evaluated and used as selections, we create a vector of indices. This process is currently single-threaded, but 226f0c4fef7e7792c added a more optimized multi-threaded version of this process. It's simple to use this in the field evaluator. I tested this with the set position node and a random value node set to boolean mode on a Ryzen 2700x: | | Before | After | Improvement | | 10% Selected | 40.5 ms | 29.0 ms | 1.4x | | 90% Selected | 115 ms | 45.3 ms | 2.5x | In the future there could be a specialized version for non-span virtual array selections that uses `materialize` to lower virtual call overhead. Differential Revision: https://developer.blender.org/D14436
2022-03-25BLF Cleanup: Use FreeType Enum FT_Err_OkHarley Acheson
Replace comparisons of FT_Error against 0 with FT_Err_Ok instead. See D14052 for more details. Differential Revision: https://developer.blender.org/D14052 Reviewed by Campbell Barton
2022-03-25ImBuf: Add support for WebP image formatAaron Carlisle
Currently only supports single image frames (no animation possible). If quality slider is set to 100 then lossless compression will be used, otherwise lossy compression is used. Gives about 35% reduction of filesize save when re-saving splash screens with lossless compression. Also saves much faster, up to 15x faster than PNG with a better compression ratio as a plus. Note, this is currently left disabled until we have WebP libs (see T95206) For testing precompiled libs can be downloaded from Google: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html Differential Revision: https://developer.blender.org/D1598
2022-03-24Cleanup: Optimize viewport view data creationJesse Yurkovich
Each time the user clicks the viewport 2 sets of engine views are created. Each set is currently composed of 8 view objects, each of size 592 bytes. Because space is not reserved in the vector that holds them, several unnecessary re-allocation/copy cycles occur as the vector resizes and the total allocation load is 8880 bytes. This happens twice. Reduce to just the allocations necessary and with exactly 4736 bytes allocated for each set - Before: 8 allocations and 8 deallocations totaling 17760 bytes - After: 2 allocations and 2 deallocations totaling 9472 bytes Reviewed By: fclem, jbakker Differential Revision: https://developer.blender.org/D13782
2022-03-24Fix T96756: Blender hanges on rendering after file save, after recent changesBrecht Van Lommel
2022-03-24Cycles: don't write light passes for shadow catcher objectsBrecht Van Lommel
Makes it easier to composite the Combined image from these passes. Fixes T96758
2022-03-24Fix T94001: OpenColorIO configuration with 1D textures not workingBrecht Van Lommel
2022-03-24Fix: Missing "Hair" to "Curves" renameHans Goudey
Missed in fe1816f67fbc6aaf383ec
2022-03-24Fix: Build error with flag usage and strict warningsHans Goudey
2022-03-24Outliner: Don't show empty base elements in the library overrides modeJulian Eisel
In the library overrides mode, in some situations there would be empty base elements like "Collections" or "Objects". Don't show them, it's confusing wihout use. Code just failed to consider that case.
2022-03-24Outliner: Don't draw library overrides indicator for override buttonsJulian Eisel
All the buttons in the Library Overrides display mode would be shown in cyan, indicating that they are library overrides. Given that this is solely what this display mode is about, the indicator is just redundant, confusing (why are the buttons purple?) and looks weird. Part of T95802. Reviewed by: Bastien Montagne Differential Revision: https://developer.blender.org/D14416
2022-03-24Fix: Volume grid duplication on USD import.Michael Kowalski
Fix provided by Piotr Makal in patch D14204. This patch fixes volume grid duplication which was occurring during importing USD files. This was caused by calling BKE_volume_grid_add twice per grid (excluding 'density' grid) for the same Volume object: (1) in USDVolumeReader::read_object_data and (2) later in BKE_volume_load. Differential Revision: https://developer.blender.org/D14204
2022-03-24Fix T90110: Dupli Window Not Immediately ActiveLictex Steaven
When creating a new window from a duplicated area - by shift-dragging on corner action zones - on the Windows platform the resulting window is initially unresponsive. This patch fixes this by releasing the parent window's mouse capture. See D14085 for more details. Differential Revision: https://developer.blender.org/D14085 Reviewed by Ray Molenkamp
2022-03-24Outliner: Remove list of library overrides from general display modesJulian Eisel
There is a dedicated Library Override display mode now, and showing these elsewhere just adds noise and makes the code problematic to maintain (since the same element hierarchy will be used in two entirely different contexts). The corresponding filter settings are removed too. Part of T95802. Reviewed by: Bastien Montagne Differential Revision: https://developer.blender.org/D14411
2022-03-24Outliner: Don't display library overrides from linked filesJulian Eisel
Instead of having the "Current File" and then the individual libraries containing indirect library overrides in the Library Overrides display mode, only show what's in the current file. Agreement was that this isn't very useful in this view, we may want to add it to the Hierarchy view though (see T95802). Part of T95802. Also expands the top level ID type items ("Objects", "Materials", ...) by default. See D14410 for details. Reviewed by: Bastien Montagne Differential Revision: https://developer.blender.org/D14410
2022-03-24Tracking: Fix incorrect angle calculation on marker slideSergey Sharybin
Now the mouse cursor will exactly follow the tilt/scale sliding area.
2022-03-24Tracking: Fix jump when sliding tild/scale of markerSergey Sharybin
Was a mistake in coordinate handling: need to take possible offset from the sliding area. Mouse us still not fully perfectly follows changes of the tilt slide area, but that is a separate issue.
2022-03-24GPencil: New Envelope ModifierHenrik Dick
This new modifier creates a shape known as envelope. It connects all points that are n points apart. There is also a mode which fits a single stroke to the envelope shape that is determined by that rule. For more details, refer to the patch. Reviewed By: NicksBest, antoniov, frogstomp, mendio Differential Revision: http://developer.blender.org/D14341
2022-03-24Complex Solidify: handle vertex creasesHenrik Dick
This implements the same interpolation method as for bevel weights now for vertex and edge creases as well to improve the flexibility. Differential Revision: http://developer.blender.org/D14170
2022-03-24Outliner: tweak handling of liboverrides in delete code.Bastien Montagne
Essentially, we only allow deletion of hierarchy roots of liboverrides, when hierarchy deletion option is enabled. Also add some checking code in the generic, non-object/collection ID delete code, to prevent any deletion of liboverrides that would be part of a hierarchy.
2022-03-243D View: preference to disable selection cycling on first clickCampbell Barton
Object mode selection does a kind of cycling that excludes the active selected object. This is separate from regular selection cycling which is enabled when clicking multiple times without moving the cursor. This has the down-side that clicking on an object to drag it always selects the object behind it (in the case of overlapping objects). Since object mode selection is fundamental functionality, this is exposed as an experimental preference for user feedback & testing. See T96752 for details.
2022-03-24Fix `make source_archive_complete` for release branchesDalai Felinto
In Blender 3.1 we can't run the source_archive_complete because the cmake program is trying to download the packages from svn trunk. However 3.2 (aka master) already changed the version of some of the source packages. For example the OpenXR-SDK. It should be looking for OpenXR-SDK-1.0.17.tar.gz in: https://svn.blender.org/svnroot/bf-blender/tags/blender-3.1-release/lib/packages/ But instead it tries to look for it in: https://svn.blender.org/svnroot/bf-blender/trunk/lib/packages/ Which can't be found since it was replaced with OpenXR-SDK-1.0.22.tar.gz --- Release checklist: https://wiki.blender.org/wiki/Process/Release_Checklist The release checklist was updated to include the new instructions: `In the release branch, update and uncomment BLENDER_VERSION in download.cmake` Differential Revision: http://developer.blender.org/D14292
2022-03-24GPencil: Add Scale Thickness to Pivot Point Pie Menu similar to Only LocationsHenrik Dick
In my opinion Scale Thickness feels similar to Only Locations and was missing from the pie menu in grease pencil edit mode, so here I added it. Differential Revision: https://developer.blender.org/D12530
2022-03-24Correct syntax error for MSVCCampbell Barton
2022-03-24Cleanup: clang-formatDalai Felinto
2022-03-24GPencil: lower bounds for gap in dot dash modifierHenrik Dick
This patch maximizes the possible bounds for the dash and gap parameters in the dot dash modifier. This makes e.g. chopping up lines without gaps possible. Differential Revision: http://developer.blender.org/D14428
2022-03-24Keymap: experimental preference always use "Mouse Select & Move"Campbell Barton
This was already as a preference for the tweak tool, this preference enables the option for all selection in the 3D view & UV editor. This extends on changes from T96544.
2022-03-24Cleanup: use struct member identifiers for initializationCampbell Barton
Relying on the order of struct members can be error prone. Update other instances of ObjectsVisibleIteratorData initialization for MSVC/C++.
2022-03-24Cleanup: use "filepath" instead of "filename" for full pathsCampbell Barton
Reserve "filename" when only the name component is used.
2022-03-24Cleanup: localize finding the nearest non-active object on selectionCampbell Barton
Move this into it's own block since it only needs to run if the nearest object is currently selected & active.
2022-03-24View 3D: Don't prioritize pose objects unless in pose-modeCampbell Barton
Always prioritizing bones caused pose-objects to be selected in object mode even if they were behind other objects. Now prioritizing pose bones is limited to pose mode.
2022-03-243D View: order by depth when selecting cycles through objectsCampbell Barton
When cycling through objects select the nearest first instead of using the order of object-bases in the view_layer. This matches how pose selection works.
2022-03-24Cleanup: remove redundant argument for key-map selection templateCampbell Barton
2022-03-24Cleanup: Typo, improve variable namesHans Goudey
`accumulate_counts_to_offsets` wasn't just used for the point domain.
2022-03-24BLI: Add utility for tacking average and min runtimeHans Goudey
This is useful to save time manually averaging many timing results. The minimum is included because often it can be more stable than an average, and it can help to expose calls from other contexts with lower times that would make the average useless. Differential Revision: https://developer.blender.org/D14417
2022-03-24Geometry Nodes: Improve performance writing to vertex groupsHans Goudey
In a test file from T96282, this commit reduces the runtime of the delete geometry node from 82 ms to 23 ms, a 3.6x improvement. Writing to vertex groups in other cases should be faster too. The largest improvement comes from not writing a new weight of zero if the vertex is not in the group. This mirrors the behavior of custom data interpolation in `layerInterp_mdeformvert`. Other improvements come from using `set_all` for writing output attributes and implementing that method for vertex groups. I also implemented `materialize` methods. Though I didn't obverse an improvement from this, I think it's best to remove virtual method call overhead where it's simple to do so. The test file for the delete geometry node needs to be updated. These methods could be parallelized too, but better to do that later. Differential Revision: https://developer.blender.org/D14420
2022-03-24Cleanup: Clang tidyHans Goudey
- Deprecated headers - Else after return - Inconsistent parameter names (I used the most recently modified) - Raw string literals
2022-03-24Cleanup: Adjust naming in new curves codeHans Goudey
Rename "size" variables and functions to use "num" instead, based on T85728 (though this doesn't apply to simple C++ containers, it applies here). Rename "range" to "points" in some functions, so be more specific. Differential Revision: https://developer.blender.org/D14431
2022-03-24UDIM: Improve tile format detection in filenamesJesse Yurkovich
There are some filenames where the UDIM pattern guessing would fail unnecessarily. The user can fix these up afterwards but it would be nicer if they would detect properly in the first place. Examples: `test.1001.ver0023.png` would guess wrong since it uses the image sequence detection code which finds the first sequence from the end. It would guess `filename.1001.ver<UDIM>.png` `uv-test.u1_v2.png` would fail detection due to a bug in the processing. Make this much more reliable and add tests for the most important tile related get/set/detection functions. Differential Revision: https://developer.blender.org/D14320
2022-03-24Cleanup/fix wrong enum items for object.gpencil_modifier_addKévin Dietrich
No functional changes as the actual list used for display is generated at runtime via a callback.
2022-03-24Cleanup: extra property update for ShaderFxGlow.opacityKévin Dietrich
2022-03-24Cleanup: remove debug printsBrecht Van Lommel
2022-03-24Cycles: enable HIP for Vega and Vega II (Radeon 7) GPUs on WindowsBrian Savery
Basic testing on windows only so far. Will need some testing on Linux as well when the Linux enablement patch is ready. Does not enable Vega APUs yet (which would be gfx902 or gfx90c). Differential Revision: https://developer.blender.org/D14432
2022-03-24Fix missing updates for external render engines rendering tilesBrecht Van Lommel
For render image buffers to be acquired, a lock must be provided. Also fixed wrong usage of release, it must always be called regardless if the returned image buffer is NULL.
2022-03-24Fix Cycles Metal build error and GCC warning after recent changesBrecht Van Lommel
Function overloading of make_float4() doesn't work since it's a macro, just don't do this minor cleanup then.