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-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23RNA: fix collection iterator issue in c++ api with msvc.Brecht Van Lommel
2011-10-21misc cleanupCampbell Barton
- remove redundant casts - replace strcmp's with "" to just check first char. - added WM_event_print(), debug mode only to print events since the structs values are not that meaningful. - added warnings if locale/font dirs cant be found.
2011-10-01add a collection function slot for assignment (not used yet).Campbell Barton
2011-09-29rna function:Campbell Barton
vecs = Camera.view_frame(scene) returns 4 points for the camera frame, without this its very hard to know if a point is in the camera view or not, without rewriting blenders internal logic in python.
2011-09-21py/rna string subtypes for strings which should be automatically translated:Campbell Barton
layout.prop("blah", text="Translate Me!")
2011-09-15fix [#28658] python can assign non utf8 and crash because of string lenth ↵Campbell Barton
limits. add BLI_strncpy_utf8() which which ensures there are no partially copied UTF8 characters, limited by the buffer size.
2011-08-30* Merge trunk up to r39790.soc-2011-pepperJoerg Mueller
* Subversion bump (also for init_userdef_do_versions). * Minor fix for compilation without ffmpeg.
2011-08-29patch [#28355] Better Environment Map scriptingCampbell Barton
from Tom Edwards (artfunkel), with minor edits. This patch makes the following improvements to environment map scripting: * Adds a "is_valid" RNA property to envmaps. True if the map is ready for use, False if it needs rendering. * Adds a "clear" RNA function to envmaps. Deletes any envmap image data. * Adds a "save" RNA function to envmaps. Writes the envmap to disc with a configurable layout. (Defaults to the current hard-coded layout.) * Updates bpy.ops.texture.envmap_save with configurable layout support as above. These changes, particularly configurable layouts, make exporting envmaps to other software much easier.
2011-08-28- use static vars and functions where possible.Campbell Barton
- use NULL rather than 0 when used as pointers.
2011-08-27- use %u rather tham %d for unsigned ints in string formatting funcs.Campbell Barton
- replace (strlen(str) == 0) with str[0]=='\0'
2011-08-013D Audio GSoC:Joerg Mueller
Adds new speaker object type. Notes: * Needs some nice icons * Quickily review by Joshua Leung (5 mins) * Properties UI updated (with help of Thomans Dinges) * Speakers have their own theme color * No real audio functionality yet. * Minor bug regarding lamps/lattices fixed in interface_templates.c I personality tested: * Creation, Deletion, Duplication * Saving, Loading * Library linking (incl. make local) * Tracking * Dope Sheet, Outliner * Animation * Drawing (incl. Theme)
2011-06-23fix for function before definition in own recent commit.Campbell Barton
2011-06-23fix [#27726] Driven properties not checked for legal UI boundsCampbell Barton
The rna set function clamps to the property range however properties with range functions were ignored when set by python or the animation system. Now call the range function for ints and floats when setting.
2011-05-26support for dynamic items in bpy.props.EnumProperty(), the items keyword ↵Campbell Barton
argument can optionally be a function rather then a list.
2011-05-18RNA: some compile fixes for C/C++ api.Brecht Van Lommel
2011-05-18RNA: make mechanism used by operators to keep python instance alive more ↵Brecht Van Lommel
generic, to be used by render engine later.
2011-04-08add new subtype PROP_COORDS, for generic coordinates that are not to be ↵Campbell Barton
changed by units.
2011-03-04quiet warnings and fix building without python.Campbell Barton
2011-02-27doxygen: blender/makesrna tagged.Nathan Letwory
2011-02-17Starting work on doxygen cleanup. Many things still to be done.Nathan Letwory
2011-02-14more vars made staticCampbell Barton
2011-02-13warning cleanup.Campbell Barton
- fix mistake with grease pencil UI (&& was intended but & used). - use (void) rather then () across _all_ blenders code. - a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
2011-02-01bugfix [#25846] Strange behaviour if index of render.layers[] is out of rangeCampbell Barton
2011-01-18bad spelling; 'indicies' --> 'indices'Campbell Barton
2011-01-16defining types via python gave confusing errors because DefRNA.laststruct ↵Campbell Barton
was being used for errors when the new property wasn't on the last struct. added CONTAINER_RNA_ID() define to get the ID from the ContainerRNA type.
2011-01-13bugfix [#25588] Not work fcurve.keyframe_points.addCampbell Barton
The problem was flag-enums were being treated as regular enums, a default value of 0 was using the first enum item, whereas with flag enums we want to be able to use 0 as a default value to specify all flags are off.
2011-01-12comment array/collection skip(), since there was some confusion in this area ↵Campbell Barton
which caused bugs on index lookups.
2011-01-11bugfix - collection index lookups was not working correctly when some items ↵Campbell Barton
were skipped.
2011-01-09remove unused vars, comment some which look like they could be useful still. ↵Campbell Barton
have makesrna.c omit unused _data definitions for rna funcs with no args.
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-06fix for error in own recent commit, r34098.Campbell Barton
2011-01-05fix for py/rna mesh.materials[:] where empty materials exist, would raise a ↵Campbell Barton
runtime exception. problem was there was no way to tell the difference between getting an empty item from a collection or the item not being found.
2011-01-04fix for makesrna error on windows where files cant be removed when open.Campbell Barton
2011-01-04print a message if the file cant be removed, may help narrow down why there ↵Campbell Barton
are problems with MSVC at the moment.
2011-01-02Spelling fix: itterator->iteratorSergey Sharybin
2011-01-01For non-gnu compilers, the __func__ doesn't exist.Ton Roosendaal
Fix for commit of 2 hours ago.
2011-01-01Bugfix #25437Ton Roosendaal
Crash in Bezier animation (inserting keys on control points in curve object). The animation rna paths were not fixed after an editmode session, which got fixed 2 weeks ago, but for all older binaries the issue can still pop up. The crash happened because the RNA array-itterator was not doing a boundary check, even whilst the array size was passed on to the itterator callbacks. With rna then writing far outside of valid memory, very bad and unpredictable corruptions happen. I've added a range check now, and a decent print to denote the issue. An assert quit is useless, since a tab-tab on curve objects will fix the channels nicely. Example of warning print: Array itterator out of range: Spline_bezier_points_lookup_int (index 30 range 2)
2010-12-31Continue from my commit r33952, which disallowed floats to be wrapped as ints.Campbell Barton
this missed some cases, now also disallow ints to be wrapped as floats. This commit also exposed a number of cases where ints/floats were incorrectly wrapped. Bugs like [#25416] wont slip through the cracks anymore.
2010-12-30Fix for bug #25367 didn't ensure the problem wasn't happening elsewhere.Campbell Barton
add a check in makesrna, found FollowPathConstraint.offset was a float wrapped as an int.
2010-12-19user report renaming file fails, print the errno error message.Campbell Barton
2010-12-19another reason to run makesrna needlessly every build is that the makesrna ↵Campbell Barton
binary is newer then the generated files.
2010-12-18workaround for build system dependency hell, fixed for cmake + makefiles ↵Campbell Barton
(probably other buildsystems too). makesrna was often generating source every build, but not updating the files because the contents wasn't changed. this happened because makefiles would check makesrna.c and rna_*.c files were newer then rna_*_gen.c and force a re-generation. Now ensure updating the files even if they dont change when makesrna.c or rna_*.c are newer then rna_*_gen.c files. Another solution for this would be to run makesrna program for each C file for finer grained deps. or remove file comparison checks but that would mean a change to any rna_*.c file would rebuild all.
2010-12-04Bugfix #24699Ton Roosendaal
Crash when deleting Shapekeys, while Graph or Dopesheet was visible. Caused by RNA collection lookup, which is not checking against index out of range errors. Brecht might have to give blessings for this though :)
2010-12-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-11-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-10-02Fix #24095: user preferences theme colors didn't match exactly with whatBrecht Van Lommel
was drawn. Problem was that these were not set to be in gamma space. Also needed to fix automatic 0..255 to 0..1 range conversion for PROP_COLOR_GAMMA, was only working for PROP_COLOR.
2010-09-24bugfix [#23965] Segmentation fault when using bpy_struct.keyframe_insert() ↵Campbell Barton
with nested custom property
2010-09-03rna api Campbell Barton
- move: material.add_texture(tex, coords, mapto) --> material.texture_slots.add() - added material.texture_slots.create(index), material.texture_slots.clear(index) - texture slot functions also work for lamp and world now. Other minor changes - allow rna functions to set FUNC_NO_SELF and FUNC_USE_SELF_ID at once. - [#23317] Changed some operators' RNA to accept lengths, a modification I made to this patch made it not work as intended, removed this edit so unit buttons appier in the UI for certain operators. - Sphinx doc gen, 2 columns rather then 3, didnt quite fit in some cases.