Cleanup: spelling
This commit is contained in:
@@ -529,7 +529,7 @@ static int new_texture_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
|
||||
if (prop) {
|
||||
/* when creating new ID blocks, use is already 1, but RNA
|
||||
* pointer se also increases user, so this compensates it */
|
||||
* pointer use also increases user, so this compensates it */
|
||||
id_us_min(&tex->id);
|
||||
|
||||
if (ptr.id.data && GS(((ID *)ptr.id.data)->name) == ID_MA &&
|
||||
@@ -592,7 +592,7 @@ static int new_world_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
|
||||
if (prop) {
|
||||
/* when creating new ID blocks, use is already 1, but RNA
|
||||
* pointer se also increases user, so this compensates it */
|
||||
* pointer use also increases user, so this compensates it */
|
||||
id_us_min(&wo->id);
|
||||
|
||||
RNA_id_pointer_create(&wo->id, &idptr);
|
||||
|
||||
Reference in New Issue
Block a user