Rename Movie to Movie Clip source for background image

This commit is contained in:
Sergey Sharybin
2011-11-30 05:34:32 +00:00
parent 9b2df014d2
commit 377d5232d4
3 changed files with 5 additions and 5 deletions

View File

@@ -40,14 +40,14 @@ def CLIP_set_viewport_background(context, all_screens, clip, clip_user):
bgpic = None
for x in space_v3d.background_images:
if x.source == 'MOVIE':
if x.source == 'MOVIE_CLIP':
bgpic = x
break
if not bgpic:
bgpic = space_v3d.background_images.new()
bgpic.source = 'MOVIE'
bgpic.source = 'MOVIE_CLIP'
bgpic.clip = clip
bgpic.clip_user.proxy_render_size = user.proxy_render_size
bgpic.clip_user.use_render_undistorted = True