Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-10-22 20:54:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-22 20:56:37 +0300
commitebf197724eb422eea095dd52eac8ea310f5cf758 (patch)
tree8bf673b3be5515f2053378ba2a540e3564ec20c1 /source/blender/editors/space_view3d/drawobject.c
parent47b1279762dd07cdef4570e077459497f48e4fb8 (diff)
Version Bump: 2.76.2, deprecate values
- RegionView3D.view RV3D_VIEW_PERSPORTHO only ever set on initialization, never checked for. - Lamp.type LA_YF_PHOTON from old 2.4x yafray files. Also iniitalize movie-clip + grease-pencil theme colors.
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r--source/blender/editors/space_view3d/drawobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index 6c01bfac9c5..0e66c6ba164 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -1344,7 +1344,7 @@ static void drawlamp(View3D *v3d, RegionView3D *rv3d, Base *base,
if (is_view) {
/* skip drawing extra info */
}
- else if ((la->type == LA_SPOT) || (la->type == LA_YF_PHOTON)) {
+ else if (la->type == LA_SPOT) {
float x, y, z, z_abs;
copy_v3_fl3(lvec, 0.0f, 0.0f, 1.0f);
copy_v3_fl3(vvec, rv3d->persmat[0][2], rv3d->persmat[1][2], rv3d->persmat[2][2]);