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-12-11remove unused function, found when syncing with bmesh, also remove/comment ↵Campbell Barton
some unused defines
2011-12-04add define for deprecated DNA struct members: DNA_DEPRECATED,Campbell Barton
this means use of deprecated struct members gives a warning. - makesdna.c preprocessor skips this. - DNA_DEPRECATED_ALLOW is used so readfile.c can do versioning without warnings. - this exposes some use of deprecated struct members, will deal with this after.
2011-11-24Fix #29369: bpy.data.curves.new(name= "test" , type = 'SURFACE') does not ↵Sergey Sharybin
create a surface This issue it totally related on issue with changing object datablock. For curves it used to guess object type from curve datablock based on count of control points in V direction. This quess fails in case when SurfCircle datablock is trying to be reused by another surface object or as another sample empty surface databouck used to be treated as curve. Store type in Curve when creating new Curve datablock which is used in this object type quessing function. Note: Previously saved files wouldn't change behavior at all.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-08-04Bassam Feature Request: "Auto Clamped" handles can now be set perJoshua Leung
handle/key This used to be a weird per-curve setting which would happen to get applied/work correctly if handles were set to "auto", and was a source of constant confusion for both old and new animators. The main effect of this handle-type/option was really to just ensure that auto-handles stayed horizontal, instead of tilting as the keys were moved. This commit simply changes this from a per-curve to per keyframe/handle setting.
2011-02-17DNA header files are now grouped under the same module. No further ↵Nathan Letwory
documentation done.
2011-02-01New Keyframe Type: "Jitter"Joshua Leung
While doing some animation work over the past few days, I found that it would be useful to be able to tag keyframes as a another type yet: "jitter" for fill-in secondary motion (i.e. blinks/hand-keyed camera shake). Of course, what you really use these for is up to you, but this is one more option when you need it :)
2011-01-05Todo item: linked curve objects behaves incorrect with modifiersSergey Sharybin
Use object's displists for storing deformed tesselated curve. Was unable to totally get rid of curve's displist because of how texture space is calculating.
2010-12-20Fix #25315: Curve points keyframe changes made in edit mode get lostSergey Sharybin
ED_curve_updateAnimPaths now updates fcurves from animation data rather than from local copy of curves: nurb and point index from keyIndex data gets updated in this function and for correct handling undo stuff copy of fcurves is stored in UndoCurve. Additional changes: - Revert of rev33640 and more proper fix: do not copy remained spline-related rna fcurves after renaming pathes but all the rest fcurves woulddbe copied back to animation data - Refresh graph and dopesheet editor after updating animation data
2010-12-06Curves CV animationSergey Sharybin
=================== Update fcurves RNA pathes after making changes to curve topology, so animation will no longer lost after edit and wouldn't lead to crash. Will be very useful for RotoBezier addon. Also NodeKeyIndex renamed to CVNodeIndex due to node is an entity from another module and better not used in others.
2010-12-04Maintenance, Campbell Barton
- remove some redundant declarations - changed VertexTangent and Path structs to avoid compiler alignment padding.
2010-12-03fix for some pedantic warnings.Campbell Barton
2010-11-21fix for RNA ranges exceeding the range of the type (INT_MAX used on short's ↵Campbell Barton
for eg).
2010-09-21bugfix [#23923] extra material slots createdCampbell Barton
2010-08-12fix for the rna curve interpolation enum, 'ease' was using the same value as ↵Campbell Barton
Bezier.
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-06bugfix [#19525] Curve modifier moves mesh geometry firstCampbell Barton
more of a request then a bug but shows up a strange limitation with curve deform modifier, The mesh bounding box would set the deform axis start/end to map the deformation of the curve to. This means it ignored offset in the object location and object data location (you could use a dummy vertex to trick it). Old files wont change, added an option (next to stretch), called 'Bounds Clamp', old files have this behavior but newly made curves have it disabled. Double checked this gives useful results with stretch on/off and negative axis.
2010-07-302.5: remove vertex normal flip option, this is more harmful than helpfulBrecht Van Lommel
in many cases, and also gave incorrect rim lighting.
2010-07-25Shapekeys for curves/surfecesSergey Sharybin
Fix #21498: Edit curve Shape key /252_r 27318 Added full support of shape keys for curves and nurbs surfaces including topology changing in edit mode, undo stuff, updating relative keys when working under basis and so on.
2010-07-20- correct some spelling errors.Campbell Barton
- remove FreeCamera struct (wasnt used) - remove world color alpha values (not used anywhre).
2010-07-14- text3d was missing menu items for toggling bold/underline/italic/smallcaps.Campbell Barton
- made smallcaps use a temp flag so caps can still have the smallcaps flag. - utility function for getting the char from a font. find_vfont_char(), was inline in ~5 places. - removed CU_STYLE mix of flags only used in one place, not needed. removed 'style' from rna too. - fix for some warnings.
2010-07-14- make duplis real wasnt redrawingCampbell Barton
- small caps option for titles (doing manually is quite painful to watch).
2010-04-30Highlight last selected point in curve/surface edit mode.Sergey Sharybin
Curve->lastselbp field was renamed to Curve->lastsel and now not last either BPoint or BezTriple is storing here. It's not easy to determine type of selected point, but operator which depends on such point reviews the full nurbs, so this shouldn't be a problem. Made changes to curve undo stuff to restore last selected point on undo/redo. Added new theme color for curve last selected point.
2010-04-21option to use curve point weights to influence particle effectors.Campbell Barton
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-17"Fill deformed" option for 2D curvesSergey Sharybin
Add new option named "Fill deformed". If this option is switched on. 2D curve will be first deformed by modifiers and only then be filled with faces.
2010-02-12correct fsf addressCampbell Barton
2010-02-01Bugfix #19970: auto-clamped / auto working strangly in f-curve editorJoshua Leung
Fixed the operators for DopeSheet/Graph Editors responsible for setting the "auto-clamped". This option is actually per F-Curve instead of per handle, and the code here should function like it did in 2.4x However, despite this, it still appears to work oddly IMO. Any comments Bassam or animators familiar with the intentions of this?
2009-10-15made texflag a short everywhere (only stores one flag)Campbell Barton
fix for crash with separate (missing NULL check)
2009-09-212.5 - Keyframes can now be marked as 'extremes' in addition to 'breakdowns'Joshua Leung
* Extremes are shown as red/pink diamonds * I've changed the order of extremes and breakdowns in the code to make for nicer sizing/ordering. This might break a couple of files out there, but it shouldn't be too many. TODO: Still on my todo is to make these tags more useful (i.e. less likely to be overwritten by keyframing)
2009-09-12Use curve radius for pathsCampbell Barton
- use_radius option, off by default for 2.4x files, on by default on new curves. - curve deform modifiers (think tentacles) - follow path (parent mode and constraint) - curve guides - added back Alt+S to scale point radius - Mat3Scale and Mat4Scale arithb.c functions to make a new uniform scale matrix. - TODO, effectors, looks like they have no way to scale from the radius yet.
2009-09-12new struct PathPoint for each path element (replaces float[4]), Paths now ↵Campbell Barton
store radius and quaternion Added optional quat and radius args to anim.c's where_on_path(...), currently unused. also cleanup some warnings.
2009-09-11curve twistCampbell Barton
* added new twist method - "Tangent", suggested by Martin. the nice thing about this is its stable no matter how you rotate the data, rotation is local to each segment. * added smooth option that smooths the twisting (before applying user twist), to workaround Z-Up and Tangent's ugly curve twisting. Id prefer not to have this however it makes tangent much nicer. Possibly tangent can be improved some other way and this can be removed. A smooth value of 1.0 will iterate over and smooth the twisting by the resolution value of the spline. * Minimum-Twist method now corrects for cyclic twist by taking the roll difference between first and last, then increasingly counter rotate each segment over the entire curve. Previously it calculated from both directions and blended them. details * BevPoints use quats rather then 3x3 matrix. * added BevPoint direction "dir" and tangent "tan" used only for 3D curves. * don't calculate BevPoint->cosa, BevPoint->sina for 3D curves. * split bevel tilt calculation into functions. * nurbs curves currently don't generate tangents and wont work with tangent twist method. * some of the use of quats should be optimized. * smoothing is not animation safe, the higher the smoothing the higher the likelyhood of flipping.
2009-09-11svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r23043:23119Campbell Barton
2009-09-10Curve cleanupCampbell Barton
Renamed BevPoint's members * x,y,z -> vec[3]; compatible with other functions. * f1 -> split_tag; used by displist to set the splitting flag. * f2 -> dupe_tag; used in curve.c to remove duplicates. BevList * flag -> dupe_nr; was being used as a counter for duplicate points. * use arithb.c functions where possible. * arrays for coords, tilt and radius were being allocated, then copied into the BevPoint's, now write directly into the values without allocing/freeing arrays.
2009-09-08Curve/Surface Editing Campbell Barton
- rename "Nurb" to "Spline" in RNA, eg. bpy.data.curves[0].splines[2].type == 'NURBS' from a user perspective spline is a more generic term while Nurb is misleading when used for beziers and poly lines. - added curve.active_spline property so the python UI can display the last selected curve. - set the active spline when entering editmode (uses first selected spline) - added back Hide Handles as a curve property (removed the global flag), access from the view panel in editmode. - added hide normal option for curve, normal size access for curve and mesh display. - changing orderU/V, endpoints, cyclic, bezierU/V now work in editmode and calls update functions. - entering editmode was crashing with text objects - curve.switch_direction() crashed (own fault from last commit) - Tkey for tilt was overridden by Toolbar, made Tilt Ctrl+T. - OBJECT_OT_mode_set check for compatible modes before running - so curves dont try go into paint mode with V key for eg.
2009-09-08Made Nurb->type only store the type rather then mixing the type with flags.Campbell Barton
moved CU_2D to Nurb->flag in do_versions This made simple type checks confusing to read. many... if( (nu->type & 7)==CU_BEZIER) replaced with ... if(nu->type == CU_BEZIER) made setting rna curve_2d clamp the Z values. still more RNA/UI changes to do.
2009-09-07svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r23023:HEADCampbell Barton
2009-09-07svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22935:23022Campbell Barton
looks like 2 merges are needed to skip a commit.
2009-09-07no functional changes, use hole rather then dutch 'gat' for bevel lists and ↵Campbell Barton
made some comments English.
2009-09-05Option to correct for 3D curve twist error. example before and after.Campbell Barton
http://www.graphicall.org/ftp/ideasman42/curve_auto_twist.png Access next to the "3D" edit button. details... - open curves use the first points orientation and minimize twist for each new segment. - cyclic curves calculate the least twist in both directions and blend between them - AxisAngleToQuat replaced inline code. - Notice the model on the right now has more even corners. added Vec3ToTangent to arithb.c.
2009-09-042.5 - Keyframe Types for DopeSheetJoshua Leung
It is now possible to tag certain keyframes as being 'breakdowns' in the DopeSheet. Breakdown keyframes are drawn as slightly smaller blue diamonds. Simply select the relevant keyframes and use the RKEY hotkey (or from the menus, Key->Keyframe Type) to choose between tagging the keyframe as a 'proper' keyframe and a 'breakdown' keyframe. Notes: * Please note that this feature does not currently imply anything about breakdowns moving around keyframes or behaving any differently from any other type of keyframe * In future, if there is any such need, more keyframe types could be added, though this is not really likely at all
2009-06-20NLA SoC: Conversion fixes - Curve 'Speed' Curves + Constraints Joshua Leung
These fixes get the 'pathJumper.blend' file from our testing suite workable in 2.5 (with a few minor tweaks still needed *) Changes required: - Added a 'ctime' var to curve structs for storing the value that used to be obtained by specially evaluating the 'speed' curve when evaluating objects parented to the curve. This can now be animated as a 'proper' var as per normal. - Added a special hack for detecting constraint blocks, as the old method resulted in paths for Objects instead... (*) Issues: - Unfortunately, the paths still don't work out of the box. For some reason, the constraint names in the paths are spelt incorrectly - "Ar" and "Br" instead of "Ap" and "Bp". I'm not sure where this problem is coming from, but changing the paths manually in the Datablocks viewer fixes this error... - I noticed that in the buttons view, only 1st of the constraints gets shown. This seems a bit like some of the intermittent problems I've had with some arrays/lists not expanding properly in Datablocks view.
2009-03-182.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r18677:19317 Notes: * Sequence transform strip uses G.scene global, this is commented out now, should be fixed. * Etch-a-ton code was most difficult to merge. The files already in 2.5 got merged, but no new files were added. Calls to these files are commented out with "XXX etch-a-ton". editarmature.c and transform_snap.c were complex to merge. Martin, please check? * Game engine compiles and links again here for scons/make/cmake (player still fails to link).
2009-02-02Animato RNA wrapping:Joshua Leung
It's about time that the RNA wrapping for various parts of the animation system were cleaned up for my recent changes. I've moved some code around (and/or deleted a file or two) in the process.
2009-01-262.5Ton Roosendaal
Added add-primitive for Curve objects. Shift+A, works as usual in our outside editmode.
2009-01-232.5Ton Roosendaal
Font object + editing back. Was quite some work due to a myriad of globals all over! Works nicely 100% local now. To enable a single textedit operator, I've added a new keymap entry KM_TEXTEDIT, which gives all keyboard events to the handler. Also had to add a new keymap-add function to force a keymap handler in beginning of region handlers. In future this can be used to prioritize handlers. Also: split off the arrow keys (frame change) to a separate region level handler. Can be set with default flag in regiontype->keymapflag ED_KEYMAP_FRAMES
2009-01-182.5 - AnimSys Data management stuff...Joshua Leung
* Removed nAction struct. We'll be using good ol' bAction structs again, but putting new data in a different list. Apart from that, the data is similar enough to do so. * Rearranged code in DNA_action_types.h while renaming the structs to avoid confusion over what is currently in use... * Added freeing and AnimData execution loops for many other ID-types too. (NOTE: I've added AnimData in NodeTree struct too, but it's not clear to me where the relevant data-management calls should go in Nodes code). * File writing code should now only write the new data to files
2009-01-142.5Ton Roosendaal
Another one back: editcurve.c - removed global editNurb everywhere (cu->editnurb now has listbase with edit data) - also added 'active bpoint' and 'active nurb' in Curve struct - editmode in/out works, mouse/border select works
2009-01-022.5Ton Roosendaal
From the anti-globalization department: G.obedit terminated! Wherever possible, use CTX_data_edit_object(C) to get this now. It's stored in scene now, and the screen context has it defined.