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-08-12Code cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,Brecht Van Lommel
is now just as fast anyway with delayed flush.
2011-05-10Fix #27217: Bézier control points moves bizarreSergey Sharybin
Re-calculate handles after applying transform matrix on curve object This commit is'n fixing changing of curve shape whe nyou're deforming it (as it was intially reported) but just adds needed handles recalculation. Handles are calculated correct in that "unneded deformed" curve.
2011-05-03replace OBJECT_OT_location_apply, OBJECT_OT_scale_apply, ↵Campbell Barton
OBJECT_OT_rotation_apply with OBJECT_OT_transform_apply with 3 boolean options. added back menu item from 2.4x to apply Rotation & Scale.
2011-04-20fix [#27006] Apply Scale at a B-Bone Skeleton causes rescale of B-Bones and ↵Campbell Barton
offset of attached objects
2011-03-27object/paint/misc-files: floats were being implicitly promoted to doubles, ↵Campbell Barton
adjust to use floats. - also UV angle stretching was using radians->deg which wasn't needed.
2011-03-22fix for crashes moving armature layers and applying loc/scale/rot in ↵Campbell Barton
armature editmode.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27pedantic warning cleanup, also remove texspace_edit() since its been added ↵Campbell Barton
using a different method.
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
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-09fix [#25994] Meshes with no vertices gets NaN location on setting origin to ↵Campbell Barton
geometry
2011-02-02- some parts of the code to remove rotation were not removing axis/angle ↵Campbell Barton
rotation (only functional change of this commit). - use BLI_math functions for removing rotations from objects and pose channels. - add unit_axis_angle() to avoid setting the Y axis inline anywhere rotation needs removing.
2011-01-26- Clear rotation for objects now works on delta transforms too. TheJoshua Leung
only case that doesn't fully work yet is the one where quats/axis- angle are converted to eulers first. - Fixed incorrect comment - Removed obsolete "armature_clear" var from clear origin operator. This was some ancient stuff from 2.4x code that ended up getting ported across...
2011-01-26Refactoring object clear-transform operators to remove out the commonJoshua Leung
parts, like what was done for posechannel clear-transform operators earlier. There shouldn't be any functional changes.
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.
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-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-11-05incorrect poll function for clearing/applying loc/rot/scale.Campbell Barton
Without an active object it wasn't possible to clear location on the selected objects for eg.
2010-10-25Fix #24255: Multires object gets modified when joining it to another ↵Sergey Sharybin
multires object. Fix #22018: joining objects with different multires levels loses levesl from the higher multires object - Synchronyze mulires subdivision level when joining objects - Apply scale on MDISP layer when applying scale - Re-calculate MDISP when joining scaled objects
2010-10-25bugfix [#24376] Fly mode disturbs the rotation or scale of the camera objectCampbell Barton
2010-10-15tag UNUSED() for operator exec() and invoke() functions.Campbell Barton
2010-10-14bugfix [#21959] 'Apply rotation' to scaled object behaves wrongCampbell Barton
2010-09-30Cleanup of Auto-Keyframing code:Joshua Leung
Moved duplicated code out to a special new function so that this doesn't need to be copied all over for each transform op that needs this.
2010-09-30Bugfix #23707: Autokey Available is ignored on a Clear TransformJoshua Leung
Second attempt at fixing. Last time, I missed the case where the "Only Insert Available" userpref was enabled, which was why the bugreport was reopened. Hopefully I haven't missed anything else...
2010-09-07Bugfix #23707: Autokey Available is ignored on a Clear TransformJoshua Leung
Checks are now done to see if only the active KeyingSet should be used instead of always using a hardcoded value only.
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-08remove unused includesCampbell Barton
2010-08-03set origin was setting surfaces as 2D curves, added dupli-group support ↵Campbell Barton
using the dupli's offset value.
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-08-01bugfix'sCampbell Barton
[#23108] bpy.ops.object.origin_set(type='GEOMETRY_ORIGIN') dosen't work in console [#23115] Crash when moving armature origin - setting the armature in editmode would leave editdata in some cases. - transforming selected linked objects to account for the movement of the obdata was only done for meshes, now do for curves and text3d. - added utility functions for getting curve & mesh bounds. - text3d moving center wasn't working at all. - changed drawobject.c to use BLI_math funcs in more places. - remove some unused code from operator object.origin_set.
2010-07-31use more BLI math funcs (no functional changes)Campbell Barton
2010-07-24bugfix [#22941] set object center/origin on a linked duplicate causes linked ↵Campbell Barton
copied to become unselectable in viewport
2010-07-20- correct some spelling errors.Campbell Barton
- remove FreeCamera struct (wasnt used) - remove world color alpha values (not used anywhre).
2010-06-11Deny applying location/rotation to 2D curve - such transformation couldSergey Sharybin
make points have non-zero local z-coordinates, which is confusing for 2D.
2010-04-24sub_v3_v3v3 --> sub_v3_v3 (where possible)Campbell Barton
2010-04-15Make memstat easier to read, add missing Intel ID and cleanups.Guillermo S. Romero
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-20merge own commits into render branch into trunk since 27560Campbell Barton
27562, 27570, 27571, 27574, 27576, 27577, 27579, 27590, 27591, 27594, 27595, 27596, 27599, 27605, 27611, 27612, 27613, 27614, 27623
2010-03-16== Massive Keying Sets Recode ==Joshua Leung
After a few days of wrong turns and learning the finer points of RNA-type-subclassing the hard way, this commit finally presents a refactored version of the Keying Sets system (now version 2) based on some requirements from Cessen. For a more thorough discussion of this commit, see http://sites.google.com/site/aligorith/keyingsets_2.pdf?attredirects=0&d=1 ------ The main highlight of this refactor is that relative Keying Sets have now been recoded so that Python callbacks are run to generate the Keying Set's list of paths everytime the Keying Set is used (to insert or delete keyframes), allowing complex heuristics to be used to determine whether a property gets keyframed based on the current context. These checks may include checking on selection status of related entities, or transform locks. Built-In KeyingSets have also been recoded, and moved from C and out into Python. These are now coded as Relative Keying Sets, and can to some extent serve as basis for adding new relative Keying Sets. However, these have mostly been coded in a slightly 'modular' way which may be confusing for those not so familiar with Python in general. A usable template will be added soon for more general usage. Keyframing settings (i.e. 'visual', 'needed') can now be specified on a per-path basis now, which is especially useful for Absolute Keying Sets, where control over this is often beneficial. Most of the places where Auto-Keyframing is performed have been tidied up for consistency. I'm sure quite a few issues still exist there, but these I'll clean up over the next few days.
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-17bugfix [#20639] BF25_SVN_25888 and below - OBJ and 3DS import failsCampbell Barton
blender supports type changing for textures in a way that python doesnt. add a new general function. Example usage: tex = bpy.data.textures.new("Foo") tex.type = 'IMAGE' tex = tex.recast_type() Macro to give the number of users accounting for fake user. ID_REAL_USERS(id) Use this so you can remove a datablock if it has a fake users as well as apply transformations to it in the 3D view. Move api function bpy.data.add_texture() --> bpy.data.textures.new()/remove()
2010-01-16generic operator menu was searching for "type" and using the first enum ↵Campbell Barton
property if it wasnt found. this is too arbitrary and could break if roperty order is changed. store the property in the operator type that is to be used for menu and enum search func's. python function for searching operator enums on invoke. (just need dynamic python enums now) wm.invoke_search_popup(self)
2010-01-03bugfix [#20528] Crash when applying scale to a Bezier curveCampbell Barton
2009-12-19fix for non Euler-XYZ rotations...Campbell Barton
- Camera to 3D view didnt check for rotation order. - Fly mode didnt check for rotation order. added util functions. - object_apply_mat4(ob, mat4); applies a 4x4 matrix to an objects loc,scale,rot (accounting for rotation modes) - object_mat3_to_rot(ob, mat3, use_compat); apply a 3x3 matrix to the objects rotation, option to use a euler compatible with the existing euler.
2009-12-13clear loc/size/rot wasnt updating child transformations, also removed some ↵Campbell Barton
warnings
2009-12-04Fix for [#20203] Linked objects - A few bugsMatt Ebb
Did a lot of cleaning Object operator poll functions to check if the object's linked or not. For this, added the function ED_operator_object_active_editable() as opposed to ED_operator_object_active()
2009-12-04Finish renaming job in Set Center operator to use Origin instead of Center.Martin Poirier
Also replace ObData by Geometry and Object Geometry after talk with Matt.
2009-11-28Rename 'Object Center' to 'Centroid'. This makes the Center/Center Cursor ↵William Reynish
etc popup menu much easier to understand.