Fix T77913: Incorrect handling of negative-scale bit in DRWResourceHandle
Reviewers: fclem Differential Revision: https://developer.blender.org/D8103
This commit is contained in:
@@ -577,7 +577,7 @@ uint32_t DRW_object_resource_id_get(Object *UNUSED(ob))
|
||||
/* Handle not yet allocated. Return next handle. */
|
||||
handle = DST.resource_handle;
|
||||
}
|
||||
return handle;
|
||||
return handle & ~(1 << 31);
|
||||
}
|
||||
|
||||
static DRWResourceHandle drw_resource_handle(DRWShadingGroup *shgroup,
|
||||
|
||||
Reference in New Issue
Block a user