Drop dead model code, and let edits that select nothing return nothing
Model::uid_get, the UidIndex element types, Playback's accumulator, ID_NONE and track_frames_count_get were unused. Fourteen edit functions only ever returned an empty selection, so they return void.
This commit is contained in:
1 parent
c44c7fe8df
commit
544ab3cac9
16 files changed
+79
-117
No files matched your search
@@ -156,7 +156,6 @@ void AnimationPreview::tick(Manager& manager, Settings& settings, float deltaSec
|
||||
{
|
||||
playback.isPlaying = false;
|
||||
playback.isFinished = false;
|
||||
playback.timing_reset();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -237,7 +236,6 @@ void AnimationPreview::recording_start(Manager& manager, Settings& settings, Doc
|
||||
return recording_stop(manager, document);
|
||||
}
|
||||
document.playback.isPlaying = true;
|
||||
document.playback.timing_reset();
|
||||
document.playback.time = recorder.time_get();
|
||||
document.frameTime = document.playback.time;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user