Skip to content

Commit

Permalink
#23 wip 17
Browse files Browse the repository at this point in the history
  • Loading branch information
liorbenhorin committed Jun 15, 2016
1 parent 42249b4 commit ee81e3f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -4085,6 +4085,8 @@ def collect_component(self):
if pipe_file:
component = pipeline_component(path = pipe_file, project = self.project, settings = self.settings)


# detarmain wheter the scenes is a shot or a component
if component.type == "shot":
component = pipeline_shot(path = pipe_file, project = self.project, settings = self.settings)
component_name = component.shot_name
Expand Down Expand Up @@ -4156,6 +4158,10 @@ def collect_component(self):
if pipe_file:
component = pipeline_component(path = pipe_file, project = self.project, settings = self.settings)

# detarmain wheter the scenes is a shot or a component
if component.type == "shot":
component = pipeline_shot(path = pipe_file, project = self.project, settings = self.settings)

pipe_file_copy = os.path.join(collect_path,files.reletive_path(self.settings.current_project_path,pipe_file))
files.assure_path_exists(pipe_file_copy)
files.assure_folder_exists(os.path.join(os.path.dirname(pipe_file_copy),"masters"))
Expand Down

0 comments on commit ee81e3f

Please sign in to comment.