Use OBEDIT_FROM_VIEW_LAYER macro for curve & fonts (matching edit-mesh). While the difference isn't significant at the moment, there are no reason these should be different between undo systems.
Use OBEDIT_FROM_VIEW_LAYER macro for curve & fonts (matching edit-mesh). While the difference isn't significant at the moment, there are no reason these should be different between undo systems.