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-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-16Bugfix: Browing Pose Libs should work now... RNA wrapping was missingJoshua Leung
an "editable" flag there
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-01-28More logical ordering of Empty draw types. Made Plain Axes default forDaniel Salazar
new empties
2011-01-23correct own bad spellingCampbell Barton
2011-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
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-07patch [#25440] Object.vertex_group fixin'Campbell Barton
from Dan Eicher (dna) From the tracker (with minor edits) ======================== cube = bpy.data.objects['Cube'] foo = cube.vertex_groups.new('foo') foo.add([1,3,5,7], 1.0, 'ADD') for i in range(len(cube.data.vertices)): try: weight = foo.weight(i) print('vert: %i weight: %f' % (i, weight)) except: pass foo.remove([1,3]) cube.vertex_groups.remove(foo)
2010-12-30revert part of Tons commit r33884.Campbell Barton
- rather then use unlink="None", just don't pass unlink as a keyword. This is more pythonic. - added an RNA flag for properties which cant be unlinked by setting to None.
2010-12-21modified fix for commits r33811, 33812.Campbell Barton
- SSS Presets were not working on pinned materials. - added ability for save-presets to define variables to stop them becoming too verbose. - remove object.active_node_material
2010-12-20Bugfix #25301Ton Roosendaal
Material Node trees: SSS wasn't displaying in Nodes. Implementation notes: - Currently copying local data for preview render, only copies the base material. Node materials are re-used. - This causes data to be in 2 "main" databases... complex. - To make it work for preview, I had to add another loop in the SSS code that checks the original Main dbase. That's marked as warning in code to be fixed up. Another bug: - Material properties "SSS presets" copied settings to the active material, not to the displayed one. Added RNA call to retrieve this from Objects. (Next commit will fix preset scripts)
2010-12-19Bugfix [#25298] Nasty group cycle that creates crash blend files isJoshua Leung
allowed Infinite recursion (manisfesting as a crash) occurred when trying to set the dupli-group setting on an object, when the object is a member of the group being set. Added a check and warning for this in RNA to prevent such setups from occurring in future. Todo: The warning report is currently only printed to console as I can't quite remember how to grab reports pointer without context/operator pointer available.
2010-12-19bugfix [#25290] Align on text gives a tracebackCampbell Barton
[#25284] Traceback error on "System Info" script - Align was only working on mesh objects, now operate on all objects, missing boundbox's are treated as single points. - obj.bound_box was returning all nan's for object types with no boundbox. - ENUM_FLAG type enums were showing no text when displayed in operator redo panel.
2010-12-16missed this file before (de-duplicating enum).Campbell Barton
2010-12-11Small fix: Ton Roosendaal
Material Properties: adding new materials didn't create a new preview icon for it.
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-12-05Object transparency setting should only show on MESH typeDaniel Salazar
2010-12-01fix for some mistakes in recent commit.Campbell Barton
2010-11-30minor rna changesCampbell Barton
- set matrix values not to be animatable - some matrix values were still accessed as 1d arrays.
2010-11-18fix [#24780] Metaballs are not drawn correctly in new scenes Campbell Barton
this is a can of worms, at the moment blender depends on broken behavior for metaballs: find_basis_mball() can return a metaball object that fails a is_basis_mball() check which makes this logic very confusing (added note about this in mball.c). Metaballs needs a refactor however at least make drawing fail consistently, For wire draw is_basis_mball() wasn't being checked, for solid drawing it was (hence the strange wire frame). For now the motherball needs to exist in the main scene else it wont work.
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-11-17bugfix [#24761] minor bug - Modifiers don't "catches" Vertex Group renaming ↵Campbell Barton
automatically
2010-11-15- 'matrix_basis' for objects and pose bones, this is an alternative access ↵Campbell Barton
to directly adjusting the loc/scale/rot. - pose bone 'matrix_local' wasn't well named since it didn't work like object or regular bones. - pose bone matrix values for rna had array access rather then 4x4 matrix access. note: for pose bones update scripts by renaming 'matrix_local' --> 'matrix_basis'
2010-11-10[#24627] [minor] Object type is TEXT, but icon names are FONTCampbell Barton
change object.type enum name TEXT for FONT to match icon and ID type names.
2010-11-09bugfix [#24616] Apply Visual Transform doesn't always apply locationCampbell Barton
- object updates were not being flushed, so children weren't updating. - apply the matrix relative to the parent, added this as an option to object_apply_mat4() which allows assigning the worldspace matrix in python without worrying about the parent.
2010-10-25bugfix [#24376] Fly mode disturbs the rotation or scale of the camera objectCampbell Barton
2010-10-13bugfix [#23899] renderlayers are not working properlyCampbell Barton
was missing button for single layer rendering. also renamed Object.show_shape_key to Object.show_only_shape_key since this pin's the shape key so others are disabled.
2010-10-05Fix #24135: Material modification not immediately updated in OutlinerSergey Sharybin
Also fixed outliner update when changing active_material_index from Py and when selecting texture from UI
2010-09-21fixed filename overwrite red highlight not updating when +/- pressed.Campbell Barton
also made some vars not animateable.
2010-09-18Fixed problems with outliner update in same cases caused by my previous commit.Sergey Sharybin
This troubles were caused by "break" of ND_OBJECT case in outliner area listener, so not all cases were handled. Handle more data and actions in outline listener, but not refresh when it's actually unneeded (there where problems with it without that "break" -- extra refreshing could be made).
2010-09-16- bone roll now in degrees not radians.Campbell Barton
- rna buttons with units set now use the units base value for snapping. - bone head/tail radius could be set negative. matt: removed a check in ui_is_but_unit() which made angle buttons return false, what was this for?
2010-08-31rna support for passing dynamic sized arrays to rna functionsCampbell Barton
using this for object.vertex_groups.assign([index list ...], group, weight, mode)
2010-08-29BGE patch #22623 applied: new bound type: Capsule.Benoit Bolsee
2010-08-28Fix #23363: Layer buttons do not update when last object deletedSergey Sharybin
This happend because of incorrect order of calculating used layer mask and drawing header. Added layer content changed notifier to recalc used layers when needed. This also fixes header redrawing in "Move to layer" operator and when user changes Object.layers in properties view
2010-08-27rna apiCampbell Barton
obj.add_vertex_group() --> obj.vertex_groups.new() obj.add_vertex_to_group() --> obj.vertex_groups.assign() note: obj.vertex_groups.assign() will be very slow, need to have this take a list rather then 1 vertex at a time.
2010-08-24py/rna remove functions now all work in a similar way.Campbell Barton
- some remove() functions took an int argument rather then the item to remove. - disallow None argument. - raise an error if the item isnt in the collection.
2010-08-24move more active variables to be nested in collections.Campbell Barton
2010-08-22remove inline loops in a few placesCampbell Barton
replace with defgroup_find_name() and BLI_findstring()
2010-08-20rna data path names which are more likely to break animations.Campbell Barton
Added an operator "Update Animation Data", access from the search menu to update drivers and fcurves.
2010-08-19rna renaming FModifier & GameObjectSettingsCampbell Barton
2010-08-18rna renaming, still only adjusting properties that wont be animated (at ↵Campbell Barton
least its very unlikely).
2010-08-17apply rna rename most of the show_*, names.Campbell Barton
2010-08-17apply logic brick rna renamingCampbell Barton
2010-08-11correction for mis-named DupliObject.object_matrix -> matrix_originalCampbell Barton
2010-08-10- Enable shape key switching in edit mode for curves, surfaces and latticiesSergey Sharybin
- Disable changing of lattice size if there are shape keys
2010-08-03pointer poll functions for object's, mainly for modifiers, constraints.Campbell Barton
Lattice modifier only shows lattices types, Shrink wrap only meshes etc.
2010-08-03rna pointer poll function, not used yet.Campbell Barton
2010-08-012.5: code changes to reduce the usage of G.main and pass it alongBrecht Van Lommel
or get it from the context instead.
2010-07-17- added text3d.body_format to be able to set bold/italic/smallcaps etc on text.Campbell Barton
- the length of a new text object wasnt set on creation. - tex3d and controllers rna name was being set to its body (rather then ID name) - remove reference to wave objects which are very old and not used anymore.