there wasn't a good way to know if a RegionView3D was perspective or not (without...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 18 May 2011 17:52:26 +0000 (17:52 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 18 May 2011 17:52:26 +0000 (17:52 +0000)
commitf4d8be977fa657be8c3e9201fc39aebb6043e225
treee1159895273ecb4316873111b6949a189d48a3e5
parent0c41635f8590289e17237db9d7a71ad49649cf6d
there wasn't a good way to know if a RegionView3D was perspective or not (without having the View3D too and checking its camera values), added struct member 'is_persp', set with the view matrix.
source/blender/editors/include/ED_view3d.h
source/blender/editors/space_view3d/drawmesh.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/makesdna/DNA_view3d_types.h
source/blender/makesrna/intern/rna_space.c