Freestyle: minor optimization for space by using a pointer to a const char array instead of std::string.

This commit is contained in:
2014-07-25 12:23:09 +09:00
parent e58d788340
commit be980c4ee4
6 changed files with 14 additions and 13 deletions

View File

@@ -293,7 +293,7 @@ PyDoc_STRVAR(ViewShape_name_doc,
static PyObject *ViewShape_name_get(BPy_ViewShape *self, void *UNUSED(closure))
{
return PyUnicode_FromString(self->vs->getName().c_str());
return PyUnicode_FromString(self->vs->getName());
}
PyDoc_STRVAR(ViewShape_id_doc,