Sergey Sharybin
640b6c0eb8
Camera tracking integration
...
===========================
Camera sensor size changes:
- Now blender camera has got vertical sensor size property
and setting to control how FOV is getting calculated
(depending on aspect ratio, using horizontal sensor size or
vertical only).
- Made changes in game engine and uv project modifier as well
- Presets should be updated (don't have settings by hand right now
and the internet in debalie is really fails this year)
2011-10-30 14:11:16 +00:00
Sergey Sharybin
7320f6a90a
Merging trunk up to revision 41245.
2011-10-24 14:52:04 +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
e89107927b
- fix for error with utf8 textinput for buttons
...
- ensure input is valid utf8 from ghost and NULL then complain if its not.
- added function to get utf8 size BLI_str_utf8_size()
2011-10-23 13:52:51 +00:00
Campbell Barton
0664868aec
BLI_make_file_string wasn't guaranteed to initialize the resulting path, some parts of the code accounted for this but most not, always initialize the string to "".
2011-10-23 05:56:55 +00:00
Brecht Van Lommel
e417e011d5
Code cleanup: file operations merged into single header, some function names
...
made less cryptic and changed to indicate if they work on files or directories.
2011-10-22 15:35:49 +00:00
Sergey Sharybin
0d6915a4e7
Merging r41176 through r41192 from trunk into soc-2011-tomato
2011-10-22 15:15:42 +00:00
Campbell Barton
19f79f73a8
BLI_utildefine minor edits
...
- removed AVG2, was only used once.
- remove unused LONGCOPY define.
- removed BLI_STRUCT_OFFSET, was only used once, replce with offsetof
- formatting edits, split some macros over multiple lines.
2011-10-22 03:39:13 +00:00
Brecht Van Lommel
88473fd49a
Code cleanup: remove BLI_exist, now there is only BLI_exists. One function just
...
called the other, they did the same thing.
2011-10-21 22:33:41 +00:00
Brecht Van Lommel
00735ed9e4
Code cleanup: don't use btempdir/bprogdir/bprogname globals anymore, but wrap
...
in BLI_ functions.
2011-10-21 17:37:38 +00:00
Sergey Sharybin
ed3be3b950
Merging r41158 through r41175 from trunk into soc-2011-tomato
2011-10-21 09:15:22 +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
Guillermo S. Romero
9ec0ea91f0
Fix copyright assignment.
2011-10-21 01:46:03 +00:00
Campbell Barton
6912e94d06
replace BLF's blf_utf8_next() with BLI_str_utf8_as_unicode_step(),
...
also fixed some spelling errors.
2011-10-21 01:33:06 +00:00
Campbell Barton
2d8189cec0
- minor edits to font drawing/utf8, was needlessly casting int/unsigned int.
...
- also ifdef'd out more smoke function when the modifiers disabled.
2011-10-21 00:48:02 +00:00
Campbell Barton
2e549e0241
replace own unicode functions with versions from glib which support more unicode characters.
...
added BLI_str_utf8_as_unicode(), BLI_str_utf8_from_unicode()
2011-10-21 00:01:22 +00:00
Sergey Sharybin
1a16ceb0a3
Merging r41140 through r41157 from trunk into soc-2011-tomato
2011-10-20 20:24:04 +00:00
Guillermo S. Romero
aba149189b
SVN maintenance.
2011-10-20 17:55:50 +00:00
Campbell Barton
2bd9519e39
BLI_ghash.h was including BLI_blenlib.h, remove from ghash header and include in each file
2011-10-20 13:50:24 +00:00
Campbell Barton
3d501ca70f
unicode text input for 3d text.
2011-10-20 10:47:38 +00:00
Sergey Sharybin
3dfd4808c3
Merging r41120 through from trunk r41139 into soc-2011-tomato
2011-10-20 09:49:39 +00:00
Campbell Barton
8d6a554d75
- add BLI_string_utf8.h for unicode functions.
...
- move font.c unicode functions into string_utf8.c and rename to fit with other BLI_string funcs.
2011-10-20 09:47:05 +00:00
Campbell Barton
4512f10db9
misc edits
...
- rename define DISABLE_SDL --> WITH_SDL (which was already used in some places)
- blenders interation preset was using orbit rather then turntable 3d view preference (different from factory defaults).
- tagged some unused rna args.
2011-10-20 00:19:21 +00:00
Campbell Barton
5cf593a778
strcpy() --> BLI_strncpy(), where source strings are not fixed and target size is known.
2011-10-19 23:10:54 +00:00
Sergey Sharybin
20cea882d6
Merging r41037 through r41092 from trunk into soc-2011-tomato
2011-10-17 15:55:35 +00:00
Campbell Barton
61389bba41
fix spelling mistakes in comments (and in some python error messages), nothing to effect translations.
2011-10-17 06:39:13 +00:00
Campbell Barton
b6d0daa9cb
utf8 editing for UI text input, this means backspace, delete, arrow keys properly move the cursor with multi-byte chars.
...
Note that this is only for the interface, text editor and python console still miss this feature.
2011-10-16 12:25:42 +00:00
Sergey Sharybin
70c8e65021
Merging r40990 through r41036 from trunk into soc-2011-tomato
2011-10-15 19:19:24 +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
Sergey Sharybin
b475a7b56a
Merging trunk up to rev 40959
2011-10-12 16:28:42 +00:00
Campbell Barton
be24b4dfcc
fix for possible buffer overflow bug in BLI_join_dirfile(), recent fix didn't account for the case when destination string and dir string matched.
2011-10-12 11:18:46 +00:00
Campbell Barton
85a2280c86
fix for crash in BLI_join_dirfile() when the dir is longer then the target string.
...
starting blender in a dir longer then 240 chars would crash.
2011-10-11 05:21:24 +00:00
Sergey Sharybin
855885425c
Merging r40848 through r40876 from trunk into soc-2011-tomato
2011-10-09 20:26:56 +00:00
Campbell Barton
8714fb7019
replace sprintf with strcpy where no formatting is done and return value isn't used.
2011-10-09 06:03:38 +00:00
Sergey Sharybin
78c7ec6401
Merging r40615 through r40652 from trunk into soc-2011-tomato
2011-09-28 10:45:39 +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
2970db8ef3
Merge trunk up to revision 40611
2011-09-27 13:21:45 +00:00
Campbell Barton
768806adc0
bpy.app.handlers.frame_change_pre/post handlers.
2011-09-27 10:43:45 +00:00
Sergey Sharybin
03f3e7b3fc
Merging r40572 through r40597 from trunk into soc-2011-tomato
2011-09-27 09:26:46 +00:00
Campbell Barton
f4dec97cef
fix for building on windows, clear some warnings too
2011-09-27 01:32:27 +00:00
Sergey Sharybin
ae8c7c6b10
Merging trunk into soc-2011-tomato up to revision 40540
2011-09-25 20:03:03 +00:00
Andrew Wiggin
7c46f1c4b7
Fix some MSVC 2010 warnings (including one apparent bug in intern/elbeem/intern/solver_relax.h)
2011-09-25 12:33:51 +00:00
Sergey Sharybin
07e57233e2
Merging r40265 through r40492 from trunk into soc-2011-tomato
2011-09-23 13:20:21 +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
4b449aefea
remove support for irix
2011-09-21 08:40:30 +00:00
Sergey Sharybin
2af7bb8aaf
Fix for BLI_ungzip_to_mem: it'll return NULL now if file is not found.
...
It makes default bfont used if unifont isn't found. Useful for install-less
launch when debugging.
2011-09-20 14:49:12 +00:00
Sergey Sharybin
8dbc7a3ba3
Merging r40345 through r40365 from trunk into soc-2011-garlic
2011-09-19 15:47:05 +00:00
Sergey Sharybin
706a2c80f0
i18n: code cleanup and fixing unneeded translation (when partial translation is used only)
2011-09-19 15:10:38 +00:00
Campbell Barton
9d3b1f708f
Move function out of mathutils to: BLI_math_rotation --- single_axis_angle_to_mat3(mat3, axis, angle), copied out from mathutils, axis arg is a char 'X/Y/Z' rather then a vector like axis_angle_to_mat3().
2011-09-19 13:08:01 +00:00