[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43124] trunk/blender/source/blender/ editors/space_view3d/view3d_snap.c: Camera tracking: fixed snap cursor to selection operator when witness camera is active

Sergey Sharybin sergey.vfx at gmail.com
Wed Jan 4 12:20:59 CET 2012


Revision: 43124
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43124
Author:   nazgul
Date:     2012-01-04 11:20:50 +0000 (Wed, 04 Jan 2012)
Log Message:
-----------
Camera tracking: fixed snap cursor to selection operator when witness camera is active

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_view3d/view3d_snap.c

Modified: trunk/blender/source/blender/editors/space_view3d/view3d_snap.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/view3d_snap.c	2012-01-04 09:42:42 UTC (rev 43123)
+++ trunk/blender/source/blender/editors/space_view3d/view3d_snap.c	2012-01-04 11:20:50 UTC (rev 43124)
@@ -768,8 +768,7 @@
 
 	tracking= &clip->tracking;
 
-	if(scene->camera)
-		copy_m4_m4(cammat, scene->camera->obmat);
+	copy_m4_m4(cammat, ob->obmat);
 
 	BKE_get_tracking_mat(scene, ob, mat);
 



More information about the Bf-blender-cvs mailing list