Download

c++ GLevelEditorModeTools().IsModeActive(FBuiltinEditorModes::EM_MeshPaint) always returns false

bool meshpaint_active = GLevelEditorModeTools().IsModeActive(FBuiltinEditorModes::EM_MeshPaint);
seem to return always false even when MeshPaint mode is active in the Editor.

Any solutions / work arounds?