Revision 3fdfa07 by Michael Kowalski (temp-usd-importer-T81257-merge, usd, usd-importer-T81257-merge) March 11, 2021, 20:14 (GMT) |
USD Import: remove UsdPrimReader stage member. The UsdPrimReader class doesn't need a stage pointer as a member because the stage can implicitly be accessed through the prim itself, as long as the prim is valid. I removed the UsdPrimReader::stage_ member and updated the relevant constructors and function calls. Also, updated the various readers to construct schemas directly from the contained prim, e.g., pxr::UsdLuxRectLight rect_light(prim_) |
March 11, 2021, 19:17 (GMT) |
Merge branch 'master' into tmp-vulkan |
March 11, 2021, 19:11 (GMT) |
Attempt 2 to silence warning. |
March 11, 2021, 19:07 (GMT) |
Attempt to silence warning. |
March 11, 2021, 18:21 (GMT) |
remove debug print |
March 11, 2021, 18:20 (GMT) |
Use a structure to store the result of a cache lookup |
March 11, 2021, 18:14 (GMT) |
Merge branch 'master' into temp-gpencil-bezier-v2 |
March 11, 2021, 18:08 (GMT) |
temporary fix for reading normals |
March 11, 2021, 17:53 (GMT) |
Nodes: Fix drag link from output to already linked Multi-Input Socket This patch fixes a visual bug related to connecting an output socket to a Multi-Input Socket, that already has a link to that same output. In this case, the drag link got a new index and snapped to a new position. This path makes the drag link snap to the same position as the first link between the two sockets. Differential Revision: https://developer.blender.org/D10689 |
March 11, 2021, 17:47 (GMT) |
Fix missing UI updates, caused by own earlier commit Caused by 46aa70cb486d. RNA would send property update notifiers with the owner ID as `reference` data. Since above's commit we'd only send the notifiers to editors if the reference data address matches the space's address. So editors wouldn't get the notifiers at all. The owner ID for space properties is always the screen AFAIK. So allow notifiers with the screen as reference to be passed to editors as well, think this is reasonable to do either way. For example, steps to reproduce were: * Open Asset Browser * Mark some data-blocks of different types as assets (e.g. object & its material) * Switch between the categories in the Asset Browser. The asset list wouldn't be updated. |
March 11, 2021, 17:20 (GMT) |
Cleanup: remove unnecessary `const` from function declaration No functional changes. |
March 11, 2021, 17:17 (GMT) |
GPencil: Remove limitation to use only one Lattice modifier This limitation was necessary in older versions, but now can be removed. |
Revision 3d706bb by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 11, 2021, 17:05 (GMT) |
Do proper updates when local asset data changes Makes sure the asset list is updated and redrawn correctly an local asset data changes: Creating assets, removing assets, clearing assets, undo/redo, reading files (with and without UI), parallel reading of asset data from files, ... For redraws there now is a listener callback in the uiList type (C only) that asks the asset lists if it needs a redraw after a given notifier. For the case of asset data-block removal there is a ID remapping function in the asset list now (just tags the list for a complete re-read). File reading, undo, redo and the "Mark Asset"/"Clear Asset" operators explicitly tag asset lists showing main data as dirty (via the global asset storage). |
March 11, 2021, 16:57 (GMT) |
Fix warning from own previous commit |
March 11, 2021, 16:53 (GMT) |
Merge branch 'master' into sculpt-dev |
Revision d71b7ff by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 11, 2021, 16:50 (GMT) |
Merge branch 'master' into ui-asset-view-template |
March 11, 2021, 16:44 (GMT) |
fix missing update when modifying attributes |
March 11, 2021, 16:43 (GMT) |
UI: Avoid unnecessary redraws of unrelated editors on space changes When adding a notifier, `reference` data can be passed. The notifier system uses this to filter out listeners, for example if data of a scene changes, windows showing a different scene won't get the notifiers sent to their listeners. For the `NC_SPACE` notifiers, a number of places also passed the space as `reference`, but that wasn't used at all. The notifier would still be sent to all listeners in all windows (and the listeners didn't use it either). Causing some unnecessary updates (e.g. see ed2c4825d3e2344). With this commit, passing a space will make sure the notifier is only sent to that exact space. Some code seems to already have expected that to be the case. However there were some cases that passed the space as `reference` without reason, which would break with this commit (meaning they wouldn't redraw or update correctly). Corrected these so they don't pass the space anymore. |
March 11, 2021, 16:43 (GMT) |
Fix Asset Browser showing oudated list for changes done while browser is hidden Steps to reproduce were: * Open an Asset Browser * "Mark Asset" on some data-block * Change the Asset Browser into a different editor (not File Browser!) * "Clear Asset" on the data-block again, or mark another asset * Change back to the Asset Browser, it will show an outdated list Now the file-browser reloads local file data after spaces were changed. Note that the current notifier code doesn't limit the space-change notifiers to the affected spaces, so changing any visible space will trigger this. That's an issue to be fixed separately. |
March 11, 2021, 16:23 (GMT) |
GPencil: Fix unreported Fill fails if the stroke was tagged In some situations the strokes could be tagged before filling, so it's necessary to reset before. |
|
|
|


Master Commits
MiikaHweb | 2003-2021