Fix T77913: Incorrect handling of negative-scale bit in DRWResourceHandle
Reviewers: fclem Differential Revision: https://developer.blender.org/D8103
This commit is contained in:
parent
e59712b7c8
commit
756e664e4f
Notes:
blender-bot
2023-02-14 07:08:26 +01:00
Referenced by issue #77913, Viewport Shading Color affects/crashes Blender when using Particle System Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue