spurious "can't edit external libdata" for normal operations on proxy armature


Also, fixed two typos in code comments.
This commit is contained in:
2007-04-28 03:01:12 +00:00
parent 3bd0d2e227
commit 836ccb8ab0
4 changed files with 7 additions and 4 deletions

View File

@@ -5446,11 +5446,12 @@ void hookmenu(void)
}
/*
* Returns true if teh Object data is a from an external blend file (libdata)
* */
* Returns true if the Object data is a from an external blend file (libdata)
*/
int object_data_is_libdata(Object *ob)
{
if (!ob) return 0;
if (ob->proxy) return 0;
if (ob->id.lib) return 1;
if (!ob->data) return 0;
if (((ID *)ob->data)->lib) return 1;