88f4087a57
svn merge -r36725:36801 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-05-20 16:52:10 +00:00
32793a1395
add python access to mathutils.intersect_line_plane, update view3d_utils module to use it.
2011-05-19 04:28:09 +00:00
6266e62170
python mathutils.Matrix.is_orthogonal readonly attribute.
2011-05-18 15:31:00 +00:00
66f51ba5d1
RNA: make mechanism used by operators to keep python instance alive more generic, to be used by render engine later.
2011-05-18 11:21:10 +00:00
178ba76b09
RNA: pass Main rather than Context to register/unregister callbacks.
2011-05-18 10:56:26 +00:00
0f329ebdf1
svn merge -r36583:36603 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-05-11 00:19:13 +00:00
89a166d0de
remove some duplicate declarations
2011-05-10 14:48:06 +00:00
eabb444106
minor cleanup: make functions static, use NULL for pointer comparisons,
...
also fixed a possible bug assigning incorrect DPX function types to
imbuf.
2011-05-10 13:11:36 +00:00
1e0c3d315b
minor cleanup, no functional changes.
2011-05-09 14:41:44 +00:00
5ba0c2c049
tag unused arguments, quiet some warnings
2011-05-09 14:32:55 +00:00
5776d7ff9c
svn merge -r36529:36564 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-05-09 09:38:48 +00:00
14a2330d7b
copied across changes which were missed by merging.
2011-05-09 02:45:52 +00:00
6ef77cf95a
=bmesh= merge from trunk at r36529
2011-05-08 23:43:18 +00:00
aaa93c58b3
Fixes for bugs noticed during previous fix:
...
- In Drivers mode of Graph Editor, expanders for sub-object data were
not working at all. This was because they were getting overriden by an
errant ob-level drivers check
- Adding drivers from py-api didn't update Graph Editor
2011-05-08 05:41:57 +00:00
3462ddf17f
=bmesh=
...
Cut out some unwanted differences with trunk
in preparation for merge. Also fixed some
warnings, though many remain.
2011-05-07 02:48:14 +00:00
ba5d18b41f
py/rna debugging option (defaults to off), which quickly exposes errors with RNA functions holding string pointers by making a temp copy of the string and freeing after the function is called.
2011-05-06 03:29:55 +00:00
f86565c90e
whitespace edits for bpy api, split some really long lines.
2011-04-30 13:58:31 +00:00
f9f771cd01
converted more mixed tab/space indentations to tabs. only whitespace changes.
2011-04-21 15:53:30 +00:00
210ee1ade4
whitespace only, no functional change mixed tabs/spaces --> tabs.
2011-04-21 13:11:51 +00:00
6bb626f253
minor changes
...
- remove some warnings
- fix typos
- cmake allow in-source build (when WITH_IN_SOURCE_BUILD is defined)
- cmake, use an explicit list of rna files (don't glob)
2011-04-21 05:49:47 +00:00
7e3d044bdd
fix [ #27072 ] Calling bpy.utils.blend_paths(True) results in segmantaion fault since 2.56
2011-04-20 12:55:42 +00:00
5b920bc2ff
Some strings to store ID names were too small, could cause stack corruption.
...
corrected these and replaced 'sizeof(((ID *)NULL)->name)-2' with 'MAX_ID_NAME-2'.
2011-04-19 06:59:49 +00:00
9dda11e0f1
correction for windows.
2011-04-18 10:18:35 +00:00
0814cdf54e
fix [ #26951 ] blenderplayer and runtimes will not load
...
blenderplayer wasn't finding bundled python, eg: ./2.57/python/lib
2011-04-18 08:27:50 +00:00
0862abf68b
change unit evaluation only to do try the units replacements if evaluating with python fails, in rare cases its possible a valid python expression could get units applied to it.
2011-04-17 12:47:20 +00:00
c98148a963
=bmesh= merge from trunk at r36153
2011-04-15 01:19:13 +00:00
b1cc8ea18a
incorrect documentation spotted by macouno.
2011-04-14 12:19:31 +00:00
b68c911931
fix for mistake checking engines on load.
2011-04-13 00:51:48 +00:00
d78220549b
fix for compile issue on MSVC 2008 due to macro expansion differences with gcc.
2011-04-12 17:58:54 +00:00
771390793f
fix for crash when pressing 'Copy Startup Settings', was using out of date main database.
2011-04-12 17:18:02 +00:00
f8c09b37d4
api changes needed for for copying old settings to new.
...
- py: bpy.utils.resource_path('USER', 2, 56)
- C: BLI_get_folder_version(id, major, minor, check);
2011-04-11 13:56:58 +00:00
70cd0803ab
add new subtype PROP_COORDS, for generic coordinates that are not to be changed by units.
2011-04-08 13:32:56 +00:00
6b3f5ecd18
change to fcurve keyframe coords broke simplify addon since the property
...
was no longer wrapped by python as a vector. now fixed size float arrays
with PROP_NONE subtype are wrapped as vectors since its convenient to
have x/y access.
2011-04-08 01:40:54 +00:00
696e7a311a
include needed for windows
2011-04-06 06:29:10 +00:00
a7507e945d
fix [ #26803 ] Libs paths are case sensitive in windows
...
use case insensitive path comparison on windows: BLI_path_cmp
2011-04-06 06:03:48 +00:00
ca254dd37b
add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their own glew library.
2011-04-05 23:31:01 +00:00
4ea7e562f8
rename mathutils.Vector/Quaternion difference() method to rotation_difference() since its too vague when applied to vectors.
2011-04-04 05:17:23 +00:00
0298d223cc
quiet various warnings, also disable -Wdouble-promotion with cmake since it gives warnings with variable length args.
2011-04-03 10:04:16 +00:00
371a7b477d
Fix register method order. Was broken when Campbell moved it to the C implementation.
...
register has to be called AFTER the type is registered while unregister has to be called BEFORE it's unregistered.
2011-04-02 14:58:58 +00:00
f1b42a129f
add angle wrapping functions: angle_wrap_rad(), angle_wrap_deg().
...
use with mathutils.
2011-04-02 03:05:49 +00:00
3ddbb36fa7
modification to api docs so release point to:
...
http://www.blender.org/documentation/blender_python_api_2_57b_release
Development versions point to:
http://www.blender.org/documentation/blender_python_api_2_57_0
This way updates to api docs after release wont overwrite release docs.
2011-04-01 15:13:58 +00:00
a4193184bf
- bpy.app.release so python scripts can check if the release is stable or not.
...
- edited pose bone matrix description.
2011-04-01 14:04:26 +00:00
cd9b42871c
remove bpy python api from blenderplayer, it was being linked but not initialized/available.
2011-03-31 15:28:53 +00:00
66a1259153
fix for crash when running blender with define WITH_PYTHON_SAFETY & no startup.blend was found.
...
was calling python function when python was not initialized.
2011-03-31 04:43:26 +00:00
bfadd7c9aa
modify error when python is not found so as not to confuse users who don't build blender.
...
+ minor edits.
2011-03-30 07:21:41 +00:00
206e5b7179
print warning on windows/mac when bundled python is not found, suggesting to build the 'install' target.
2011-03-30 06:27:39 +00:00
f4ba9495c5
fix [ #26667 ] Can't import scripts when using blenderplayer
...
- move import override initialization to bpy_internal_import.c so the player and blender can both call.
- remove ineffectual & unused sandboxing code.
2011-03-29 16:12:25 +00:00
9b9c4184c8
misc nodes & editors: floats were being implicitly promoted to doubles, adjust to use floats.
...
+ minor update to demo_mode
2011-03-28 17:08:33 +00:00
bf1e2ce41e
color gamma (such as theme colors), were not being wrapped by python as 'mathutils.Color' types
2011-03-28 13:47:39 +00:00
9c8f1e2ef4
imbuf, mathutils & readfile: floats were being implicitly promoted to doubles, adjust to use floats.
2011-03-27 17:12:59 +00:00