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-04-04rename mathutils.Vector/Quaternion difference() method to ↵Campbell Barton
rotation_difference() since its too vague when applied to vectors.
2011-04-02add angle wrapping functions: angle_wrap_rad(), angle_wrap_deg().Campbell Barton
use with mathutils.
2011-03-29fix [#26667] Can't import scripts when using blenderplayerCampbell Barton
- move import override initialization to bpy_internal_import.c so the player and blender can both call. - remove ineffectual & unused sandboxing code.
2011-03-28misc nodes & editors: floats were being implicitly promoted to doubles, ↵Campbell Barton
adjust to use floats. + minor update to demo_mode
2011-03-27imbuf, mathutils & readfile: floats were being implicitly promoted to ↵Campbell Barton
doubles, adjust to use floats.
2011-03-25new function RNA_warning(), replaces printf with function which may be ↵Campbell Barton
called via python. Now this gives the line number of the scripts thats running, eg: uiItemFullO: unknown operator 'some.operator' /c/bin/2.56/scripts/startup/bl_ui/space_view3d_toolbar.py:73
2011-03-19C, style changes (mostly white space edits), no functional change.Campbell Barton
2011-03-17fix for [#26524] Api autocomplete more errorsCampbell Barton
problem was caused by change in python behavior, now hasattr(val, attr) only suppresses attribute exceptions.
2011-03-14move mathutils api changelog into wiki.Campbell Barton
2011-03-08py-api utf8/filepaths:Campbell Barton
in function PyC_UnicodeAsByte(), replace code copied from python with PyUnicode_EncodeFSDefault(), new in py3.2.
2011-03-07Drop support for python 3.1.Campbell Barton
for building py3.2 on *nix see: http://wiki.blender.org/index.php?title=Dev:2.5/Doc/Building_Blender/Linux/Troubleshooting#Python also fixed possible buffer overrun with getting the fake filepath for a blender textblock.
2011-03-03fix for own error made r35267.Campbell Barton
2011-03-03further reading, need to untrack tracked PyObjects before clearing their ↵Campbell Barton
trackable vars.
2011-03-03support for mathutils GC wasn't complete since PyObject_GC_Track is supposed ↵Campbell Barton
to be called once the fields are filled in.
2011-02-28change return values from mathutils callbacks to match pythons (-1 is ↵Campbell Barton
error), so error macro's can be used in both.
2011-02-27doxygen: blender/python tagged.Nathan Letwory
2011-02-25remove warning left in by mistake and comment unused function.Campbell Barton
2011-02-24revert part of own commit r35117 which modified mathutils initialization ↵Campbell Barton
functions, found this could be done in a better way which doesnt have to deal with partly initialize instances being freed.
2011-02-24support pythons cyclic garbage collector for mathutils types.Campbell Barton
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-22last commit used py3.2 function, inline for py3.1Campbell Barton
2011-02-22pyapi, use direct access to the frame rather then python attributes.Campbell Barton
2011-02-21I swear, it was just an innocence change in guardedalloc!Nathan Letwory
The butterfly wing flap, causing a nice storm in the rest of blender. Now all dependencies should point ok again. CMakers, do double-test.
2011-02-21doxygen: entry for gpu, modifiers, nodes, python and renderNathan Letwory
2011-02-18py api was raising SystemError exception incorrectly, this is intended for ↵Campbell Barton
internal interpreter problems. Replace most with RuntimeError.
2011-02-16fix [#26098] python API: quaternion.rotate never seems to work.Campbell Barton
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-14SVN maintenance.Guillermo S. Romero
2011-02-14python api renaming and added headers for some files which didnt have one, ↵Campbell Barton
no functionality change.
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-02-13enforce string limits (reported by pedantic checking tools & some developers).Campbell Barton
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf(). also fix possible crash if CWD isnt available.
2011-02-12fix for more warnings.Campbell Barton
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array. - use BLI_snprintf rather then sprintf where the size of the string is known. - particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
2011-02-09use static functions rather then defines for internal ↵Campbell Barton
matrix__apply_to_copy() and similar. + other minor internal changes.
2011-02-08fix [#25975] Quaternion/Vector.negated() isn't availableCampbell Barton
theres no need for value.negated(), better use -vec / -quat. however -quat didn't exist.
2011-02-08fix own error in recent commit [#25970] cannot create scale matrix after ↵Campbell Barton
mathutils updates
2011-02-06mathutils.Matrix.Scale(factor, size, axis)Campbell Barton
- 'axis' arg was not coerced from a tuple like other args now do. - 'axis' arg was being modified in-place (VERY BAD). - also made new function matrix_3x3_as_4x4().
2011-02-06- cmake was missing an inclide (IDE's wouldnt index)Campbell Barton
- made doc generation always sumlink newly built docs to static URL. http://www.blender.org/documentation/250PythonDoc/
2011-02-05mathutils fixes noticed when refactoring.Campbell Barton
- comparing eulers was ignoring the order. - printing Euler()'s now prints the order too. - un-orderable types (all except for Vector's), were not raising an exception when compared with >=, >, <, <=.
2011-02-05mathutils rotate functions for Euler/Quaternion/Matrix/Vector types.Campbell Barton
each accept Euler/Quaternion/Matrix types. eg: Euler.rotate(Quaternion(axis, angle)) Vector.rotate(Euler((pi/2, 0, 0))) matrix.resize_4x4() and euler.make_compatible() were still returning an instance of themselves, now return None.
2011-02-05Rename python mathutils functions and split in-place methods from those that ↵Campbell Barton
return new values. http://wiki.blender.org/index.php/Dev:2.5/Source/Python/Mathutils This completes the changes proposed. This will break scripts (fixing coming up next), for full list of changes see mathutils.c comments.
2011-02-04swap Matrix.Shear(...) arguments so matrix size is the second argument, ↵Campbell Barton
matching other constructors.
2011-02-04mathutils.Matrix.OrthoProjection(plane, size, axis), merged axis and plane ↵Campbell Barton
args. since axis was only allowed when plane was 'R'. This was already done with Matrix.Rotation().
2011-02-04small mathutils changes.Campbell Barton
- fix for returning empty slices (was returning list rather then tuple). - report invalid type when mathutils_array_parse_fast() fails.
2011-02-04PyAPI: coerce mathutils values. (vectors, quats, eulers) as proposed here:Campbell Barton
http://wiki.blender.org/index.php/Dev:2.5/Source/Python/Mathutils#Coerce_Method_Arguments
2011-02-01correct fix for bug #23871, __main__ module was being overwritten in nested ↵Campbell Barton
functions, so on returning from calling operators the __main__ module could be cleared and imported modules turn into None calling bpy.ops.wm.read_factory_settings() ... would clear a scripts namespace if running directly, not in a module. Fix by backing up and restoring the __main__ module. Also found BKE_reportf wasnt printing all reports in background mode as BKE_report() was doing.
2011-02-01Pythons path functions - os.walk(). os.path.exists(). etc support bytes for ↵Campbell Barton
paths as well as strings, support this with blender/rna too. - bpy.data.*.load() functions were only accepting UTF-8 paths. - rna functions/properties now accept byte values rather then strings for file paths. - bpy.path.resolve_ncase now supports byte objects.
2011-01-30remove nan-makefilesCampbell Barton
2011-01-25small internal cleanup, have matrix.scale_part() use same method to extract ↵Campbell Barton
the scale as matrix.decompose()
2011-01-25use cmake defined names for jpeg, png, zlib and python libs, building on ↵Campbell Barton
*nix with non-standard libjpeg/png/zlib locations was broken. in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
2011-01-23bugfix + minor mathutils.Vector edits.Campbell Barton
- multiplying a 2D vector by a 3x3 or 4x4 matrix would use un-initialized memory, now throw an exception. - use more variable length array BLI_math functions.