diff options
Diffstat (limited to 'source/blender/editors/space_api')
-rw-r--r-- | source/blender/editors/space_api/spacetypes.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index 89693b6cc2c..b7fc3b3a5f8 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -47,19 +47,6 @@ #include "ED_space_api.h" #include "ED_uvedit.h" -ARegionType *ED_regiontype_from_id(SpaceType *st, int regionid) -{ - ARegionType *art; - - for(art= st->regiontypes.first; art; art= art->next) - if(art->regionid==regionid) - return art; - - printf("Error, region type missing in %s\n", st->name); - return st->regiontypes.first; -} - - /* only call once on startup, storage is global in BKE kernel listbase */ void ED_spacetypes_init(void) { |