Fix T58913 Won't focus on Grease Pencil
authorAntonioya <blendergit@gmail.com>
Fri, 7 Dec 2018 09:42:14 +0000 (10:42 +0100)
committerAntonioya <blendergit@gmail.com>
Fri, 7 Dec 2018 09:42:14 +0000 (10:42 +0100)
commit20261a7581df8b2f06f48366e37e4b94ba9b3719
tree76f4f7a6072f84abf64aab11ad3d1601551a9e34
parent32aefb6fbaa6478fec603e818adf0afb7646273c
Fix T58913 Won't focus on Grease Pencil

When the datablock was empty, the center was not calculated. Now it uses the object location.
source/blender/editors/space_view3d/view3d_edit.c