diff options
author | Ton Roosendaal <ton@blender.org> | 2006-02-09 22:47:53 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-02-09 22:47:53 +0300 |
commit | 5e3d30c276f33e57f4a8e726ec6593210ade0217 (patch) | |
tree | 683a567427e456b37b6d507af69ff44d61ffba78 /source/blender/src/interface_icons.c | |
parent | daefa2afc6603a889f21047fedb0d3ecba5b1157 (diff) |
Feature:
- Appending Images now re-assigns relative paths, to match with the file
as currently being used
Bugfix:
- Memory error in creating preview render rects... gave no issues here,
but i guess that's not saying anything! Hope its more stable now. :)
Diffstat (limited to 'source/blender/src/interface_icons.c')
-rw-r--r-- | source/blender/src/interface_icons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/interface_icons.c b/source/blender/src/interface_icons.c index 614ebcefbb8..fd9ea289f9e 100644 --- a/source/blender/src/interface_icons.c +++ b/source/blender/src/interface_icons.c @@ -685,7 +685,7 @@ static void icon_set_image(ID* id, DrawInfo* di) di->rect = MEM_callocN(di->rw*di->rh*sizeof(unsigned int), "laprevrect"); ri.cury = 0; - ri.rect = 0; + ri.rect = NULL; ri.pr_rectx = di->rw; ri.pr_recty = di->rh; |