Remove remaining qtcodecdata

This fixes a mistake in rBefd5e3c25401b43cbd7f909418835bb570db1ab3
This commit is contained in:
Aaron Carlisle 2017-09-22 17:13:46 -04:00
parent efd5e3c254
commit dc86b7a4b5
Notes: blender-bot 2023-02-14 06:35:52 +01:00
Referenced by issue #52694, Frequent crashes when toggling edit mode with subsurf
1 changed files with 0 additions and 6 deletions

View File

@ -383,12 +383,6 @@ Scene *BKE_scene_copy(Main *bmain, Scene *sce, int type)
sce_copy->r.avicodecdata->lpParms = MEM_dupallocN(sce_copy->r.avicodecdata->lpParms);
}
/* make a private copy of the qtcodecdata */
if (sce->r.qtcodecdata) {
sce_copy->r.qtcodecdata = MEM_dupallocN(sce->r.qtcodecdata);
sce_copy->r.qtcodecdata->cdParms = MEM_dupallocN(sce_copy->r.qtcodecdata->cdParms);
}
if (sce->r.ffcodecdata.properties) { /* intentionally check scen not sce. */
sce_copy->r.ffcodecdata.properties = IDP_CopyProperty(sce->r.ffcodecdata.properties);
}