Revision efcf36f by Hans Goudey November 2, 2021, 12:59 (GMT) |
Fix T92532: Missing null checks in IDPropertyManager.update_from Calling it with a None argument, or no arguments, or with a property that is missing UI data for some reason would fail. There is no particular reason why ensuring those things don't happen is helpful, so just add null checks for safety. Differential Revision: https://developer.blender.org/D13024 |
Revision 0daf429 by Campbell Barton November 2, 2021, 12:38 (GMT) |
Merge branch 'blender-v3.0-release' |
Revision 2f0f08b by Campbell Barton November 2, 2021, 12:36 (GMT) |
Fix T92733: Error moving a completely locked bone |
Revision b7dc667 by Jacques Lucke November 2, 2021, 11:31 (GMT) |
Merge branch 'blender-v3.0-release' |
Revision b1bf884 by Jacques Lucke November 2, 2021, 11:30 (GMT) |
Images: fix error in previous refactor Some compositor tests (e.g. `compositor_color_test`) broke because of rB0c3b215e7d5456878b155d13440864f49ad1f230. The issue was a heap-use-after-free bug caused by a missing call to `MEM_CacheLimiter_unmanage`. |
Revision 7a4ee2f by Campbell Barton November 2, 2021, 11:06 (GMT) |
Merge branch 'blender-v3.0-release' |
Revision 9bd97e6 by Campbell Barton November 2, 2021, 11:01 (GMT) |
Fix T92464: Operators fail after opening blend files via an operator Operators such as setting the object mode failed after calling WM_OT_open_mainfile from Python. Keep the window after loading a file outside the main event loop. |
Revision 52f4a90 by Jeroen Bakker November 2, 2021, 11:00 (GMT) |
Removed compilation warning nullptr check in image engine. |
Revision ffd3dd6 by Jacques Lucke November 2, 2021, 10:17 (GMT) |
Merge branch 'blender-v3.0-release' |
Revision 0c3b215 by Jacques Lucke November 2, 2021, 10:17 (GMT) |
Images: refactor how failed image load attempts are remembered Previously, `ImageTile->ok` and `ImageUser->ok` were used to indicate whether an image failed to load. There were three possible values which (probably) had the following meanings: * `0`: There was an error while loading the image. Don't try to load again. * `1`: Default value. Try to load the image. * `2`: The image was loaded successfully. This image-wide flag did not make sense unfortunately, because loading may work for some frames of an image sequence but not for others. Remember than an image data block can also contain a movie. The purpose of the `->ok` flag was to serve as an optimization to avoid trying to load a file over and over again when there is an error (e.g. the file does not exist or is invalid). To get the optimization back, the patch is changing `MovieCache` so that it can also cache failed load attempts. As a consequence, `ibuf` is allowed to be `NULL` in a few more places. I added the appropriate null checks. This also solves issues when image sequences are used with the Image Texture node in Geometry nodes (also see D12827). Differential Revision: https://developer.blender.org/D12957 |
Revision a2f5a10 by Thomas Dinges November 2, 2021, 10:09 (GMT) |
Merge branch 'blender-v3.0-release' |
Revision 2b3becf by Thomas Dinges November 2, 2021, 10:07 (GMT) |
Fix typo in Cycles PMJ enum define. Reported by Raimund58 in the chat, thanks! |
Revision 223f2b2 by Philipp Oeser November 2, 2021, 08:57 (GMT) |
Merge branch 'blender-v3.0-release' |
Revision 21e1680 by Campbell Barton November 2, 2021, 08:52 (GMT) |
Merge branch 'blender-v3.0-release' |
Revision 8ca6e51 by Campbell Barton November 2, 2021, 08:50 (GMT) |
Cleanup: clang-tidy |
Revision a5b996d by Philipp Oeser November 2, 2021, 08:42 (GMT) |
Fix T92608: Image Editor does not display stereo images Caused by own {rB5aa3167e48b2}. Related commit: {rBebaa3fcedd23}. For stereo renders, `BKE_image_is_multilayer` is true, however we seem to get to down to `space_image_gpu_texture_get` [where this is called] from `IMAGE_cache_init` with a NULL Image->RenderResult. So what then happens is that `BKE_image_multilayer_index` is called and even though it has an appropriate codepath for stereo, it earlies out and does not set multi_index correctly. Still a bit puzzled why RenderResult is NULL for a render, but since other places also check for a valid RenderResult before going down the _multilayer_ route (and doing _multiview_ instead), now do the same thing, BKE_image_multiview_index is now called in these cases (and seems to behave correctly, checked with layers and passes and all seems to display correctly, either in stereo or choosing individual eyes). thx @jbakker & @brecht for double-checking. Maniphest Tasks: T92608 Differential Revision: https://developer.blender.org/D13063 |
Revision 69a7734 by Campbell Barton November 2, 2021, 08:35 (GMT) |
UI: always show the cursor while transforming the cursor |
Revision 47d1226 by Jeroen Bakker November 2, 2021, 08:16 (GMT) |
Cleanup: Change image engine to CPP. Added namespace blender::draw::image_engine. Code is still C-a-like. Only changed the obvious code style to CPP (structs, nullptr, casts). |
Revision 9cc05fe by Campbell Barton November 2, 2021, 05:08 (GMT) |
Merge branch 'blender-v3.0-release' |
Revision af9e040 by Campbell Barton November 2, 2021, 05:08 (GMT) |
Merge branch 'blender-v3.0-release' |
|