[Bf-blender-cvs] [06df05a35b1] blender2.8: Merge branch 'master' into blender2.8

Brecht Van Lommel noreply at git.blender.org
Fri Nov 30 12:30:36 CET 2018


Commit: 06df05a35b1f205151c35089630c3256cf5db7fb
Author: Brecht Van Lommel
Date:   Fri Nov 30 12:16:19 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB06df05a35b1f205151c35089630c3256cf5db7fb

Merge branch 'master' into blender2.8

===================================================================



===================================================================

diff --cc source/blender/editors/space_view3d/view3d_edit.c
index abd607a4f19,679498ab16d..ae093b2f9e2
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@@ -412,7 -402,7 +412,7 @@@ static void viewops_data_create
  
  	/* set the view from the camera, if view locking is enabled.
  	 * we may want to make this optional but for now its needed always */
- 	ED_view3d_camera_lock_init_ex(depsgraph, vod->v3d, vod->rv3d, false);
 -	ED_view3d_camera_lock_init(vod->v3d, vod->rv3d);
++	ED_view3d_camera_lock_init(depsgraph, vod->v3d, vod->rv3d);
  
  	vod->init.dist = rv3d->dist;
  	vod->init.camzoom = rv3d->camzoom;
diff --cc source/blender/editors/space_view3d/view3d_utils.c
index add84655682,68582644f34..d20dfa10923
--- a/source/blender/editors/space_view3d/view3d_utils.c
+++ b/source/blender/editors/space_view3d/view3d_utils.c
@@@ -486,9 -458,9 +486,9 @@@ void ED_view3d_camera_lock_init_ex(cons
  	}
  }
  
 -void ED_view3d_camera_lock_init(View3D *v3d, RegionView3D *rv3d)
 +void ED_view3d_camera_lock_init(const Depsgraph *depsgraph, View3D *v3d, RegionView3D *rv3d)
  {
- 	ED_view3d_camera_lock_init_ex(depsgraph, v3d, rv3d, false);
 -	ED_view3d_camera_lock_init_ex(v3d, rv3d, true);
++	ED_view3d_camera_lock_init_ex(depsgraph, v3d, rv3d, true);
  }
  
  /**
diff --cc source/blender/editors/space_view3d/view3d_view.c
index 4a637443a8d,92f226f72de..98ae57e9c42
--- a/source/blender/editors/space_view3d/view3d_view.c
+++ b/source/blender/editors/space_view3d/view3d_view.c
@@@ -154,7 -156,7 +154,7 @@@ void ED_view3d_smooth_view_ex
  	 * we allow camera option locking to initialize the view settings from the camera.
  	 */
  	if (sview->camera == NULL && sview->camera_old == NULL) {
- 		ED_view3d_camera_lock_init_ex(depsgraph, v3d, rv3d, true);
 -		ED_view3d_camera_lock_init(v3d, rv3d);
++		ED_view3d_camera_lock_init(depsgraph, v3d, rv3d);
  	}
  
  	/* store the options we want to end with */



More information about the Bf-blender-cvs mailing list