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
2012-11-08Added Map Taper option which if enabled maps affect of taper object onSergey Sharybin
actually beveled part of curve (previously affect of taper would have been clamped by start/end bevel factor) Here's an illustration: http://wiki.blender.org/uploads/5/5d/Blender2.65_CurveMapTaper.png
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-04use GCC's -Wpadded on DNA files, gives more useful warnings then makesdna.Campbell Barton
2012-08-22fix for blend_render_info.py not closing file & some edits to comments.Campbell Barton
2012-07-04More spell checking.Bastien Montagne
2012-06-15Ensure enums in DNA files has got explicit valuesSergey Sharybin
See http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Macros.2C_Enums.2C_Inline_functions
2012-05-05code cleanup: function naming, use BKE_*type* prefix.Campbell Barton
2012-05-04Added start and end bevel factor for curves, so now it's possible to makeSergey Sharybin
a bevelled curve which isn't fully covered with a bevel.
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-02Added option to fill caps of bevelled curves.Sergey Sharybin
It can be found in Shape panel below Fill label. If this option is enabled, caps of curve will be filled.
2011-12-30minor dna header cleanupCampbell Barton
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.