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-05-16Usual i18n/UI messgaes fixes...Bastien Montagne
2016-05-08Cleanup: warningsCampbell Barton
2016-05-08GPencil Onion Skinning: Setting before/after to -1 will turn off ↵Joshua Leung
onionskinning in that direction This is an experimental option that I found would have been useful to have, when making my earlier anim test. The only contentious point is whether it's better to use a separate boolean flag (perhaps bound to the labels) instead of overloading this setting (and describing the usage in the tooltip).
2016-05-08Tweaks for a tooltip I missed during earlier review for D1886Joshua Leung
2016-05-08D1886: GPencil - Add smooth iterations parameter to get better qualityAntonio Vazquez
After some test, a new iteration parameter has been added in order to apply repetitive smoothing to the stroke. By default 1 iteration is applied, but can used any number between 1 and 3. The repetition uses different levels of intensity from 100% of the defined smooth factor for the first loop, 50% for the second and 25% for the third. We use in each loop a smaller value in order to avoid deform too much the stroke.
2016-05-08Code Cleanups: A bunch of tweaks to tidy up things from the GPencil Fill patchJoshua Leung
2016-05-08D1705: Fix Grease Pencil Fill for Concave ShapesAntonio Vazquez
Improve filling for concave shapes using a triangulation of the stroke. The triangulation information is saved in an internal cache and only is recalculated if the stroke changes. The triangulation is not saved in .blend file. Reviewers: aligorith Maniphest Tasks: T47102 Differential Revision: https://developer.blender.org/D1705
2016-03-27GPencil: Smooth and Subdivision variable/setting namingJoshua Leung
On second thought, these might be better names for these... I'm still not 100% happy with these, but they will do for now. (Best results currently seem to be with smooth 0.7, and subdivision steps 1 or 2)
2016-03-27Improve grease pencil stroke qualityAntonio Vazquez
Improve the quality of current grease pencil strokes adding a new dynamic smooth and subdivision. The level of smooth and subdivide can be adjusted using UI parameters. These options are disabled by default in order to keep the grease pencil stroke compatible with any existing add-on. Both parameters are defined at layer level. Reviewers: aligorith Differential Revision: https://developer.blender.org/D1866
2016-02-08GPencil: Layers with alpha = 0 should not be editableJoshua Leung
* Added a new API function to test if a GPencil layer is visible or not * Replaced all editability checks with this new "super check" * Replaced all magic number thresholds for opacity visiblity with a single define
2016-02-08Code Cleanup: Use bool instead of int for "setactive" paramJoshua Leung
2016-02-08Fix: Renaming Grease Pencil layers doesn't update the Dopesheet Channels RegionJoshua Leung
2015-12-13Cleanup: style/warningsCampbell Barton
2015-12-13Grease Pencil: Merge GPencil_Editing_Stage3 branch into masterJoshua Leung
This commit merges all the work done in the GPencil_Editing_Stage3 branch as of ef2aecf2db981b5344e0d14e7f074f1742b0b2f7 into master. For more details about the changes that this brings, see the WIP release notes: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.77/GPencil
2015-10-06Cleanup: return PROP_EDITABLE rna flagCampbell Barton
Harmless, since the flag happens to be 1.
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-04-20Fix: "show_points" setting for Grease Pencil drawing didn't workJoshua Leung
As reported by zeffi, the "show_points" option was not working in master. It probably broke recently, after some changes meant that the point sizes weren't geting set prior to drawing these points anymore. Since this was originally added as a debugging tool (though it is now somewhat redundant due to the stroke editing functionality, which uses/exposes the same points), this option wasn't really that important. I have decided to add back a toggle for this to the UI though, since it can be used for some interesting effects...
2015-04-17Fix for Grease Pencil and negative framesJoshua Leung
While investigating T44412, I noticed some weirdness going on when trying to draw on frame 0 (i.e. strokes were getting added to frame 1 instead). Clearly, this seemed like an off-by-one error related to clamping to prevent negative frames which was also excluding frame 0. This commit reverts the fixes made for T36831 in: rBf18f2fbb33d90ecc91e6f3d063cb9f97f217e808 After thinking this over, I think these checks against drawing on negative frames aren't needed. Even if the current userpref setting doesn't allow navigating to negative frames, this may not be true for other users that may work on the same file (in a team environment). Also, negative frame values can get set via the dopesheet.
2014-12-27GPencil UI: Color swatches for both Stroke and Fill colors are now shownJoshua Leung
The layers list and the Dopesheet channels now show color swatches for both the stroke and fill colours now. This is useful when you've got layers that only use either/or. * Currently, these only get shown if the relevant opacity setting is high enough for that aspect to contribute to the result. * The sizing of these items could do with some more tweaking (especially in the Dopesheet), as these may now be too small to accurately see and/or interact with. * There are some potential issues when using near-gray (or actually, colours similar to the list backgrounds, but that issue exists in other areas of Blender anyway. (NOTE: At this stage, these changes are still experimental, and not for 2.73 yet)
2014-11-30Grease Pencil - Storyboarding Features (merge from GPencil_EditStrokes branch)Joshua Leung
This merge-commit brings in a number of new features and workflow/UI improvements for working with Grease Pencil. While these were originally targetted at improving the workflow for creating 3D storyboards in Blender using the Grease Pencil, many of these changes should also prove useful in other workflows too. The main highlights here are: 1) It is now possible to edit Grease Pencil strokes - Use D Tab, or toggle the "Enable Editing" toggles in the Toolbar/Properties regions to enter "Stroke Edit Mode". In this mode, many common editing tools will operate on Grease Pencil stroke points instead. - Tools implemented include Select, Select All/Border/Circle/Linked/More/Less, Grab, Rotate, Scale, Bend, Shear, To Sphere, Mirror, Duplicate, Delete. - Proportional Editing works when using the transform tools 2) Grease Pencil stroke settings can now be animated NOTE: Currently drivers don't work, but if time allows, this may still be added before the release. 3) Strokes can be drawn with "filled" interiors, using a separate set of colour/opacity settings to the ones used for the lines themselves. This makes use of OpenGL filled polys, which has the limitation of only being able to fill convex shapes. Some artifacts may be visible on concave shapes (e.g. pacman's mouth will be overdrawn) 4) "Volumetric Strokes" - An alternative drawing technique for stroke drawing has been added which draws strokes as a series of screen-aligned discs. While this was originally a partial experimental technique at getting better quality 3D lines, the effects possible using this technique were interesting enough to warrant making this a dedicated feature. Best results when partial opacity and large stroke widths are used. 5) Improved Onion Skinning Support - Different colours can be selected for the before/after ghosts. To do so, enable the "colour wheel" toggle beside the Onion Skinning toggle, and set the colours accordingly. - Different numbers of ghosts can be shown before/after the current frame 6) Grease Pencil datablocks are now attached to the scene by default instead of the active object. - For a long time, the object-attachment has proved to be quite problematic for users to keep track of. Now that this is done at scene level, it is easier for most users to use. - An exception for old files (and for any addons which may benefit from object attachment instead), is that if the active object has a Grease Pencil datablock, that will be used instead. - It is not currently possible to choose object-attachment from the UI, but it is simple to do this from the console instead, by doing: context.active_object.grease_pencil = bpy.data.grease_pencil["blah"] 7) Various UI Cleanups - The layers UI has been cleaned up to use a list instead of the nested-panels design. Apart from saving space, this is also much nicer to look at now. - The UI code is now all defined in Python. To support this, it has been necessary to add some new context properties to make it easier to access these settings. e.g. "gpencil_data" for the datablock "active_gpencil_layer" and "active_gpencil_frame" for active data, "editable_gpencil_strokes" for the strokes that can be edited - The "stroke placement/alignment" settings (previously "Drawing Settings" at the bottom of the Grease Pencil panel in the Properties Region) is now located in the toolbar. These were more toolsettings than properties for how GPencil got drawn. - "Use Sketching Sessions" has been renamed "Continuous Drawing", as per a suggestion for an earlier discussion on developer.blender.org - By default, the painting operator will wait for a mouse button to be pressed before it starts creating the stroke. This is to make it easier to include this operator in various toolbars/menus/etc. To get it immediately starting (as when you hold down DKEy to draw), set "wait_for_input" to False. - GPencil Layers can be rearranged in the "Grease Pencil" mode of the Action Editor - Toolbar panels have been added to all the other editors which support these. 8) Pie menus for quick-access to tools A set of experimental pie menus has been included for quick access to many tools and settings. It is not necessary to use these to get things done, but they have been designed to help make certain common tasks easier. - Ctrl-D = The main pie menu. Reveals tools in a context sensitive and spatially stable manner. - D Q = "Quick Settings" pie. This allows quick access to the active layer's settings. Notably, colours, thickness, and turning onion skinning on/off.
2014-10-15Bugfix T42225: Python - GreasePencil.active incorrectly accepts GreasePencil ↵Joshua Leung
type instead of GPencilLayer
2013-12-12RNA: Add pixels property typeScott Petrovic
2013-09-30lots of operator descriptions were incorrectly copy/pasted.Campbell Barton
update some descriptions, others were removed and operators tagged as internal. add a script to detect duplicate operator descriptions.
2013-09-29Fix [#36859] Grease Pencil - Frames.new() doesn't create frame if ↵Bastien Montagne
frame_number <= 0 Related to [#36831] (r60412), RNA was still forbidding negative frame numbers...
2013-08-03add versions of MEM_reallocN, MEM_recallocN which take a string arg so new ↵Campbell Barton
allocs have an ID, changing existing functions signatures would be too disruptive at the moment.
2013-05-09UI naming consistency:Thomas Dinges
* DopeSheet -> Dope Sheet. No need to glue the words together. Only changed comments and UI strings, no functional changes. Request by Dalai Felinto.
2013-03-25More new data names translation (most cases should be covered now).Bastien Montagne
Also done a few cleanup here and there...
2013-03-16Assorted small fixesJoshua Leung
* Incorrect comment (copy+paste error) in nla_edit * Whitespace in rna_gpencil * The icon for AnimData is now attached to its RNA definition
2013-03-07use bool for rna funcs.Campbell Barton
2013-01-31GPencilStrokePoints.add() - use MEM_recallocN to initialize newly created pointsDan Eicher
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-29style cleanup: also quiet harmless compiler warning.Campbell Barton
2012-10-26Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a ↵Bastien Montagne
few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-09And more UI messages fixes...Bastien Montagne
2012-10-08quiet msvc warning & allow zero arguments to add functions.Campbell Barton
2012-10-08Grease Pencil py-apiDan Eicher
* new/remove for GPencil frames/strokes/ * add/pop for points * clear for frame/layer & grease_pencil * copy for frame + fix for free_gpencil_frames() not clearing the active frame
2012-10-05Grease Pencil notifier/listener cleanupDan Eicher
As suggested by Campbell on the IRC gave grease pencil its own notifier type (NC_GPENCIL) and made the makesrna notifier functions actually update properly. Also got the #ifdef'd GreasePencil.layers.[new/remove] functions working.
2012-09-22code cleanup: make many functions staticCampbell Barton
2012-08-30fix [#32433] Grease Pencil Layer color & Color ManagementCampbell Barton
2012-05-12style cleanup: mostly whitespace in rnaCampbell Barton
2012-03-18Code style edits (mostly spliting long lines, and removing trailing spaces).Bastien Montagne
Note about long lines: I did not touch to two pieces of code (because I don’t see any way to keep a nicely formated, compact code, with shorter lines): * The node types definitions into rna_nodetree_types.h * The vgroup name functions into rna_particle.c
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-06Code cleanup in rna files (huge, higly automated with py script).Bastien Montagne
Addresses: * C++ comments. * Spaces after if/for/while/switch statements. * Spaces around assignment operators.
2012-03-04Many i18n fixings, based on [#30428] [2.62] Translation Issues.Bastien Montagne
In fact, most "UI special cases" are not well translated, currently. :/ This affects especially the "Properties" panels. This commit should address problems in Graph editors, and 3D View (but probably not yet all of them). Yet it already adds more than 100 new messages (and fixes translated drawing of more). Also done some style edits…
2011-10-22header cleanup and typo'sCampbell Barton
2011-10-13ensure grease pencil layer names are unique when set through rna.Campbell Barton
2011-09-19/blender/makesrna: Removed final points in UI strings and messages.Bastien Montagne
Plus a few splits of very long lines…
2011-08-12Bye bye vile relics of extinct version control systems,Joshua Leung
Causing a flurry of refresh file prompts post-commit, Confusing local diffs and causing merge conflicts, Stating the obvious; redundant and useless... We shall not miss thou, blasted expand $keywords$
2011-04-19Whitespace/typosJoshua Leung