99edd29835
Fix T38753: Python script paths weren't escaped (Win only)
2014-02-22 17:54:50 +11:00
b7fa08f88a
Code cleanup: style
2014-02-22 11:14:15 +11:00
43c478a36a
Py API: refactor py text compiling into its own function
2014-02-14 22:03:09 +11:00
5621e63d36
Code cleanup: duplicate headers
2014-02-14 10:55:38 +11:00
a397009181
Fix T38541: sys.exit fails when blender is built as a py-module
2014-02-13 06:58:06 +11:00
a8a567d28e
RNA: add flag to be used for changing numbers proportionally
2014-02-09 06:30:48 +11:00
06e0e3fb8a
Py Docs: move bpy.props options and subtype flags into generic defines
...
added some missing flags into docs too.
2014-02-09 06:26:55 +11:00
06b6cd8345
PyAPI: mathutils.Vector.cross now works for 2d vectors (returns a float)
...
also fixed crash when running on large vectors (raises exception now)
2014-02-05 23:36:30 +11:00
d900f5be55
Code cleanup: use bools where possible
2014-02-03 19:35:44 +11:00
2011156eec
Fix for crash linking node groups through bpy.data.library
...
Defer creating the Python objects until after appending is finished
because NodeTree's types are not initialized until then.
2014-01-31 00:56:19 +11:00
ab6157a06a
PyAPI: noise.seed_set(), note that zero is a special case.
2014-01-30 17:56:07 +11:00
bd697dd4d7
Fix T38402: invalid message for bad type assignments (Quat, Vector)
2014-01-30 16:45:20 +11:00
299180f3c6
Fix T36955: API docs referred to sys.maxint which does not exist in Python 3.
2014-01-29 16:49:12 +01:00
a5c35fb27f
Code cleanup: use booleans where appropriate
2014-01-28 04:00:04 +11:00
5aa006bc1c
Fix incorrect extern
2014-01-28 01:50:09 +11:00
18db6c58ec
Fix T38150: implementation mismatch in bmesh python
...
Hopefully this time all mismatches are fixed (quickly checked the whole BMesh API files,
found a few others in addition to those reported in T38150).
2014-01-23 20:17:54 +01:00
85a3d51078
Fix for own refcount error in recent commit
2014-01-21 14:23:39 +11:00
e9efde2a05
Fix T38297: missing StringProperty subtype 'PASSWORD' in API docs.
2014-01-20 22:01:11 +01:00
2e01f38885
Python API: fix for help() failing on bpy instances
...
Caused by missing __name__ from bpy.types (alternate method to patch D232)
2014-01-20 18:13:15 +11:00
a696a0ff1e
Python API: create args for meta-classes directly (a little faster).
...
Also add some new interned strings.
2014-01-20 18:09:00 +11:00
63ccb26303
Code Cleanup: spelling
2014-01-17 17:35:03 +11:00
348cf17448
Code Cleanup: no need to pass empty strings as default values
2014-01-16 22:00:29 +11:00
61ff3dfdda
Code Cleanup: spelling
2014-01-13 15:31:57 +11:00
62aa004c25
Style Cleanup: whitespace
2014-01-12 22:05:24 +11:00
c2508b6e1b
Fix T38150: correct fix this time
...
also use fixed size lists for list creation.
2014-01-11 21:03:21 +11:00
ee15db9db5
Fix T38150: BMLayerCollection.items/values docs switched
2014-01-10 22:18:34 +11:00
da6bc87b57
Fix T38138: incorrect API docs
2014-01-09 21:49:11 +11:00
55f7a4aebc
Fix T38104: mathutils.cell_vector() always returns (0,0,0)
...
Reviewed By: brecht
2014-01-08 23:03:09 +01:00
cdeb3c3922
Fix for incorrect use of abs() in intersect_sphere_sphere_2d
2014-01-09 03:15:59 +11:00
2dba2e72b7
Code Cleanup: de-duplicate text pasting which only used the first line
2014-01-08 17:39:12 +11:00
4b30b22ecf
Fix for recent kdtree py module with MSVC
...
also remove submodule includes from mathutils.h
2014-01-07 00:53:52 +11:00
4848f9029a
Patch D133: Python wrapper for BLI_kdtree (adds mathutils.kdtree)
...
Originally by Dan Eicher, with my own fixes and adjustments (see patch page for details).
For details there are unit tests and api example usage.
doc/python_api/sphinx-in-tmp/menu_id.png
2014-01-06 20:32:34 +11:00
90efa345c2
Python API: utility function for filling a tuple with a single value.
2014-01-06 16:46:00 +11:00
6734936c13
RNA API: use bool's for enum itemf callbacks.
2014-01-04 18:10:01 +11:00
b9114cb609
UI: Use bool rather then int/short's where possible
2014-01-04 18:10:01 +11:00
c5cb42f402
Code Cleanup: use bool for bmesh operator boolean mapping functions
2014-01-03 21:35:29 +11:00
0d6ae3fda2
Main API: refactor naming, use BKE_main_ prefix and add main arg.
2013-12-30 13:25:27 +11:00
eb4090dadf
Fix missing check if isect_plane_plane_v3 fails to find an intersection.
2013-12-29 12:51:27 +11:00
04a902965e
BMesh optimize face splitting by taking loops rather then verts
...
- add BM_vert_pair_share_face
- add BM_loop_is_adjacent
- remove BM_verts_connect
2013-12-24 11:13:58 +11:00
0a5e00e8e8
Code Cleanup: style
2013-12-24 05:04:29 +11:00
3cc7978f19
Move python threading stuff to own file in bf_python_ext
...
This way blender player can easily use BPY_thread_save/restore.
Not so much important for master branch, but crucial to solve
linking issues in threaded depsgraph branch.
2013-12-23 23:14:10 +06:00
5036ac6903
Partial fix for T37604: Deadlock when stopping rendered viewport (Blender Internal)
...
- Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS macros cannot be used here, because the Py_BEGIN_ALLOW_THREADS causes a crash when quitting Blender.
- The low level function PyEval_ReleaseLock() is used assuming the Python library was built with multi-threads support.
2013-12-17 18:44:56 +11:00
c701082a92
RNA: Add pixels property type
2013-12-13 04:40:30 +11:00
c35fb528c5
Fix intersect_line_plane bug causing crash on Motion trail and other
...
similar potential bugs in mathutils_geometry
marking no_flip as TODO
2013-12-11 10:28:30 -02:00
96f95e0223
Python API: when OIIO is disabled use the same version format.
2013-12-10 12:58:10 +11:00
ab6f60aad2
Python API: when OCIO is disabled use the same version format.
2013-12-10 01:11:02 +11:00
2ef3f6159c
Fix T37715: Incorrect docstring
2013-12-10 00:02:37 +11:00
0d71d0a8f0
Correction to previous commit, sorry
2013-12-08 15:11:07 +06:00
46f8dba4c7
Extend system-info with information about OIIO, OCIO and OSL
...
Summary:
Version of those libraries might be useful to know.
- OIIO and OCIO is exposed via bpy.app.oiio and bpy.app.ocio.
There're "supported", "version" and "version_string" defined
in those modules.
- OSL is available as _cycles.osl_version and _cycles.osl_version_string.
Reviewers: campbellbarton
Reviewed By: campbellbarton
CC: dingto
Differential Revision: http://developer.blender.org/D79
2013-12-08 15:03:17 +06:00
75212f4677
BMesh Py API: add bmesh.geometry.intersect_face_point()
...
patch originally by mont29 with some edits.
2013-12-06 21:15:56 +11:00