Page MenuHome

Fix dereferencing of NULL in sculpt_no_multires_poll when no active object exists

Authored by Robert Guetzkow (rjg) on Tue, Mar 17, 11:57 AM.



This patch fixes T74838 where Blender would crash when the operator search is used while no active object exists. The cause of the issue is an attempt to dereference ob when it is NULL. Therefore this patch checks the return value of SCULPT_mode_poll() first, to ensure that ob isn't NULL.

Diff Detail

rB Blender