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-10-04Cleanup: VSE: Rename `val` to `timeline_frame`Richard Antalik
2022-10-04Cleanup: Add docstrings to `SEQ_time.h`Richard Antalik
2022-10-04Cleanup: VSE code readabilityRichard Antalik
Add function `SEQ_time_content_end_frame_get` to get content end frame. New function is shorthand for `SEQ_time_start_frame_get() + SEQ_time_strip_length_get()`.
2022-10-04Fix: Crash versioning transfer node with animation dataHans Goudey
This versioning needs to be done after linking in order to affect animation data which might not be loaded in the regular "do_versions" loop. Animation data is removed in `nodeRemoveNode`. Fixes T101439
2022-10-04Cleanup: remove unused members from RenderResultBrecht Van Lommel
2022-10-04UI: Avoid unnecessary label in set curve normal nodeHans Goudey
"Mode" is obvious and isn't worth cutting off the text.
2022-10-04Fix: Bump subversion after forward compatibility breakageHans Goudey
c3b6e372542f9fb0ff23 change node ID names. Bump the subversion and the min file subversion so older versions get warnings opening newer files.
2022-10-04Fix T101583: Issues applying modifier to mesh with shape keysHans Goudey
The wrong mesh was used to read the position attribute. Also, there was always a warning about missing shape keys when that wasn't the case.
2022-10-04Fix: UI: Warning for description with period at endHans Goudey
The last period is added automatically, for better or worse.
2022-10-04BLI: Unroll vector loops for better performance on GCCHans Goudey
On GCC, the loops created by `BLI_VEC_OP_IMPL` were not always unrolled, leading to branching. For `attribute_math::mix4<float3>`, this lead to a significant performance regression compared to its older `interp_v3_v3v3v3v3` counterpart. Instead of a using macros to create the for loops, use variadic templates to manually unroll them. The compiler might do it anyway (I didn't observe any effect on Clang in my tests), but there should be no reason not to unroll these small loops, and making it explicit and removing use of macros seems better. On a Ryzen 3700x, this commits doubles the performance of Catmull Rom curve position evaluation (from 18-19ms to around 9-10ms). Differential Revision: https://developer.blender.org/D16136
2022-10-04Fix T101233: Crash on deleting the object in outliner due to null pointer accessPratik Borhade
After rB188f7585a183 deleting the object results in crash due to null pointer access if collections are filtered out Reviewed by: mont29 Differential Revision: https://developer.blender.org/D16031
2022-10-04Always initialize MaterialPass (Fixes a crash in mscv)Miguel Pozo
Differential Revision: https://developer.blender.org/D16134
2022-10-04Fix T101447: Hold split not working correctlyRichard Antalik
Caused by incorrect conflict resolution in commit 302b04a5a3fc0e76.
2022-10-04Fix T101499: Do not allow unlinking objects from linked collections.Bastien Montagne
2022-10-04Cleanup: Remove commented out code in ssr_lib.glsl.Jeroen Bakker
2022-10-04Fix T101438: Wrong LOD selection after clamping the mip value (Nvidia)Miguel Pozo
Fix for T101438 Clamping the mip seems to always set it to 9.0. I couldn't find an alternative way to avoid triggering the error (ie. min(mip, 9.0)). In any case, the results with this patch applied look the same to the (correct) ones on AMD. And, since clamping the max mip to a hardcoded value could result in resolution-depended behavior, I guess disabling the clamp should be ok anyway. Reviewed By: fclem Maniphest Tasks: T101438 Differential Revision: https://developer.blender.org/D16129
2022-10-04Animation: Update tooltips to be more readableJames
Change some wording of tooltips for readability, in animation-related areas (drivers, keying sets, animation channel visibility). Reviewed By: sybren Differential Revision: https://developer.blender.org/D16131
2022-10-04Fix T101559: Rain Test Animation demo crashes Blender 3.3Bastien Montagne
Update to liboverride creation code to add support of keeping active object forgot to consider case when there is no known/given view layer. NOTE: due to differences in code, fix for 3.3 will be a bit different.
2022-10-04New viewlayer deferred resync code: add utils to ensure resync of whole ↵Bastien Montagne
Scene and Main. Similar to existing `BKE_main_collection_sync` and `BKE_scene_collection_sync`, in some cases code does not have access to a specific view layer, and/or does not know exactly which view layer needs to be in sync, or just need the full data to be up to date.
2022-10-04Cleanup: rename BKE_appdir_folder_id_version, improve doc-stringsCampbell Barton
Rename BKE_appdir_folder_id_version to BKE_appdir_resource_path_id_with_version because BKE_appdir_folder_id and BKE_appdir_folder_id_version didn't accept compatible arguments. Also add notes to GHOST_getSystemDir & GHOST_getUserDir that BKE_appdir_resource_path_id(..) should be used instead (in most cases).
2022-10-04Support environment variables to override USER & SYSTEM resource pathsCampbell Barton
Even though individual USER/SYSTEM paths could be set using environment variables, it wasn't possible to override the USER or SYSTEM paths. This meant the result of `bpy.utils.resource_path('USER')` & `bpy.utils.resource_path('SYSTEM')` could still be used by scripts, making the Blender session potentially the default USER directory (even when `BLENDER_USER_CONFIG`, `BLENDER_USER_SCRIPTS` & `BLENDER_USER_DATAFILES` all point elsewhere). Resolve by adding environment variables: - BLENDER_USER_RESOURCES - BLENDER_SYSTEM_RESOURCES These will be used for `bpy.utils.resource_path('USER')` & `bpy.utils.resource_path('SYSTEM')`, as well as a basis for user & system directories, unless those environment variables are set (`BLENDER_USER_*` or `BLENDER_SYSTEM_*`). Resolves issue raised by T101389. Example usage & output: {P3225} Reviewed By: brecht Ref D16111
2022-10-04Cleanup: remove unnecessary includes from sculpt_paintCampbell Barton
2022-10-04Cleanup: formatCampbell Barton
2022-10-04Cleanup: undeclared function warningCampbell Barton
2022-10-04Cleanup: correct argument size for plane in planeProjectionCampbell Barton
2022-10-04Sculpt: Visibility bugfixesJoseph Eagar
* Unhide all is no longer part of face_set_change_visibility. * Implemented a few visibility API methods for PBVH_BMESH * Fixed bug with unhide all not freeing all multires grid_hidden bitmaps.
2022-10-04Sculpt: implement Reveal All for PBVH_BMESHJoseph Eagar
2022-10-04Cleanup: Fix sign conversion warning in BMesh logHans Goudey
2022-10-04Cleanup: replace UNUSED macro with commented args in C++ codeHans Goudey
This is the conventional way of dealing with unused arguments in C++, since it works on all compilers. Regex find and replace: `UNUSED\((\w+)\)` -> `/*$1*/`
2022-10-04Sculpt: Fix T101430: Blank stroke undo steps corrupt dyntopoJoseph Eagar
Blank brush strokes never have an oppurtunity to initialize a sculpt undo step, which results in blank global undo steps. These confuse DynTopo's internal BMLog undo stack. Note: I tried having the stroke operator return OPERATOR_CANCELLED, but this didn't prevent the undo push (which is done automatically due to the presence of OPTYPE_UNDO in the operator flags). I might investigate removing the flag, but that might cause other problems.
2022-10-04Sculpt: Add debug code to print sculpt undo stack.Joseph Eagar
2022-10-04Geometry Nodes: Add index input to Edge Vertices nodeHans Goudey
Previously the edge index was always determined by the field context, and the node didn't work when the context was in any other domain. Adding an index input makes it work much more nicely with the other topology nodes. It's now in the topology submenu too. I also reimplemented the edge positions input to use the field at index node internally. That will probably make it slower for now, but we need to optimize that to do nothing in some special cases anyway. Differential Revision: https://developer.blender.org/D16105
2022-10-04Fix: Incorrect field status in offset point in curve nodeHans Goudey
The input supports fields, the outputs are fields only if either of the inputs are fields. Also, .hide_value() is redundant for implicit fields.
2022-10-04Geometry Nodes: Rename Control Point Neighbors NodeHans Goudey
Rename the node to "Offset Point in Curve" Since this was committed, more mesh and curve topology nodes have been committed with a different naming scheme (482d431bb6735e82069). Change the name of this node to match "Offset Corner in Face". Because the node was only added recently, it's a full rename, including the ID, so forward compatibility is broken.
2022-10-04Geometry Nodes: Change order of outputs in topology nodesHans Goudey
It's a bit more natural if the "Total" output come second, and it's also consistent with the Accumulate Field node.
2022-10-03Geometry Nodes: Set Curve NormalJohnny Matthews
This node allows for curves to have their evaluated normal mode changed between MINIMUM_TWIST and Z_UP. A selection input allows for choosing which spline in the curves object will be affected. Differential Revision: D16118
2022-10-03Cycles: add option to bake specular from active camera viewpointPhoenix Katsch
Previously it would bake viewed from above the surface. The new option can be useful when the baked result is meant to be viewed from a fixed viewpoint or with limited camera motion. Some effort is made to give a continuous reflection on parts of the surface invisible to the camera, but this is necessarily only a rough approximation. Differential Revision: https://developer.blender.org/D15921
2022-10-03Cleanup: fix source comment/documentation typosBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D16071
2022-10-03Fix OpenEXR saving still outputting alpha when using RGB instead of RGBA modeBrecht Van Lommel
Contributed by linhsu0723. Differential Revision: https://developer.blender.org/D15979
2022-10-03Images: remove option to choose between BW/RGB/RGBA for multilayer EXR saveBrecht Van Lommel
This was not properly respected, and in general with multiple passes and layers it's unclear what this should do exactly without breaking some render passes. Better to keep this image format for raw unmodified render results.
2022-10-03Image: improve Save As Render tooltip, hide option when saving render resultBrecht Van Lommel
2022-10-03Cleanup: rename IMA_CHAN_FLAG_ALPHA to IMA_CHAN_FLAG_RGBA to match meaningBrecht Van Lommel
2022-10-03Fix: crash when linked geometry node group is missingJacques Lucke
2022-10-03Fix T101510: Incorrect context for running data unlink from template IDJulian Eisel
There was already a fix for this, but it got broken again with c973d333da31.
2022-10-03Attribute Node: access geometry node instance attributes.Alexander Gavrilov
The Instancer mode of the node is intended for varying material behavior between instances. Since Geometry Nodes support arbitrary named instance attributes, this mode should include them in lookup. To implement this it is sufficient to store references to Geometry Node data in DupliObject, and check it during dupli attribute lookup. In order to reduce the memory usage of DupliObject, only 4 array entries are allocated, even though the current dupli recursion stack limit is 8. This assumes that not every entry would be associated with a GeometrySet instance. Hopefully, soon the whole system will be rewritten to remove the hard limits altogether. Differential Revision: https://developer.blender.org/D16114
2022-10-03Cleanup: remove unnecessary bracesJacques Lucke
2022-10-03Geometry Nodes: new Sample UV Surface nodeJacques Lucke
This node allows sampling an attribute on a mesh surface based on a UV coordinate. Internally, this has to do a "reverse uv lookup", i.e. the node has to find the polygon that corresponds to the uv coordinate. Therefore, the uv map of the mesh should not have overlapping faces. Differential Revision: https://developer.blender.org/D15440
2022-10-03Geometry Nodes: set viewer overlay opacity default to 1Jacques Lucke
This value worked better for artists.
2022-10-03Fix T101564: GPencil: Selecting imprecise if transforms are animatedAntonio Vazquez
The check was doing with the original point and must be the evaluated point.
2022-10-03Fix T101548: GPencil new lines in Multiframe editing appear as OnionAntonio Vazquez
The problem was the eval data update only occurs for the actual frame and in this case must be for all frames.