January 15, 2021, 00:27 (GMT) |
Nla: Rename NlaEvalChannel->valid to domain For term consistency with usage. The clarity is more for consistency with the nla domain() processing function names and the core struct member name it stores the results in, "valid". The name "domain", which implies a function can operate on it, seems more natural than "valid", which implies something is wrong if false. No functional changes. Reviewed by: sybren Differential Revision: https://developer.blender.org/D9692 |
January 15, 2021, 00:04 (GMT) |
NLA: Redundant NlaEvalChannel Valid Mask Write The field will already be properly written to in (anim_sys.c) nla_eval_domain_action(). It's easier to understand the property's usage after removing the redundancy. No functional changes. Reviewed by: ChrisLend, sybren Differential Revision: https://developer.blender.org/D9689 |
January 14, 2021, 23:47 (GMT) |
Nla Refactor: is_fcurve_evaluatable() No functional changes. Future patches {D8867} {D8296} make use of it. Reviewed by: sybren, ChrisLend Differential Revision: https://developer.blender.org/D9691 |
January 14, 2021, 23:25 (GMT) |
Nla Refactor: Split animsys_evaluate_nla() No intended functional changes. Refactors animsys_evaluate_nla() into 2 versions: animsys_evaluate_nla_for_keyframing(), animsys_evaluate_nla_for_flush() to make it clear what data is being calculated and why. Dummy strip creation has been refactored to two separate functions, animsys_create_tweak_strip() and animsys_create_action_track_strip(). Both are evaluated differently from other strips and eachother. There's no need to interweave them. A future patch D8296, generally requires both strips. ___ XXX anim_sys.c) nlatrack_find_tweaked() is a temporary work around. If anyone has any insight into this problem, help is appreciated. Reviewed by: sybren Differential Revision: https://developer.blender.org/D9696 |
January 14, 2021, 22:49 (GMT) |
UI: Draw socket type colors on the left in group sockets list Previously the colors were on the right for outputs, but this is now unecessary because of the organization in separate panels after rBb1d1a58c77fb1658. |
January 14, 2021, 21:50 (GMT) |
Fix T81533: NLA Properly Draw FModifiers When NLA strips weren't time-aligned with the underlying action, then fcurve modifiers would not be drawn anchored to the strip. Fmodifiers were evaluating properly, they just weren't drawn with the proper offset and scale. To fix it in this specific case, I've chosen to undo the keyframe remapping then remap the draw-evaluation-time from scene time to fcurve time. Afterward, I redo the keyframe remapping so the controls are properly drawn. The Envelope fmodifier has special drawing code which was fixed too. In this case, no mapping at all was happening. The solution was similar, to remap the envelope control points from fcurve time to scene time. |
January 14, 2021, 21:31 (GMT) |
GPencil: Limit zoom level |
January 14, 2021, 21:31 (GMT) |
GPencil: Calculate Zoom level base on strokes It uses the stroke bounding box (2D) to determine if the stroke fit in the window. |
January 14, 2021, 21:31 (GMT) |
GPencil: Basic Fill outside viewport |
January 14, 2021, 21:31 (GMT) |
Merge branch 'master' into temp-gpencil-interpolate |
January 14, 2021, 21:31 (GMT) |
Merge branch 'master' into greasepencil-object |
January 14, 2021, 21:25 (GMT) |
Gpencil Noise - Add noise offset parameter This patch adds a noise offset option to the grease pencil noise modifier. It allows the user to animate the noise along the length of the stroke to create movement that is currently not possible. It works by adding an offset to the noise table and adding the remaining floating point value to the noise table sampling. Reviewed By: #grease_pencil Differential Revision: https://developer.blender.org/D10021 |
January 14, 2021, 21:03 (GMT) |
Use mmap() IO for reading uncompressed .blends Instead of submitting tons of tiny IO syscalls, we can speed things up significantly by `mmap`ing the .blend file into virtual memory and directly accessing it. In my local testing, this speeds up loading the Dweebs file with all its linked files from 19sec to 10sec (on Linux). As far as I can see, this should be supported on Linux, OSX and BSD. For Windows, a second code path uses `CreateFileMapping` and `MapViewOfFile` to achieve the same result. Reviewed By: mont29, brecht Differential Revision: https://developer.blender.org/D8246 |
January 14, 2021, 20:28 (GMT) |
Fix building with and without WITH_LINEART |
January 14, 2021, 20:13 (GMT) |
Fix T81533: NLA Properly Draw FModifiers When NLA strips weren't time-aligned with the underlying action, then fcurve modifiers would not be drawn anchored to the strip. Fmodifiers were evaluating properly, they just weren't drawn with the proper offset and scale. To fix it in this specific case, I've chosen to undo the keyframe remapping then remap the draw-evaluation-time from scene time to fcurve time. Afterward, I redo the keyframe remapping so the controls are properly drawn. The Envelope fmodifier has special drawing code which was fixed too. In this case, no mapping at all was happening. The solution was similar, to remap the envelope control points from fcurve time to scene time. |
January 14, 2021, 17:11 (GMT) |
Geometry Nodes: support accessing UV layers with attribute system Note that uv layers still can't be accessed with nodes, because those only access attributes on the point domain currently, while uv data is stored per corner. Implicit domain conversion hasn't been implemented yet. |
January 14, 2021, 17:02 (GMT) |
Geometry Nodes: add implicit conversions for float2 and others Some of these conversions are arbitrary to some degree. However, the user experience is better when at least something happens when converting between types, instead of just getting zeros. I left out a few conversions that I wasn't sure about yet. I also added conversions for float2. |
January 14, 2021, 16:56 (GMT) |
Merge branch 'master' into sculpt-dev |
January 14, 2021, 16:37 (GMT) |
Fix automated tests when building with GCC and march=native When building with more aggressive optimization flags, GCC will add FMA (Fused Multiply Add) instructions that will slightly alter the floating point operation results. This causes some automated tests to fail in blender. In clang and the intel compiler ffp-contract is set to off per default it seems from my research. (They do not have the exact same setting, but the default seems to match the off behavior) Reviewed By: Brecht Differential Revision: https://developer.blender.org/D9047 |
January 14, 2021, 16:32 (GMT) |
Fix automated tests when building with GCC and march=native When building with more aggressive optimization flags, GCC will add FMA (Fused Multiply Add) instructions that will slightly alter the floating point operation results. This causes some automated tests to fail in blender. In clang and the intel compiler ffp-contract is set to off per default it seems from my research. (They do not have the exact same setting, but the default seems to match the off behavior) Reviewed By: Brecht Differential Revision: https://developer.blender.org/D9047 |
|
|
|


Master Commits
MiikaHweb | 2003-2021