Campbell Barton
409fb4da0c
Code cleanup: remove redundant matrix initialization
2014-04-29 18:13:20 +10:00
Campbell Barton
a91c4ac99f
Ignore user-preferences when inserting keys from Python
2014-04-29 07:35:04 +10:00
Campbell Barton
3d9b4159a4
PyC_RunQuicky: Print filename when its missing
2014-04-29 02:55:59 +10:00
Campbell Barton
e73d0f57a3
Code cleanup: use 'const' for arrays (python)
2014-04-27 00:25:15 +10:00
Campbell Barton
dc847607b6
Change Vector.slerp to accept nonunit vectors
2014-04-18 20:49:39 +10:00
Bastien Montagne
0b7f581397
Split Normals I (2/5): Add basic BMesh support of split normals.
...
* Merely a re-implementation of core split algorithm for BMesh, taking advantage of topological data available.
* This code needs valid loop indices, so added BM_LOOP support to BM_mesh_elem_index_ensure() & co.
Reviewers: campbellbarton
Reviewed By: campbellbarton
CC: brecht
Differential Revision: https://developer.blender.org/D366
2014-04-13 12:25:54 +02:00
Campbell Barton
a15b3c4d11
Code cleanup: use bool
2014-04-11 11:33:29 +10:00
Campbell Barton
5873160242
Code cleanup: strict flags for bmesh_log
2014-04-03 17:13:31 +11:00
Campbell Barton
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
Campbell Barton
55f83e36cc
Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functions
2014-03-31 13:28:37 +11:00
Campbell Barton
6aa75d3b2c
Fix for error in normalize_vn_vn(), add len_squared_vn
2014-03-31 11:19:32 +11:00
Campbell Barton
7199e2288f
Code cleanup: use sqrtf when input and output are float
2014-03-28 14:53:37 +11:00
Bastien Montagne
e9a64e2770
Fix T39392: Python bindings for geometry.box_pack_2d() return invalid total height
2014-03-24 17:39:54 +01:00
Campbell Barton
a91247c2b4
Code cleanup: unreachable break/return
2014-03-19 12:47:09 +11:00
Campbell Barton
7da2175271
KDTree: deprecate 'normal' argument
...
Normals for each kdtree node were allocated but never used,
and search args only use in particles/boids code.
2014-03-18 09:14:47 +11:00
Campbell Barton
a47137a2db
Python API: add Vector.orthogonal() method
2014-03-18 00:39:46 +11:00
Campbell Barton
2097e621ed
Code cleanup: use r_ prefix for return args
2014-03-16 03:26:23 +11:00
Tamito Kajiyama
a8dc5b274b
Alternative fix for T38753, use existing __file__ in namespace
2014-03-06 03:31:00 +11:00
Campbell Barton
13ea967cce
Code cleanup: correct abs use and quiet warnings
2014-03-01 14:26:18 +11:00
Campbell Barton
433b20b7ea
PyAPI: correct warning with dynamic enums
2014-02-28 21:26:19 +11:00
Campbell Barton
18f6bb04fa
Fix for custom property editor when property id's contained quotes
...
Adds bpy.utils.escape_identifier()
2014-02-25 16:19:57 +11:00
Campbell Barton
99edd29835
Fix T38753: Python script paths weren't escaped (Win only)
2014-02-22 17:54:50 +11:00
Campbell Barton
b7fa08f88a
Code cleanup: style
2014-02-22 11:14:15 +11:00
Campbell Barton
43c478a36a
Py API: refactor py text compiling into its own function
2014-02-14 22:03:09 +11:00
Campbell Barton
5621e63d36
Code cleanup: duplicate headers
2014-02-14 10:55:38 +11:00
Campbell Barton
a397009181
Fix T38541: sys.exit fails when blender is built as a py-module
2014-02-13 06:58:06 +11:00
Campbell Barton
a8a567d28e
RNA: add flag to be used for changing numbers proportionally
2014-02-09 06:30:48 +11:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
d900f5be55
Code cleanup: use bools where possible
2014-02-03 19:35:44 +11:00
Campbell Barton
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
Campbell Barton
ab6157a06a
PyAPI: noise.seed_set(), note that zero is a special case.
2014-01-30 17:56:07 +11:00
Campbell Barton
bd697dd4d7
Fix T38402: invalid message for bad type assignments (Quat, Vector)
2014-01-30 16:45:20 +11:00
Brecht Van Lommel
299180f3c6
Fix T36955: API docs referred to sys.maxint which does not exist in Python 3.
2014-01-29 16:49:12 +01:00
Campbell Barton
a5c35fb27f
Code cleanup: use booleans where appropriate
2014-01-28 04:00:04 +11:00
Campbell Barton
5aa006bc1c
Fix incorrect extern
2014-01-28 01:50:09 +11:00
Bastien Montagne
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
Campbell Barton
85a3d51078
Fix for own refcount error in recent commit
2014-01-21 14:23:39 +11:00
Brecht Van Lommel
e9efde2a05
Fix T38297: missing StringProperty subtype 'PASSWORD' in API docs.
2014-01-20 22:01:11 +01:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
63ccb26303
Code Cleanup: spelling
2014-01-17 17:35:03 +11:00
Campbell Barton
348cf17448
Code Cleanup: no need to pass empty strings as default values
2014-01-16 22:00:29 +11:00
Campbell Barton
61ff3dfdda
Code Cleanup: spelling
2014-01-13 15:31:57 +11:00
Campbell Barton
62aa004c25
Style Cleanup: whitespace
2014-01-12 22:05:24 +11:00
Campbell Barton
c2508b6e1b
Fix T38150: correct fix this time
...
also use fixed size lists for list creation.
2014-01-11 21:03:21 +11:00
Campbell Barton
ee15db9db5
Fix T38150: BMLayerCollection.items/values docs switched
2014-01-10 22:18:34 +11:00
Campbell Barton
da6bc87b57
Fix T38138: incorrect API docs
2014-01-09 21:49:11 +11:00
Denis Declara
55f7a4aebc
Fix T38104: mathutils.cell_vector() always returns (0,0,0)
...
Reviewed By: brecht
2014-01-08 23:03:09 +01:00
Campbell Barton
cdeb3c3922
Fix for incorrect use of abs() in intersect_sphere_sphere_2d
2014-01-09 03:15:59 +11:00