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-02fix [#28786] Large enum lists display columns in inverted order (right to left)Campbell Barton
also cleared annoying intel c++ warnings.
2011-10-01support for object data material assignment in pythonCampbell Barton
eg: bpy.context.object.data.materials[0] = bpy.data.materials["SomeMaterial"]
2011-10-01add a collection function slot for assignment (not used yet).Campbell Barton
2011-09-21Minor: Other UI strings typos and tweaks.Bastien Montagne
2011-09-19/blender/makesrna: Removed final points in UI strings and messages.Bastien Montagne
Plus a few splits of very long lines…
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-02Merging trunk up to r38932.Joerg Mueller
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-07-31fix for material slot removal (r38879)Campbell Barton
- The object ID was being passed to the data_delete_material_index_id() from object_remove_material_slot(), rather then the object data. (so the material slot fix wouldnt run in that case). - add support for fixing text object materials too.
2011-07-31bugfix [#28111] material.pop breaks mt->mat_nrDalai Felinto
create a new parameter for materials.pop() to not remove material slot. this way the mat_nr is still the old one. for the default behaviour we now have material remapping (i.e. data_delete_material_index_id(id, index)). This new function is brought from the material_slot remove function.
2011-06-262d version of line/circle intersec function.Campbell Barton
2011-06-26Fix in texts for Mesh.materials.pop()Dalai Felinto
found by accident while studying how to append materials from python ;)
2011-05-31tag unused rna args.Campbell Barton
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-05-18RNA: pass Main rather than Context to register/unregister callbacks.Brecht Van Lommel
2011-04-19Some strings to store ID names were too small, could cause stack corruption.Campbell Barton
corrected these and replaced 'sizeof(((ID *)NULL)->name)-2' with 'MAX_ID_NAME-2'.
2011-03-03replace 0 with NULL when used as a pointerCampbell Barton
2011-02-27doxygen: blender/makesrna tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-16rename IDPropertyGroup to PropertyGroupCampbell Barton
also renamed IDProperty to PropertyGroupItem (these are not referenced for common usage and we already have 'Property' defined).
2011-02-07rename ID.update() --> update_tag() since this function only tags for ↵Campbell Barton
updating and scene.update() executes the update.
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-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-03rna/apiCampbell Barton
move Object.update(...) to ID.update(). since depsgraph update function can now be called on ID types. also changed how update flags work. obj.update(scene, 1, 1, 1) ... is now obj.update({'OBJECT', 'DATA', 'TIME'}) Don't pass scene anymore. This was used for recalculating text but I think this is better dont in a different function.
2010-12-17Bugfix #25264Ton Roosendaal
Bad user counting went on, ID users could be set zero whilst having Fake user set. Also ensured the code using the BKE calls for increment/decrement.
2010-12-07pass along the context to extension functions, this was already being done ↵Campbell Barton
in all cases except for the render engine. this allows python to NULL its internal context while scripts are not running.
2010-12-06use BLI_strnlen rather then strlen when comparing against fixed lengths.Campbell Barton
2010-12-04Give functions that use printf style formatting GCC format attributes so if ↵Campbell Barton
incorrect formatting is used the compiler will warn of this. found & fixed 2x incorrect formatting args.
2010-10-24bugfix [#24357] Font folder can be specified but is not openedCampbell Barton
- open operator was incorrectly checking if the font path was set. - rna ID editable check was also incorrect, checking the ID name rather then the filename. - use define FO_BUILTIN_NAME rather then "<builtin>".
2010-09-24bugfix [#23965] Segmentation fault when using bpy_struct.keyframe_insert() ↵Campbell Barton
with nested custom property
2010-09-03use set as a suffix (matches operators)Campbell Barton
- set_frame() --> frame_set() - set_context_pointer() --> context_pointer_set() material adding works for curves and metaballs, new function to remove materials. materials.link() didnt well fit how this is used elsewhere - order matters - it can be linked more than once. - remove(material), isnt that useful since you need to manage indicies. ... use list style functions instead. materials.append(mat) / materials.pop(index)
2010-08-19- Properties from base classes are now registered too, this allows class ↵Campbell Barton
mix-in's to define properties. An example of how this is useful - an importer mixin could define the filepath properties and a generic invoke function which can run the subclasses exec for each selected file. - Panels and Menus now skip the property check when registering. - renamed _idproperties_ to _idprops_ in function names, function names were getting very long.
2010-08-18rna renaming, still only adjusting properties that wont be animated (at ↵Campbell Barton
least its very unlikely).
2010-06-11rna apiCampbell Barton
- ParticleHairKey.location can now be set (object space location). - Library.parent was set to ID type.
2010-06-02rename some rna properties filename --> filepathCampbell Barton
* filename == "foo.ext" * filepath == "/path/to/and/including/foo.ext" this was alredy followed in some places not not everywhere.
2010-04-22rna: added lib.parent access and made filename editable.Campbell Barton
2010-03-24remove unused rna includesCampbell Barton
2010-03-11rna/py api function for removing ID blocks, id.unused_clear()Brecht Van Lommel
(revision 27409 from render25 branch)
2010-02-12correct fsf addressCampbell Barton
2010-02-11batch remove .'s used with RNA_def_struct_ui_textCampbell Barton
2010-02-08Warning fixes, one actual bug found in sequencer sound wave drawing. AlsoBrecht Van Lommel
changed some malloc to MEM_mallocN while trying to track down a memory leak.
2010-01-11* Restored font selection functionality with open font and unlink font ↵Matt Ebb
operators, so you can change the font of 3D text objects.
2010-01-04object.group_users, object.scene_usersCampbell Barton
utility functions to find the groups and scenes this object is used in. button to set the group location from the cursor (UI is horrible but not any nice place to add?) smarp project would fail if there were linked meshes in the scene, made ID.tag ignore the library, so you can tag linked data since its only for tools to use. normalize the vertex normal before setting and use inline vector functions.
2009-12-22quite a few python panels (10 or so) had names longer then the PanelType ↵Campbell Barton
allowed, for panels it would fail silently but for menu's it meant further references would give errors. increase the registered class name from 32 to 64 and raise an error if the limit reached.
2009-12-14edits to the bone copy metarig type from Cessen, pointcache warning fixCampbell Barton
2009-12-14patch [#20342] Notifier patch for modifier rename and particle system renameMatt Ebb
by 'ThatHaze'. thanks!
2009-12-10give IDPropertyGroups's an identifier so they can display text in the ↵Campbell Barton
listview, hardcoded to "name"
2009-11-26After talking with Matt about this, added notifier NC_ID to handle ID ↵Elia Sarti
changes, specifically ND_ID_RENAME for ID renaming. Done for outliner, 3d view and properties editor.
2009-11-18Revert of ID Notifier, as requested by Matt. Thomas Dinges