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
@@ -301,7 +301,7 @@ void TimelineContext::item_child(const TimelineRow& row, int index)
|
||||
return value ? localize.get(BASIC_YES) : localize.get(BASIC_NO);
|
||||
};
|
||||
auto visibleLabel = yesNoLabel(isVisible);
|
||||
auto framesCount = item ? track_frames_count_get(*item) : 0;
|
||||
auto framesCount = item ? (int)item->frames.size() : 0;
|
||||
|
||||
switch (type)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user