Object Modes: stay in object mode when setting active

When activating an object from the 3D view or outliner,
keep the newly selected object in object mode.
This commit is contained in:
2018-05-30 15:24:45 +02:00
parent 5954a5c465
commit 38957c1838
3 changed files with 41 additions and 16 deletions

View File

@@ -277,4 +277,7 @@ void ED_object_facemap_face_remove(struct Object *ob, struct bFaceMap *fmap, int
}
#endif
/* Don't allow switching object-modes when selecting objects. */
#define USE_OBJECT_MODE_STRICT
#endif /* __ED_OBJECT_H__ */