Skip to content

Commit 24f9d3f

Browse files
committed
project_data: Remove unused function
1 parent ab9f8d0 commit 24f9d3f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/classes/project_data.py

-9
Original file line numberDiff line numberDiff line change
@@ -396,15 +396,6 @@ def load(self, file_path, clear_thumbnails=True):
396396
from classes.app import get_app
397397
get_app().updates.load(self._data)
398398

399-
def scale_keyframe_value(self, original_value, scale_factor):
400-
"""Scale keyframe X coordinate by some factor, except for 1 (leave that alone)"""
401-
if original_value == 1.0:
402-
# This represents the first frame of a clip (so we want to maintain that)
403-
return original_value
404-
else:
405-
# Round to nearest INT
406-
return round(original_value * scale_factor)
407-
408399
def rescale_keyframes(self, scale_factor):
409400
"""Adjust all keyframe coordinates from previous FPS to new FPS (using a scale factor)
410401
and return scaled project data without modifing the current project."""

0 commit comments

Comments
 (0)