Blender Git Commit Log
Git Commits -> Revision 47b8baa
Revision 47b8baa by Jacques Lucke (master) November 10, 2021, 12:38 (GMT) |
Fix T92864: curve object does not sync correctly in cycles The issue was that the `object_is_geometry` method was used in two different contexts that expected the function to behave differently. So a recent change that fixed `object_is_geometry` for one context, broke it for the other context. The two contexts are: * Check if a "real" object can contain a geometry to check if it has to be tagged for sync after an update. * Check if an object/instance actually is a geometry that cycles can work with. I created a new `object_can_have_geometry` method for the first use case, instead of trying to adapt the existing object_is_geometry method to serve both uses. Additionally, I changed it so that a BObjectInfo is passed into `object_is_geometry` to make it more explicit when this method is supposed to be used. Differential Revision: https://developer.blender.org/D13135 |
Commit Details:
Full Hash: 47b8baa5c4e5b713d33e3925df9d55b882ae2a27
Parent Commit: aa2f6e5
Lines Changed: +28, -9