Skip to content

Commit

Permalink
Update method name to get_random_clip_color for clarity.
Browse files Browse the repository at this point in the history
- Renamed method from get_clip_color to get_random_clip_color for better understanding.
  • Loading branch information
jakubjezek001 committed Sep 18, 2024
1 parent 4a57cd4 commit c860167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/ayon_resolve/plugins/load/load_editorial_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def load(self, context, name, namespace, data):
)

# set clip color based on random choice
clip_color = self.get_clip_color()
clip_color = self.get_random_clip_color()
timeline_media_pool_item.SetClipColor(clip_color)

# TODO: there are two ways to import timeline resources (representation
Expand Down Expand Up @@ -132,7 +132,7 @@ def _get_container_data(

return data

def get_clip_color(self):
def get_random_clip_color(self):
"""Return clip color."""

# list of all available davinci resolve clip colors
Expand Down

0 comments on commit c860167

Please sign in to comment.