diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-12 20:57:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-12 20:57:00 +0300 |
commit | 505e2d882af792480764791c070c19849477f774 (patch) | |
tree | 0d069a17ec353139f8be597155222011f94302ed /source/blender/makesrna | |
parent | da69433ff9b579452e18cb781f44230b28b93bcf (diff) |
fix [#25590] Export to X3D of Text object does not assign material to object in X3D file.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_object_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c index f7df4166528..468a97f5269 100644 --- a/source/blender/makesrna/intern/rna_object_api.c +++ b/source/blender/makesrna/intern/rna_object_api.c @@ -167,6 +167,8 @@ static Mesh *rna_Object_create_mesh(Object *ob, ReportList *reports, Scene *sce, /* Copy materials to new mesh */ switch (ob->type) { case OB_SURF: + case OB_FONT: + case OB_CURVE: tmpmesh->totcol = tmpcu->totcol; /* free old material list (if it exists) and adjust user counts */ |