minor change for sculpt undo, was getting the derived-mesh before calling sculpt_upda...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 26 Sep 2012 22:09:56 +0000 (22:09 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 26 Sep 2012 22:09:56 +0000 (22:09 +0000)
commitb6ac10f42a50143b9cd3fa2047d2cde7f1d9a8ce
tree4b13d0a5b02194c0c59e794b9404261747afec9f
parent8a51d235e608dc45c30338aaaa74f925c185c73a
minor change for sculpt undo, was getting the derived-mesh before calling sculpt_update_mesh_elements().
also add NULL check for BKE_key_from_object(), to avoid unlikely but possible NULL pointer dereference.
source/blender/editors/sculpt_paint/sculpt_undo.c