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. |
November 2, 2021, 11:00 (GMT) |
Removed compilation warning nullptr check in image engine. |
November 2, 2021, 10:54 (GMT) |
Fix T89164: Sculpt "Smooth" brush crash with zero pressure Caused by {rB3e5431fdf439} Issue is that sculpting could start with using `SCULPT_smooth` and (because of the Pressure sensitivity dropping to zero) code would switch to `SCULPT_enhance_details_brush` at strength zero. Issue with this though is that this can be in the middle or end of a stroke and the necessary `ss->cache->detail_directions` are only initialized for the first brush step (see `SCULPT_stroke_is_first_brush_step` in `SCULPT_enhance_details_brush`). With these missing, it could only go downhill from there. Suggest to prevent the "mode-flip" from `SCULPT_smooth` to `SCULPT_enhance_details_brush` (happening solely because of pressure strength) by changing the condition. Now do `SCULPT_enhance_details_brush` only if strength is **below** zero and `SCULPT_smooth` else (flipping from enhance_details to regular smooth is fine). If inverting the brush in the middle of the stroke will be supported at some point, the codepath of `smooth` would have to inform the cache that invert changed and detail_directions would have to be initialized then (even if not at the start of the stroke). Maniphest Tasks: T89164 Differential Revision: https://developer.blender.org/D12676 |
November 2, 2021, 10:35 (GMT) |
Fix T91237: Wrong Editors could sync animation 'Visible Range' This was reported for the Outliner. It was possible to set 'show_locked_time' on any space (via python, not sure if there are other ways to achieve this). Navigating in an animation editor obviously ruined the layout in certain Editors that are not made for this. Now restrict syncing to editors that support it well (the ones that have this setting exposed in their menus) and prevent setting this in RNA. Maniphest Tasks: T91237 Differential Revision: https://developer.blender.org/D12512 |
November 2, 2021, 10:32 (GMT) |
VSE: Implement sanity check for files with more channels than supported This is a follow up to 8fecc2a8525467ee2fbbaae16ddbbc10b3050d46. This makes sure future .blend files that have more channels than the limit won't break Blender. For LTS this happens silently, without warning the users. This is part of https://developer.blender.org/D12645 Differential Revision: https://developer.blender.org/D12648 |
November 2, 2021, 10:17 (GMT) |
Merge branch 'blender-v3.0-release' |
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 |
November 2, 2021, 10:16 (GMT) |
Fix T91728: Cycles render artifacts with motion blur and object attributes |
November 2, 2021, 10:09 (GMT) |
Merge branch 'blender-v3.0-release' |
November 2, 2021, 10:07 (GMT) |
Fix typo in Cycles PMJ enum define. Reported by Raimund58 in the chat, thanks! |
November 2, 2021, 09:58 (GMT) |
Fix T88386: Continuous Grab occasionally jumping on Arm64 MacOS During the processing of a continuous drag event, other mouse move events may be in the queue waiting to be processed. But when a mouse wrapping happens, these waiting mouse move events become out of date as they report a mouse position prior to wrapping. The current code ignores these events by comparing their `timestamp` to the time recorded in the last mouse wrapping. The bug happens because the computed value in `mach_absolute_time() * 1e-9` for some reason is incompatible with the value of `[event timestamp]`. Since macOS 10.6, we have a new way to get the amount of time the system has been awake. `[[NSProcessInfo processInfo] systemUptime]`. Using this updated method fixed the problem. Differential Revision: https://developer.blender.org/D12202 |
November 2, 2021, 08:57 (GMT) |
Merge branch 'blender-v3.0-release' |
November 2, 2021, 08:52 (GMT) |
Merge branch 'blender-v3.0-release' |
November 2, 2021, 08:50 (GMT) |
Cleanup: clang-tidy |
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 |
November 2, 2021, 08:35 (GMT) |
UI: always show the cursor while transforming the cursor |
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). |
November 2, 2021, 05:08 (GMT) |
Merge branch 'blender-v3.0-release' |
November 2, 2021, 05:08 (GMT) |
Merge branch 'blender-v3.0-release' |
November 2, 2021, 05:08 (GMT) |
Merge branch 'blender-v3.0-release' |
|
|
|


Master Commits
MiikaHweb | 2003-2021