Cleanup: Remove unused param
This commit is contained in:
parent
7673867360
commit
d9fc59c37c
|
@ -83,7 +83,7 @@ struct bGPDlayer *BKE_gpencil_layer_duplicate(const struct bGPDlayer *gpl_src);
|
|||
void BKE_gpencil_frame_copy_strokes(struct bGPDframe *gpf_src, struct bGPDframe *gpf_dst);
|
||||
struct bGPDstroke *BKE_gpencil_stroke_duplicate(struct bGPDstroke *gps_src);
|
||||
|
||||
void BKE_gpencil_copy_data(struct Main *bmain, struct bGPdata *gpd_dst, const struct bGPdata *gpd_src, const int flag);
|
||||
void BKE_gpencil_copy_data(struct bGPdata *gpd_dst, const struct bGPdata *gpd_src, const int flag);
|
||||
struct bGPdata *BKE_gpencil_copy(struct Main *bmain, const struct bGPdata *gpd);
|
||||
struct bGPdata *BKE_gpencil_data_duplicate(struct Main *bmain, const struct bGPdata *gpd, bool internal_copy);
|
||||
|
||||
|
|
|
@ -673,7 +673,7 @@ bGPDlayer *BKE_gpencil_layer_duplicate(const bGPDlayer *gpl_src)
|
|||
*
|
||||
* \param flag Copying options (see BKE_library.h's LIB_ID_COPY_... flags for more).
|
||||
*/
|
||||
void BKE_gpencil_copy_data(Main *UNUSED(bmain), bGPdata *gpd_dst, const bGPdata *gpd_src, const int UNUSED(flag))
|
||||
void BKE_gpencil_copy_data(bGPdata *gpd_dst, const bGPdata *gpd_src, const int UNUSED(flag))
|
||||
{
|
||||
/* cache data is not duplicated */
|
||||
gpd_dst->runtime.batch_cache_data = NULL;
|
||||
|
@ -727,7 +727,7 @@ bGPdata *BKE_gpencil_data_duplicate(Main *bmain, const bGPdata *gpd_src, bool in
|
|||
}
|
||||
|
||||
/* Copy internal data (layers, etc.) */
|
||||
BKE_gpencil_copy_data(bmain, gpd_dst, gpd_src, 0);
|
||||
BKE_gpencil_copy_data(gpd_dst, gpd_src, 0);
|
||||
|
||||
/* return new */
|
||||
return gpd_dst;
|
||||
|
|
|
@ -633,7 +633,7 @@ bool BKE_id_copy_ex(Main *bmain, const ID *id, ID **r_newid, const int flag, con
|
|||
BKE_particlesettings_copy_data(bmain, (ParticleSettings *)*r_newid, (ParticleSettings *)id, flag);
|
||||
break;
|
||||
case ID_GD:
|
||||
BKE_gpencil_copy_data(bmain, (bGPdata *)*r_newid, (bGPdata *)id, flag);
|
||||
BKE_gpencil_copy_data((bGPdata *)*r_newid, (bGPdata *)id, flag);
|
||||
break;
|
||||
case ID_MC:
|
||||
BKE_movieclip_copy_data(bmain, (MovieClip *)*r_newid, (MovieClip *)id, flag);
|
||||
|
|
Loading…
Reference in New Issue