Antony Riakiotakis
c0a7830733
fix crash with path conversion, not all materials have nodes
2012-11-27 17:21:58 +00:00
Campbell Barton
2dbbcb4c73
add osl shader scripts to bpath walker (so making paths absolute or relative applies to shader paths too).
...
also remove "RNA_types.h" include from BKE_nodes.h.
2012-11-27 16:19:52 +00:00
Campbell Barton
8740b6cd88
fix [ #33108 ] Running save_as_mainfile breaks relative texture paths
...
save-as with path remapping left the paths relate to the file written.
2012-11-07 04:13:03 +00:00
Bastien Montagne
26d0492653
A final bunch of UI messages fixes and tweaks, and some BKE_report()<->BKE_reportf() fixes.
2012-10-21 14:02:30 +00:00
Campbell Barton
7deb8d8a26
code cleanup: spelling
2012-10-20 20:36:51 +00:00
Campbell Barton
0d647f68a3
fix: path looper was checking the path of old tessface external data rather then loop data. (missed with bmesh upgrade)
2012-10-02 00:28:01 +00:00
Campbell Barton
aaafa0c2fe
code cleanup: move file string defines into BLI_path_utils.h, BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03 22:04:14 +00:00
Campbell Barton
635db3b306
code cleanup: add utility function BLI_path_is_rel()
2012-08-29 10:32:38 +00:00
Campbell Barton
6972e19fd5
code cleanup:
...
- replace (strcmp(vfont->name, FO_BUILTIN_NAME) == 0) with (BKE_vfont_is_builtin(vfont)).
- reduce some double promotions.
2012-08-03 22:12:57 +00:00
Campbell Barton
82fc02fb48
fix for own error in r43796, 'Find Missing Files', could set the path to an empty string.
2012-07-30 16:42:26 +00:00
Campbell Barton
105b1031dd
code cleanup: rename sequencer types to SEQ_TYPE_*** and use enums rather then defines.
2012-06-07 15:49:02 +00:00
Thomas Dinges
16117143d8
Massive Code cleanup:
...
* Remove all code for Texture and Sequencer plugin system, this never worked in 2.5x / 2.6x and is therefore not needed anymore.
* DNA structures are kept, all read/writefile code is gone.
2012-05-29 10:21:07 +00:00
Campbell Barton
032d83ecc4
style cleanup: defines with braces
2012-05-27 20:13:59 +00:00
Campbell Barton
2f2b15bbb2
style cleanup: whitespace, bli & makesdna
2012-05-12 15:02:10 +00:00
Campbell Barton
4c5502bfd6
code cleanup: function naming for BLI functions.
2012-05-05 00:23:55 +00:00
Campbell Barton
a5af5e8f50
style cleanup: re - http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros
2012-04-30 16:22:40 +00:00
Campbell Barton
ef054e165c
style cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_array macros.
2012-04-28 15:14:16 +00:00
Campbell Barton
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
Campbell Barton
69e6894b15
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:18:31 +00:00
Campbell Barton
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
Campbell Barton
b457c7fdbd
style cleanup
2012-03-12 23:56:11 +00:00
Campbell Barton
cae11a98f9
style cleanup
2012-03-11 23:47:41 +00:00
Campbell Barton
79d97ca509
style cleanup - spelling.
2012-03-08 04:12:11 +00:00
Campbell Barton
95670e03a0
style cleanup / comment formatting for bli/bke/bmesh
2012-03-03 20:19:11 +00:00
Campbell Barton
23db21e2c1
fix own error [ #29634 ] 'Find Missing Files' breaks good links
2012-01-31 18:00:41 +00:00
Campbell Barton
b49463c439
cleanup of weight paint color setting code, no functional changes
2011-12-18 12:54:50 +00:00
Sergey Sharybin
3eaf5e93fd
Fix for movie clips weren't remapped properly on file save
2011-12-04 17:16:22 +00:00
Campbell Barton
49ccf975f2
minor cleanup
...
- use NULL rather then 0 for pointers
- use static functions where possible
- add own includes to ensure func's and their declarations don't get out of sync.
2011-11-14 16:05:44 +00:00
Campbell Barton
2e32ce0ed2
add the ocean modifier to bpath visitor
2011-11-13 14:50:19 +00:00
Campbell Barton
1d225c6696
use macro for access to library filepath
2011-11-07 15:55:03 +00:00
Campbell Barton
e3f03d72b6
added path traversal flag - BPATH_TRAVERSE_SKIP_MULTIFILE,
...
so path manipulation functions dont run multiple times on the same path in the case of sequence strips where the one directory is used as the base for many images.
2011-11-01 06:26:55 +00:00
Campbell Barton
1e4be0a4bf
replace BLI_strtok_r from r41337 with lighter method that doesnt alloc for template_list
2011-10-29 08:18:42 +00:00
Campbell Barton
f7d5cea669
use path remapping for all make local functions, patch from Alex Fraser with changes.
2011-10-27 05:34:39 +00:00
Campbell Barton
31d401613d
bpath
...
- loop over all sequence images and pointcache
- option not to loop over library / packed data, expose in bpy.utils.blend_paths()
2011-10-27 03:40:12 +00:00
Campbell Barton
cd852ce1a1
- remove bpath iterator and replace all uses with visitor.
...
- added flag to optionally receive all paths as absolute.
2011-10-27 01:25:07 +00:00
Campbell Barton
5afc38b74c
Support more kinds of paths for path re-writing / traversing, patch from Alex Fraser with additions.
...
this now supports as many types as bpath iterator which its intended to replace.
2011-10-26 22:46:06 +00:00
Campbell Barton
a267f9ba4e
edits ontop of Alex's patch from r41292.
...
pass main rather than use G.main when naming from -> to relative paths.
2011-10-26 21:22:35 +00:00
Campbell Barton
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
Campbell Barton
ef218c75ed
- add convenience functions BLI_split_dir_part / BLI_split_file_part, which just call BLI_split_dirfile().
...
- add a fixed value for bprogdir (the dir of bprogname), since it was being used for resource lookups.
2011-10-21 02:13:36 +00:00
Campbell Barton
317b649bb2
fix for buffer overrun with BLI_split_dirfile(...), was simple to do since many places don't check for filename lengyj of 79 chars which is the limit for the file selector.
...
Add max dir and file length args.
2011-10-15 03:56:05 +00:00
Campbell Barton
018fa1540e
whitespace edits, make formatting for functions consustent at least within the file.
2011-09-28 05:53:40 +00:00
Sergey Sharybin
2eb1339e3f
Corrected fix for #28722 : Segfault when reading volumetric clouds example
...
Looks like with current implementation voxeldata should always be created
for voxel textures. Remove recently added NULL check and allocate
voxel data when linking a texture.
2011-09-22 17:52:21 +00:00
Sergey Sharybin
9ea32d34c4
Fix #28722 : Segfault when reading volumetric clouds example
...
Added checking for voxel data isn't NULL.
2011-09-22 16:28:38 +00:00
Campbell Barton
79e7a89c38
formatting changes only.
2011-05-19 13:50:53 +00:00
Campbell Barton
c92c3758a8
- check paths are not empty strings before making blend file paths absolute or relative.
...
- when saving blend file with 'Remap Relative' enabled, don't try make paths absolute if the internal filename is invalid.
- use case insensitive path comparison on windows when checking if path remapping is needed & for comparing next/prev dirs in the file selector.
2011-05-18 06:48:52 +00:00
Campbell Barton
edb9045824
fix [ #27405 ] Append objects with linked materials they dissapears after save
...
when linking in files to an unsaved blend file, make all library paths absolute.
2011-05-18 05:21:44 +00:00
Nathan Letwory
7900b5949f
doxygen: blender/blenlib tagged.
2011-02-27 20:37:56 +00:00
Campbell Barton
2e5eb41522
pedantic warning cleanup, also remove texspace_edit() since its been added using a different method.
2011-02-27 08:31:10 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
Campbell Barton
1b25f48542
clear some unused warnings
2011-02-17 12:05:09 +00:00