May 11, 2021, 11:16 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-snap-dragging |
Revision 7455052 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, temp-pose-flipping-fix-attempt) May 11, 2021, 09:39 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib |
May 6, 2021, 19:45 (GMT) |
Snap based on the bounding box when dropping, not origin This makes the dropping use the object's bounding box for snapping, so that it matches the bounding box we draw while dragging. Not that this may have to be optional in future, there may be valid cases to use the origin instead of the bounding box for snapping. |
May 6, 2021, 12:34 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-snap-dragging |
Revision 81e173a by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) May 6, 2021, 10:24 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib |
May 4, 2021, 15:33 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-snap-dragging |
May 4, 2021, 14:56 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-snap-dragging |
Revision 8a6f926 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) May 4, 2021, 14:26 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib |
Revision a85c0ab by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) May 3, 2021, 11:30 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-poselib |
Revision ca23d15 by Sybren A. Stüvel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) May 3, 2021, 10:21 (GMT) |
UI List: Fix segfault in unit tests Fix `NULL` pointer deference in `ui_list_find_mouse_over()`. |
April 30, 2021, 18:35 (GMT) |
Fix crash when dragging emtpy into the 3D View |
April 30, 2021, 10:43 (GMT) |
Merge branch 'master' into asset-browser-snap-dragging |
Revision 13705c7 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 30, 2021, 10:41 (GMT) |
Merge branch 'master' into asset-browser-poselib |
April 30, 2021, 00:25 (GMT) |
Show a bounding box for object assets while dragging Note: Object assets have to be saved with this commit or later for the bounding box to appear. Basic idea is: * Store the bounding box (and related info) in the asset metadata. * The bounding box has to be updated and written to custom properties of the asset metadata. * There's a new `AssetTypeInfo` struct, to set asset type dependent callbacks or data (in future). ID types can conveniently define asset-type info as part of their `IDTypeInfo` definition. * The asset-type info can contain a custom callback to be executed before the asset is saved. This is how the object can write its custom asset metadata. * The dropbox can also register a callback to set properties for its gizmo-group now. Used to copy * The "placement plane" gizmo is scaled to the bounding box size too. * For local ID assets, the data should be accessed directly, so the file doesn't have to be saved to get the bounding box updated. Also: * Added proper gizmo group custom property support to C (was already supported in Python, or in C with some hacking). * Store the basis matrix (world matrix without parent or constraint transforms) in the custom asset metadata. Used by the placement gizmo to scale the bounding box to match the result visually when dropping. * The preview image is disabled while dragging objects over the 3D view. * The bounding box always snaps with its lower edge (Z axis) to the surface. Snapping with other axes can be added still. * However, actually dropping the object still uses the origin, so the drop position may not match what the bounding box indicated. This could be changed to also use the bounding box instead. Or the drawn bounding box should be translated to respect the origin position. |
April 29, 2021, 16:50 (GMT) |
Merge remote-tracking branch 'origin/master' into asset-browser-snap-dragging |
Revision d8118c2 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 29, 2021, 16:28 (GMT) |
Assets: Keep assets active after renaming, ensure they are scrolled into view See https://developer.blender.org/D11119, just committing this to the branch for testing already. |
Revision b0a6a38 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 29, 2021, 16:25 (GMT) |
Asset: Keep assets active after renaming, make sure they are scrolled into view I want to clean this up a bit still, but it seems to work now. Also includes (to be split off): * Don't allow renaming assets from the file list for now (e.g. right-click > Rename). This doesn't work yet and I'm not sure it should even. If an asset is a local data-block it can be renamed in the sidebar. * Fix broken logic to scroll a preview into view. * Partially includes D9994. These changes were needed for this to work. Differential Revision: https://developer.blender.org/D11119 |
Revision 79a3ada by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 29, 2021, 11:57 (GMT) |
Merge branch 'master' into asset-browser-poselib |
Revision 4f8e8b6 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 29, 2021, 11:30 (GMT) |
Fix incorrect sorting in Asset View after renaming local asset Basically the same as 88400f0c03a9, but now for the asset view. |
Revision 0c4eddc by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) April 29, 2021, 11:21 (GMT) |
Merge branch 'master' into asset-browser-poselib |
|