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
2016-06-21Cleanup: rename curve align-x flagsCampbell Barton
2016-06-21Text Object: Vertical AlignmentDalai Felinto
A new option for Font/Text objects vertical alignment: * Top Base-Line (current mode) * Top * Center * Bottom The Top is the equivalent as the Top-Baseline with an empty line at the begin of the text. It's nice to have this option too though, since if we are driving the alignment via Python we don't want to add extra lines to the text only to accomodate to the desired vertical alignment. The Center and Bottom are as intuitive as their name suggest. When working with text boxes, the vertical alignment only work for paragraphs that are not vertically full. Many thanks to Campbell Barton (ideasman42 / @campbellbarton) for the code review, code comments, and overall suggestions and changes :) Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D2061
2016-06-01Increase range of Font object textboxsDalai Felinto
The current values were arbitrary. I'm keeping them as ui_range, but internally there is no reason we can't use larger values.
2016-03-04Docs: include mathutils.interpolateCampbell Barton
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-10-23Cleanup: rename 'datablocks' -> 'data-blocks'Campbell Barton
Similar to addons -> add-ons, for reading it fits better to hyphenate.
2015-10-16Fix for missing id_lib_extern, assigning ID'sCampbell Barton
2015-09-21RNA: angle step-sizes were too smallCampbell Barton
These were ignored previously, so it wasn't noticeable.
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-06-17Cleanup: duplicate includesCampbell Barton
2015-03-18Fix RNA active spline assignmentCampbell Barton
2014-05-26Fix for curve having invalid active vertex after setting typeCampbell Barton
also allow passing NULL vertex to BKE_curve_nurb_vert_active_set
2014-05-15Fixes for font underlineCampbell Barton
- underline faces had flipped winding by default. - BKE_vfont_to_curve_ex disallowed 0 underline height (annoying when sliding value) - disallow negative underline height since it flips underline direction (just change position + height)
2014-05-12A bit more helpful doc strings on the curve render resolution properties.Lukas Tönne
2014-04-28Patch T39855: Icons for Interpolation Types (and Robert Penner easing)Joshua Leung
This patch adds icons for each of the keyframe interpolation types (including the easing equations), as well as icons for the easing type options. Icons made by: Paulo José Oliveira Amaro (pauloup) Reviewed by: Joshua Leung, Thomas Beck
2014-04-24Fix the classification + ordering of a few of the easing typesJoshua Leung
After recently reading through Robert Penner's original descriptions of these easing equations for some other work I've been doing, I realised that the ordering I introduced earlier was slightly off (with regards to sine and circular types). This commit recitifies these issues.
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-31Usual UI messages fixes...Bastien Montagne
2014-03-28Bevel Factor MappingLukas Treyer
Bevel Factor Mapping allows to control the relation between bevel factors (number between 0 and 1) and the rendered start and end point of a beveled spline. There are three options: "Resolution", "Segments", "Spline". "Resolution" option maps bevel factors as it was done < 2.71, "Spline" and "Segments" are new. * "Resolution“: Map the bevel factor to the number of subdivisions of a spline (U resolution). * "Segments“: Map the bevel factor to the length of a segment and to the number of subdivisions of a segment. * "Spline": Map the bevel factor to the length of a spline. Reviewers: yakca, sergey, campbellbarton CC: sanne Differential Revision: https://developer.blender.org/D294
2014-03-26Code cleanup: style and warningsCampbell Barton
2014-03-21Patch T22084: Robert Penner Easing Equations for FCurvesJoshua Leung
This commit introduces support for a number of new interpolation types which are useful for motion-graphics work. These define a number of "easing equations" (basically, equations which define some preset ways that one keyframe transitions to another) which reduce the amount of manual work (inserting and tweaking keyframes) to achieve certain common effects. For example, snappy movements, and fake-physics such as bouncing/springing effects. The additional interpolation types introduced in this commit can be found in many packages and toolkits (notably Qt and all modern web browsers). For more info and a few live demos, see [1] and [2]. Credits: * Dan Eicher (dna) - Original patch * Thomas Beck (plasmasolutions) - Porting/updating patch to 2.70 codebase * Joshua Leung (aligorith) - Code review and a few polishing tweaks Additional Resources: [1] http://easings.net [2] http://www.robertpenner.com/easing/
2014-02-23Fix T38769: Python missing access to text materialsCampbell Barton
2014-02-09UI: use proportional option while dragging buttonsCampbell Barton
2014-02-03Fix T38450: Remove unused Children Offset optionSergey Sharybin
This option was only exposed to the interface and internally was doing basically nothing. Removing it to prevent artists from being confused.
2014-01-15Fix a bunch of UI string issues...Bastien Montagne
2014-01-05Fix own error in recent changes curve text storage,Campbell Barton
Setting via rna crashed.
2014-01-05Text3d: fix font family feature for unicode and correct tooltipCampbell Barton
2014-01-04RNA API: use bool's for enum itemf callbacks.Campbell Barton
2014-01-03Text3d: store number of characters and utf8 length separatelyCampbell Barton
EditFont's use of Curve.len was very confusing, in editmode it represented the number of characters, in object mode the number of bytes. add Curve.len_wchar and keep track of both. Also don't convert the editmode text into utf8 on every keystroke. Now this is done on exiting editmode or save - to match most other object types. This also fixes curves 'body_format' being reported with an invalid size.
2013-12-17'Transform' Python Function for armature, curve and lattice.Campbell Barton
patch by Paolo Acampora with some edits.
2013-10-31code cleanup: warningsCampbell Barton
2013-09-20code cleanup: quiet rna warnings, remove remove_strict_flags() for cmake/rna.Campbell Barton
also set_source_files_properties() wasn't working for rna_*_gen.c files, set dna.c and generated data files with generated property too.
2013-09-12code cleanup: set enums as static or add RNA_enum_types.h where they are ↵Campbell Barton
used elsewhere. also minor style cleanup.
2013-08-15Fix #36384: Inconsistent curve fill behaviourSergey Sharybin
Creating new splines via Python API didn't take curve dimension into account. Now adding new splines will set 2D/3D flag for spline according to curve's dimension.
2013-07-04fix [#35984] no way to know if a datablock is in editmodeCampbell Barton
the report explains the issue in detail, but basically you couldn't know if a mesh was in editmode without checking all the objects that use it. add `is_editmode` readonly property for all datatypes which support editmode. also make rna fail to build on implicit function declarations.
2013-05-28fix [#35543] Bezier curve width and twist fail to apply when more than 1 ↵Campbell Barton
point is edited
2013-04-22Fix #35039: two other issues with curve capsSergey Sharybin
- Skip filling caps if spline is cyclic - Use hard limit of 1024 for curve resolution
2013-04-09fix [#34902] Unicode decode error in Python console when completing a method ↵Campbell Barton
name of text object in edit mode
2013-04-08Fix #34875: 0 digits of precision was not supported for FloatProperty, nowBrecht Van Lommel
you can specify precision=0 for this, and use -1 for the default 2.
2013-03-20add option to convert grease pencil into poly line directly.Campbell Barton
Without this, bezier curves at 12 resolution are very high detail for many tasks when converted from freehand strokes. so add the option to convert 1:1 grease pencil points to curve polygons. also add use_handles option to curve conversion which is used when converting beziers to poly lines.
2013-03-07use bool for rna funcs.Campbell Barton
2013-02-21Dependency Graph: some refactoring which should have no user visible impactBrecht Van Lommel
besides performance in some cases. * DAG_scene_sort is now removed and replaced by DAG_relations_tag_update in most cases. This will clear the dependency graph, and only rebuild it right before it's needed again when the scene is re-evaluated. This is done because DAG_scene_sort is slow when called many times from python operators. Further the scene argument is not needed because most operations can potentially affect more than the current scene. * DAG_scene_relations_update will now rebuild the dependency graph if it's not there yet, and DAG_scene_relations_rebuild will force a rebuild for the rare cases that need it. * Remove various places where ob->recalc was set manually. This should go through DAG_id_tag_update() in nearly all cases instead since this is now a fast operation. Also removed DAG_ids_flush_update that goes along with such manual tagging of ob->recalc.
2013-02-02style cleanupCampbell Barton
2012-11-12Minor spell fix (only one this week, yeah!).Bastien Montagne
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-11-07code cleanup: use min/max functions rather then macros.Campbell Barton
2012-11-02all remove functions now invalidate the RNA objects passed, to help script ↵Campbell Barton
authors to avoid bugs with accessing removed data.
2012-10-26style cleanupCampbell Barton
2012-10-21A final bunch of UI messages fixes and tweaks, and some ↵Bastien Montagne
BKE_report()<->BKE_reportf() fixes.
2012-10-20More UI messages fixes and tweaks, and BKE_report<->BKE_reportf.Bastien Montagne