Revision b9f5658 by Sybren A. Stüvel July 13, 2020, 13:09 (GMT) |
VSE: Python API, allow creation of VSE Movie strips with missing file It was already possible to create Sound and Image strips that reference non-existing files. Now it's also possible to create Movie strips referencing missing files via the Python API call `Sequences.new_movie()`. In this case, the duration of the strip will be set to 1 frame. Note that this commit does not change anything in the user interface. The Python API of the `MovieStrip` class is extended with a function `reload_if_needed()`. This function only performs disk I/O if the movie strip cannot produce frames, that is either when its filepath points to a non-existing file, or when the video sequence editor has not been shown yet (for example because it is in an inactive workspace). This allows for the following: ``` import bpy scene = bpy.context.scene vse = scene.sequence_editor_create() filepath = bpy.path.abspath('//demo.mkv') strip = vse.sequences.new_movie("movie", filepath, channel=2, frame_start=47, file_must_exist=False) strip.frame_final_end = 327 ``` This will create a new movie strip, even when `demo.mkv` does not exist. Once `demo.mkv` has appeared at the expected location, either `strip.reload_if_needed()` or `strip.filepath = strip.filepath` will load it. Differential Revision: https://developer.blender.org/D8257 Reviewed By: Sergey, ISS |
Revision 9db0c36 by Bastien Montagne July 13, 2020, 12:29 (GMT) |
LibOverride: add more polling checks to operators not supposed to work on overrides. This is long work, we are still likely missing a lot of cases... |
Revision 03c8b04 by Bastien Montagne July 13, 2020, 12:29 (GMT) |
Cleanup: remove public unused function. |
Revision 9c9eb03 by Germano Cavalcante July 13, 2020, 11:59 (GMT) |
Fix T78855: Knife tool crashes when the geometry has no face I don't see the need for a BVH Tree to have root but not have leafs. But apparently this case is possible. |
Revision f019164 by Germano Cavalcante July 13, 2020, 11:59 (GMT) |
Optimization: Use dedicated function to restore customdata Called when canceling a transform operation. |
Revision 8074a18 by Germano Cavalcante July 13, 2020, 11:58 (GMT) |
Cleanup: move unchanged condition out of loop |
Revision 7b558a2 by Germano Cavalcante July 13, 2020, 11:48 (GMT) |
Fix Extrude Manifold losing original UV |
Revision 976a0ff by Bastien Montagne July 13, 2020, 10:51 (GMT) |
RNA code cleanup: Fix wrong usages of `rna_idproperty_check()`. This function is more expansive than the simpler `rna_ensure_property()` one, and should only be used when IDProperty data is actually needed. If one only needs to ensure it has a valid PropertyRNA pointer, `rna_ensure_property()` is much more efficient. Also add compiler warnings when results of those functions are unused, this should never be the case. |
Revision f8afbb7 by Bastien Montagne July 13, 2020, 10:51 (GMT) |
RNA property management: tweak to 'is set' information. Only consider a full IDProperty as set if it actually exists in given PointerRNA data. |
Revision 0158571 by Bastien Montagne July 13, 2020, 10:51 (GMT) |
I18n utils: fix broken case when 'settings' argument is default NULL one. |
Revision 7453ff7 by Jacques Lucke July 13, 2020, 10:48 (GMT) |
Cleanup: quiet warnings by adding const in some places The warnings were introduced in rB725973485a909c2b732c5. |
Revision 7259734 by Jacques Lucke July 13, 2020, 09:27 (GMT) |
Clang Tidy: enable readability-non-const-parameter warning Clang Tidy reported a couple of false positives. I disabled those `NOLINTNEXTLINE`. Differential Revision: https://developer.blender.org/D8199 |
Revision a19584a by Jacques Lucke July 13, 2020, 08:51 (GMT) |
BLI: fix constructor regression for Vector and Array This was introduced in rB403384998a6bb5f428e15ced5. |
Revision 644a915 by Jacques Lucke July 13, 2020, 08:49 (GMT) |
BLI: don't allow mutable span of initializer list |
Revision 0718c6f by Jacques Lucke July 13, 2020, 08:40 (GMT) |
Cleanup: fix clang tidy warning The code was actually correct, but clang tidy complaint about using the Vector after it was moved from. |
Revision 91c763a by Jacques Lucke July 13, 2020, 08:34 (GMT) |
Cleanup: typo |
Revision 6dabfac by Lukas Stockner July 13, 2020, 01:08 (GMT) |
Revision 6a3c91f by Lukas Stockner July 13, 2020, 01:08 (GMT) |
Cycles: Clamp Sky Texture altitude to avoid numerical issues Differential Revision: https://developer.blender.org/D8091 |
Revision 7aacf2e by Lukas Stockner July 13, 2020, 01:08 (GMT) |
Cycles: Account for Sky Texture mapping in the sun sampling code Differential Revision: https://developer.blender.org/D8091 |
Revision 192bd26 by Lukas Stockner July 13, 2020, 01:08 (GMT) |
Cycles: Change precomputed Sky Texture mapping to prioritize the horizon Differential Revision: https://developer.blender.org/D8091 |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021