Cleanup: spelling
This commit is contained in:
parent
5ef1821a0f
commit
21425e54bc
|
@ -1695,7 +1695,7 @@ static int font_open_exec(bContext *C, wmOperator *op)
|
|||
|
||||
if (pprop->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(&font->id);
|
||||
|
||||
RNA_id_pointer_create(&font->id, &idptr);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -136,7 +136,7 @@ static int sound_open_exec(bContext *C, wmOperator *op)
|
|||
|
||||
if (pprop->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(&sound->id);
|
||||
|
||||
RNA_id_pointer_create(&sound->id, &idptr);
|
||||
|
|
|
@ -234,7 +234,7 @@ static int open_exec(bContext *C, wmOperator *op)
|
|||
|
||||
if (pprop->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(&clip->id);
|
||||
|
||||
RNA_id_pointer_create(&clip->id, &idptr);
|
||||
|
|
|
@ -1284,8 +1284,9 @@ static int image_open_exec(bContext *C, wmOperator *op)
|
|||
|
||||
if (iod->pprop.prop) {
|
||||
/* when creating new ID blocks, use is already 1, but RNA
|
||||
* pointer also increases user, so this compensates it */
|
||||
* pointer use also increases user, so this compensates it */
|
||||
id_us_min(&ima->id);
|
||||
|
||||
RNA_id_pointer_create(&ima->id, &idptr);
|
||||
RNA_property_pointer_set(&iod->pprop.ptr, iod->pprop.prop, idptr);
|
||||
RNA_property_update(C, &iod->pprop.ptr, iod->pprop.prop);
|
||||
|
@ -2395,7 +2396,7 @@ static int image_new_exec(bContext *C, wmOperator *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(&ima->id);
|
||||
|
||||
RNA_id_pointer_create(&ima->id, &idptr);
|
||||
|
|
Loading…
Reference in New Issue