Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-28- use static vars and functions where possible.Campbell Barton
- use NULL rather than 0 when used as pointers.
2011-08-26correct missing bpy doc references.Campbell Barton
2011-08-26fix for crash when running a python script in a non utf8 blend path, ↵Campbell Barton
inspecting the exception for the path assumed utf8.
2011-08-26file-selector: when converting operator arguments to the file selector, ↵Campbell Barton
wasnt making paths absolute (abs paths are made relative when converting the other way).
2011-08-25executing operators that changed the context from the console wasnt ↵Campbell Barton
returning an operator set/flag.
2011-08-25error when a python operator gave an incorrect return value was near ↵Campbell Barton
useless, re-raise a more comprehensive error which includes the operator name.
2011-08-25bpy-rna - simplify enum string/set parsing.Campbell Barton
2011-08-24fix [#28356] Import export STL files, problem in script in version r39307Campbell Barton
& correct some bad comments.
2011-08-22properly escape chars for pythons bpy objects __repr__Campbell Barton
2011-08-20floats were being promoted to doubles in quite a few cases (using gcc's ↵Campbell Barton
-Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%.
2011-08-20fix for crash when loading a file from a script, and executing user modules ↵Campbell Barton
in the newly loaded file.
2011-08-19minor speedup to python/rna api keyword argument lookups.Campbell Barton
- dont use hash lookups in this case because converting the string to unicode and doing a hash lookup is slower then looping over the keys and comparing (which avoids creating and throwning away a unicode string).
2011-08-19minor style changeCampbell Barton
2011-08-18formatting edits, no functional changes.Campbell Barton
2011-08-16remove support for deprecated Vector() * Matrix(), eventually this will be ↵Campbell Barton
added back as row_vector_multiplication bu to avoid confusion for a bit just disable it altogether so script authors get an error on use and update their scripts.
2011-08-14add in asserts for when array/non array RNA funcions are used incorrectly, ↵Campbell Barton
would have made previous fix a lot easier to find. also remove unused argument from RNA_property_array_check.
2011-08-11Adding a readonly length_squared property to mathutils.Vector. This is ↵Mitchell Stokes
simply vector.dot(vector), so nothing new is really added, but it's nice for writing more intent revealing code. In other words: if vec.dot(vec) > some_distance*some_distance: do_something() might not be quite as obvious looking as: if vec.length_squared > some_distance*some_distance: do_something() As to why you'd want to use length_squared over length is that length uses a square root, which isn't always necessary for simple distance checks (e.g., closest object, checks like the ones above, ect).
2011-08-11use ghash for operator and menu types, was doing string lookup in the ↵Campbell Barton
operator list (containing over 1000 items) for each button draw. gives small speedup for UI drawing and overall startup time.
2011-08-10fix [#28196] Unwrap tris in lightmap packCampbell Barton
2011-08-05ifdef out support for for python owning and freeing BPy_StructRNA because ↵Campbell Barton
this is only used for doc generation and it makes _every_ blender/python instance 4 bytes bigger - vertex/bezier point/object/scene/group etc.
2011-08-05pyrna - add own callable function type rather then using a standard python ↵Campbell Barton
method, gives small speedup drawing buttons since every layout.prop/col/operator/menu etc creates and throws away one of these.
2011-08-05change BLO_library_append_begin to take a main argument rather then a ↵Campbell Barton
context, means the BGE doesnt need to make a new empty context just to pass as an arg. added doxygen description too. this quiets the print when the BGE does linking.
2011-08-04fix [#28114] Render CrashCampbell Barton
existing check for driver to use GIL was not thread safe and could cause, details in the report. This bug was caused by a check to avoid hanging, a fix for [#27683] that worked in 2.4x because the UI didn't use python to draw while rendering. Apply a different fix for [#27683], when calling an operator, call PyEval_SaveThread(), then PyEval_RestoreThread() so the GIL can be aquired by threads started by the operator - in this case bake starting a thread that evaluates drivers.
2011-08-02unit arg for FloatVectorProeprtyCampbell Barton
2011-07-31py api: sphinx doc corrections, pep8 cleanup and style edits, also added ↵Campbell Barton
__all__ to some modules which were missing it.
2011-07-30bpy fix for crash/assert on running dir() on a non collection property + ↵Campbell Barton
some other minor corrections.
2011-07-25deprecate multiplication orders:Campbell Barton
vector * matrix vector *= matrix vector * quaternion vector *= quaternion Use the reverse order instead, enable WITH_ASSERT_ABORT in cmake to promote the warnings into errors.
2011-07-21revert recent matrix multiplication patch:Campbell Barton
[#28032] Python Mathutils: Matrix Multiplication Error Since they ended up reversing the order we better keep old code unless its proven to be incorrect. also change Matrix.__repr__ function args to evaluate correctly (need to be inside a tuple).
2011-07-20patch [#28032] swapped matrix multiplication order, reverse it back, tested ↵Campbell Barton
with FBX, BVH import/export which are very sensitive to changes in matrix rotation.
2011-07-20patch [#28032] Python Mathutils: Matrix Multiplication ErrorCampbell Barton
from Scott Giese (sgiese)
2011-07-18script to report deprecated functions of text and their age in days.Campbell Barton
2011-07-17'bgl' python module.Campbell Barton
- add back slicing for buffers, (was previously in 2.4x but not working in py3): buf = bgl.Buffer(...) ls = buf[:] - fix for crash with negative index access not being clamped. - improve repr() function for multi dimensional buffers. - add back 'list' attribute, but print deprecation warning.
2011-07-17cmake: cleanup include paths, some duplicates and going up some unneeded dirs.Campbell Barton
2011-07-17cmake source definitions:Campbell Barton
remove missing includes and use more strict formatting.
2011-07-15fix for linking on mingw/scons with recent changes to mathutilsCampbell Barton
2011-07-15move mathutils into its own lib.Campbell Barton
2011-07-14many mathutils exception types were wrong, went over all exceptions in ↵Campbell Barton
mathutils and double checked the're correct.
2011-07-14Shuffle code so it compiles with MSVC too. (Array of unknown size otherwise).Nathan Letwory
2011-07-14formatting changes for python mathutils module.Campbell Barton
2011-07-14rename bgl.Buffer attribute list to a method, to_list() as used for IDProps, ↵Campbell Barton
also made repr function nicer.
2011-07-14minor changes to bgl.Buffer py classCampbell Barton
- use getset rather then getattr - remove verbose Buffer docstring, better use sphinx docs for this - replace bge.Buffer with the Buffer class and add a __new__ function to the class so it can be called. - improve error messages
2011-07-10run WM_exit(C) when blender as a python module exitsCampbell Barton
2011-07-09fix for NULL pointer usagesCampbell Barton
2011-07-09fix [#27683] Blender hangs when baking a particle system when a driver is ↵Campbell Barton
present
2011-07-04fix for own error in intersect_line_sphere_2d(), using 3d function on 2d vectorsCampbell Barton
2011-07-03fix for building WITH_PYTHON_MODULECampbell Barton
2011-06-27Minor warning cleanup & fixCampbell Barton
- comment/remove assignments from values to themselves. - add case break statements (no functional change but some source code checkers notice). - fix python errors when the sculpt brush is None.
2011-06-26more compact code for recent sphere/line intersection functions.Campbell Barton
2011-06-262d version of line/circle intersec function.Campbell Barton
2011-06-26renamed math functions and made publicCampbell Barton
lambda_cp_line --> line_point_factor_v3 lambda_cp_line2 --> line_point_factor_v2 correction to previous commit function name isect_seg_sphere_v3 --> isect_line_sphere_v3 ... since its not clipped. added a clip argument to the python version of the function.