GP: Fix problem with mode opening 2D Animation template
authorAntonioya <blendergit@gmail.com>
Thu, 20 Sep 2018 11:47:59 +0000 (13:47 +0200)
committerAntonioya <blendergit@gmail.com>
Thu, 20 Sep 2018 11:47:59 +0000 (13:47 +0200)
commitde994d6b7b1c8789ee2797b8138c2fb115370b9c
tree552789f8a352bdb1ec28dbf321849a2d232aeeda
parent5bfcd6f303b458567870ab64fabf89713d679a78
GP: Fix problem with mode opening 2D Animation template

The grease pencil does not need a toggle of mode.

This fix also the problem when open grease pencil files that did not keep the mode saved.
source/blender/blenkernel/intern/object.c
source/blender/blenloader/intern/versioning_defaults.c
source/blender/editors/util/ed_util.c