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
2012-01-13fix for error comparing py-struct membersCampbell Barton
if 2 pyrna structs used the same pointer they could incorrectly compare as true, this caused an error in theme saving because an item could match its parent and stop writing (to prevent recursive writing of same data). eg: context.user_preferences.themes[0].user_interface.wcol_regular == context.user_preferences.themes[0].user_interface
2012-01-12remove redundant trailing slashesCampbell Barton
2012-01-11add RNA_property_is_set function, use for WM_menu_invoke to avoid double ↵Campbell Barton
lookup and py api to de-duplicate some checks
2012-01-11rename RNA_property_is_set() --> RNA_struct_property_is_set() in preperation ↵Campbell Barton
to add a second version of the function which takes the property rather then its name.
2012-01-11Longer names support for all ID and other object namesSergey Sharybin
This commit extends limit of ID and objects to 64 (it means 63 meaning characters and 1 for zero-terminator). CustomData layers names are also extended. Changed DNA structures and all places where length constants were hardcoded. All names which are "generating" from ID block should be limited by MAX_ID_NAME-2, all non-id names now has got own define called MAX_NAME which should be used all over for non-id names to make further name migration stuff easier. All name fields in DNA now have comment with constant which corresponds to hardcoded numeric value which should make it easier to further update this limits or even switch to non-hardcoded values in DNA. Special thanks to Campbell who helped figuring out some issues and helped a lot in finding all cases where hardcoded valued were still used in code. Both of forwards and backwards compatibility is stored with blender versions newer than January 5, 2011. Older versions had issue with placing null-terminator to DNA strings on file load which will lead to some unpredictable behavior or even crashes.
2012-01-09Cycles: multi GPU rendering support.Brecht Van Lommel
The rendering device is now set in User Preferences > System, where you can choose between OpenCL/CUDA and devices. Per scene you can then still choose to use CPU or GPU rendering. Load balancing still needs to be improved, now it just splits the entire render in two, that will be done in a separate commit.
2012-01-05add bpy collection method .find(key), so you can get the index of an item in ↵Campbell Barton
a collection, -1 if not found. use this to replace bge text ui py function.
2012-01-03fixes to mathutils from Andew HaleCampbell Barton
- docstring edits - normalize ignores W axis as its supposed to.
2012-01-02slice and iterator access for matrix.col/row so you can do...Campbell Barton
a, b = mat.col[0:2] and... for a in mat.col: ...
2011-12-30PyAPI - remove Matrix.row_size / col_size. these were rather awkwardly ↵Campbell Barton
named, but its more clear to use len(). mat.col_size --> len(mat.row) mat.row_size --> len(mat.col)
2011-12-29py - fix for error which made enums not through errors when assigned non ↵Campbell Barton
string types
2011-12-29add UNLIKELY / LIKELY util defines to help optimize iterators that are ↵Campbell Barton
called a lot, only defined for gcc at the moment. also some cmake formatting edits.
2011-12-28Scons/FFMPEG:Thomas Dinges
* Fixing compile error, ffmpeg include was missing.
2011-12-28WIP loading bmesh in trunk, some conversion functions for this purpose.Campbell Barton
2011-12-28Add FFmpeg libraries versions to system-info.txtSergey Sharybin
2011-12-28for bpy.props, when 'name' argument is not initialized, vallback to the ↵Campbell Barton
attribute name rather than an empty string.
2011-12-26formatting edits only to use more consisted styleCampbell Barton
2011-12-26formatting edits & minor correctionsCampbell Barton
2011-12-26fix for a bug in mathutils when a vector was accessing a matrix and the ↵Campbell Barton
matrix size increased, future access too the vector would write past the allocated bounds. now raise an exception.
2011-12-25use docstrings for mathutils getset's, also some formatting edits, no ↵Campbell Barton
functional changes.
2011-12-24picky formatting of mathutilsCampbell Barton
2011-12-24mathtils, convenience attributes added 'row' and 'col', this makes the ↵Campbell Barton
row/col swap a lot easier to deal with, since now you can still use column access previously... mat[2] = 1, 2, 3 needed to be converted into... mat[0][2] = 1 mat[1][2] = 2 mat[2][2] = 3 but with column access you can do... mat.col[2] = 1, 2, 3 Having 'row' attribute is a bit redundant since direct indexing on a matrix uses row but included for completeness.
2011-12-24fix for error with matrix access and negative indices with recent row/col swap.Campbell Barton
2011-12-24mathutils get/set function rename + minor changes to matrix functions (no ↵Campbell Barton
functional changes)
2011-12-24minor edits to cycles c/python moduleCampbell Barton
- rename 'bcycles' --> '_cycles', since this is the python convention when a py module uses a C module internally. - use macros for returning None - make with_osl an attribute rather then a function. - changes methods METH_VARARGS --> METH_O when single args are used.
2011-12-24formatting edits 120 line lengthCampbell Barton
2011-12-23fix for own mistake [#29031] Importing BGL Can Crash the BGE and BlenderCampbell Barton
was adding the Buffer type to the module without increffing
2011-12-22fix for matrix assignment with recent changes which broke for eg:Campbell Barton
ob.matrix_world = matrix
2011-12-22patch [#29534] Change Matrix Representation and Access in Python to Conform ↵Campbell Barton
with Standard Notation from Andrew Hale Scripts which access matrix row/columns directly and scripts that create new matrices with elements defined will need updating. For more info see... * Guide for updating scripts http://wiki.blender.org/index.php/User:TrumanBlending/Matrix_Indexing * Discussion thread http://markmail.org/message/4bpqpxkcvq4wjyfu
2011-12-22Matrix.translation wrapper vector, continent accessing to matrix[3][0:3].Campbell Barton
this is a part of patch 29534, being applied separately from patch [#29534] Change Matrix Representation and Access in Python to Conform with Standard Notation by Andrew Hale (trumanblending)
2011-12-22split some >120 lines, no functional changesCampbell Barton
2011-12-22cleanup and some fixes to mathutils by Andrew HaleCampbell Barton
* 1. Resize 4x4, code was ridiculously complex (cleanup only) * 2. matrix * matrix checking for compatibility wasn't working right (bug in last release) * 3. fix for result size for matrix * vector if matrix is 4x4 and vector size 3 (bug in recent patch) * 4. fix for result size vector * matrix if matrix is 4x4 and vector size 3 (bug in recent patch)
2011-12-21fix for mathutils mat*vec for non sqyare matrices by Andrew HaleCampbell Barton
2011-12-20recent commit missed swapping args for MATRIX_ITEM in mathutils_Vector.c, ↵Campbell Barton
breaking matrix*vector.
2011-12-20patch [#29662] Modifications to Mathutils Vectors for Consistency with ↵Campbell Barton
Commit 42752 from Andrew Hale
2011-12-20rename internal matrix struct member vars to avoid confusionCampbell Barton
Matrix.contigPtr --> matrix Matrix.row_size --> num_col Matrix.col_size --> num_row
2011-12-20__str__ functions for other mathutils typesCampbell Barton
2011-12-20patch [#29651] Add a __str__ Method to Matutils Matrices so print(matrix) ↵Campbell Barton
Shows Columns as Columns from Andrew Hale converted from python string formatting to using BLI_dynstr
2011-12-19corrections to some commentsCampbell Barton
2011-12-19- mathutils matrix creation - use memcpy rather than copying every matrix ↵Campbell Barton
row/col individually. - creating a new non-square matrix would use uninitialized memory.
2011-12-19remove mathutils internal variable for storing pointers to each matrix row, ↵Campbell Barton
instead use macros to access row/column's. also add an assert so invalid index access will raise an error in debug mode, without this it was quite easy to access invalid memory without meaning to. no functional change.
2011-12-18formatting edits in py api, no functional changesCampbell Barton
2011-12-18Support for arbitrary sized vectors - (was limited by 2-4 previously)Campbell Barton
patch http://codereview.appspot.com/5482043 from Andrew Hale * Text from the submission * This patch adds the ability to use arbitrary sized vectors from mathutils. Currently vectors are only of size 2, 3 or 4 since they are generally restricted to geometric applications. However, we can use arbitrary sized vectors for efficient calculations and data manipulation.
2011-12-17style edit only - move parenthesis onto second line of function definition ↵Campbell Barton
(in keeping with most of blenders code) also split some long lines in own code.
2011-12-16fix own error [#29631] frame is lost from driver namespace after reloadCampbell Barton
2011-12-16fix [#29635] Attempts to import the site module are met with a TypeError ↵Campbell Barton
exception.
2011-12-14fix for py noise doc string (not a show stopper :) )Campbell Barton
2011-12-10fixes scale on derivative mapsMorten Mikkelsen
2011-12-07fix for noise module in driver namespace (was infact mathutils).Campbell Barton
2011-12-03add library support for rna collection __contains__, egCampbell Barton
("Cube", "//lib.blend") in bpy.data.objects