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
2018-06-05Cleanup: pep8Campbell Barton
Use 'autopep8 --ignore E721,E722' on our UI code, only minor changes.
2017-03-19Moving classes to separate listing broke panel orderCampbell Barton
Although this wasn't so obvious since it only showed up for factory settings and in the preferences window. Panel display order depends on registration order, Sorry for the noise. On the bright side we no longer need to move classes around to re-arrange panels.
2017-03-18PyAPI: remove bpy.utils.register_module()Campbell Barton
In preparation for it being removed, see: T47811
2015-04-22Cleanup: pep8, spellingCampbell Barton
2015-04-14Cleanup: don't use single sets for comparisonsCampbell Barton
2015-02-27cleanup: typosCampbell Barton
2015-01-29Followup for previous commit: fix mismatches between menu entry and shortcut ↵Bastien Montagne
properties. For now, did most of the changes in menu entries (i.e. py space UI scripts). Note we do not get 100% same results as previously, but current situation is globally better than previous one, though the whole system to retrieve shortcuts remains a bit weak...
2015-01-29cleanup: pep8Campbell Barton
also remove empty class parenthesis
2014-04-24Code cleanup: unused python vars & importsCampbell Barton
Use frosted rather then pyflakes
2014-03-28Implement asymmetric and free handles type for masksSergey Sharybin
Summary: The title actually says it all, it's just possible to have independent free handles for mask splines. Also it's now possible to have aligned handles displayed as independent handles. Required changes in quite a few places, but they're rather straightforward. From user perspective there's one really visible change which is removed Handle Type menu from the panel. With asymmetric handles it's not clear which handle type to display there. So now the only way to change handle type is via V-key menu. Rewrote normal evaluation function to make it deal with new type of handles we support. Now it works in the following way: - Offset the original spline by maximal weight - Calculate vector between corresponding U positions on offset and original spline - Normalize this vector. Seems to be giving more adequate results and doesn't tend to self-intersect as much as old behavior used to, There're still some changes which needed to be done, but which are planned for further patch: - Support colors and handle size via themes. - Make handles color-coded, just the same as done for regular bezier splines in 3D viewport. Additional changes to make roto workflow even better: - Use circles to draw handles - Support AA for handles - Change click-create-drag to change curvature of the spline instead of adjusting point position. Reviewers: campbellbarton CC: sebastian_k, hype, cronk Differential Revision: http://developer.blender.org/D121
2014-03-19Code cleanup: de-triplicate add menu/toolbars, also style editsCampbell Barton
2014-02-18Fix T38698: In the Mask tab the Insert Key and Clear Key button labels are ↵Sergey Sharybin
switched
2014-02-17Mask: enable overlap detection by default, more compact buttonsCampbell Barton
2014-02-17Bring back mask copy/paste operator to the menuSergey Sharybin
They got lost in clip interface tab-ilization.
2014-02-14Fix for "Show Overlay" for masks always grayed outSergey Sharybin
2014-02-13Mask: add option to detect self intersectionsCampbell Barton
2014-02-13Mask: option not to treat overlapping curves as holesCampbell Barton
2014-02-07Add Tabs for Movie Clip EditorSergey Sharybin
Based on the patch from Sebastian Koenig, discussed with Jonathan Williamson https://developer.blender.org/T38172 Also removed redundant modes from clip editor. Reviewers: brecht, carter2422 Reviewed By: carter2422 CC: sebastian_k, carter2422 Differential Revision: https://developer.blender.org/D293
2014-01-27Implement clipboard for mask splinesSergey Sharybin
So now it's possible to copy-paste splines between layers. Implementation is pretty much straightforward and duplicates some logic which we've got in sequencer/tracking clipboards. Will work on a common routine for clipboards later, for now it's not so much crucial to have.
2013-11-24UI List: remove separate name text fields.Brecht Van Lommel
It was never the intention to have these separate, and now that we can rename directly in the list there is no more need for them.
2013-11-23Add ctrl-click rename to most lists in Blender UI and templates/examples.Bastien Montagne
Notes: * Did not touch to addons, that's up to the authors. ;) * Did not removed any "name" field below lists. We might want to do this in some cases (less UI clutter), but probably not always, so will let maintainers of the related areas decide here.
2013-10-14Interface / Template Lists:Thomas Dinges
* Reduce the space of more lists, should be all in bl_ui/
2013-10-12Option to overlay mask over the footageSergey Sharybin
Currently supports only two modes: - Show alpha channel of the mask - Multiply footage by the mask, which will give you final-looking combined image. TODO: Currently rasterization happens on every redraw, need to cache rasterized mask somewhere to make redraw more realtime.
2013-08-24Followup to r59434 : py UI scripts edits.Bastien Montagne
Notes: * Made those edits by full checking of py files, so I should have spoted most needed edits, yet it remains quite probable I missed a few ones, we'll fix if/when someone notice it... * Also made some cleanup "on the road"!
2013-08-23Tracking cleanupSergey Sharybin
- Collapse plane track panels by default - Hide 3D markers when in mask edit mode - Remove alpha from mask layers list Discussed with Sebastian and Roman.
2013-08-16Merge plane track feature from tomato branchSergey Sharybin
This commit includes all the changes made for plane tracker in tomato branch. Movie clip editor changes: - Artist might create a plane track out of multiple point tracks which belongs to the same track (minimum amount of point tracks is 4, maximum is not actually limited). When new plane track is added, it's getting "tracked" across all point tracks, which makes it stick to the same plane point tracks belong to. - After plane track was added, it need to be manually adjusted in a way it covers feature one might to mask/replace. General transform tools (G, R, S) or sliding corners with a mouse could be sued for this. Plane corner which corresponds to left bottom image corner has got X/Y axis on it (red is for X axis, green for Y). - Re-adjusting plane corners makes plane to be "re-tracked" for the frames sequence between current frame and next and previous keyframes. - Kayframes might be removed from the plane, using Shit-X (Marker Delete) operator. However, currently manual re-adjustment or "re-track" trigger is needed. Compositor changes: - Added new node called Plane Track Deform. - User selects which plane track to use (for this he need to select movie clip datablock, object and track names). - Node gets an image input, which need to be warped into the plane. - Node outputs: * Input image warped into the plane. * Plane, rasterized to a mask. Masking changes: - Mask points might be parented to a plane track, which makes this point deforming in a way as if it belongs to the tracked plane. Some video tutorials are available: - Coder video: http://www.youtube.com/watch?v=vISEwqNHqe4 - Artist video: https://vimeo.com/71727578 This is mine and Keir's holiday code project :)
2013-07-20Select more/less tool for mask splinesSv. Lockal
2013-06-23add missing notifiers for mask tools, some wouldn't refresh the compositor.Campbell Barton
2013-02-08Fix uilists showing data names translated (reported on bf-translations ML by ↵Bastien Montagne
Satoshi Yamasaki aka yamyam, thanks!).
2013-01-16style cleanupCampbell Barton
2012-12-28remove type checks on drawing uiList's,Campbell Barton
if the list is given the wrong item then the script needs to be fixed, better not fail silently. left in checks as commented out asserts.
2012-12-28This commit frees list ui items from their dependencies to Panel, and hence ↵Bastien Montagne
from all the limitations this implied (mostly, the "only one list per panel" one). It introduces a new (py-extendable and registrable) RNA type, UIList (roughly similar to Panel one), which currently contains only "standard" list's scroll pos and size (but may be expended to include e.g. some filtering data, etc.). This now makes lists completely independent from Panels! This UIList has a draw_item callback which allows to customize items' drawing from python, that all addons can now use. Incidentally, this also greatly simplifies the C code of this widget, as we do not code any "special case" here anymore! To make all this work, other changes were also necessary: * Now all buttons (uiBut struct) have a 'custom_data' void pointer, used currently to store the uiList struct associated with a given uiLayoutListBox. * DynamicPaintSurface now exposes a new bool, use_color_preview (readonly), saying whether that surface has some 3D view preview data or not. * UILayout class has now four new (static) functions, to get the actual icon of any RNA object (important e.g. with materials or textures), and to get an enum item's UI name, description and icon. * UILayout's label() func now takes an optional 'icon_value' integer parameter, which if not zero will override the 'icon' one (mandatory to use "custom" icons as generated for material/texture/... previews). Note: not sure whether we should add that one to all UILayout's prop funcs? Note: will update addons using template list asap.
2012-08-27Alternate mask spline feather offset calculation method: now there are 2 ↵Campbell Barton
[Even | Smooth] - Even preserves thickness but can give unsightly loops - Smooth gives nicer shape but can give unsightly feather/spline mismatch for 'S' shapes created by beziers. This is an example where smooth works much nicer. http://www.graphicall.org/ftp/ideasman42/mask_compare.png
2012-08-17rename mask 'Shrink/Fatten' --> 'Scale Feather'Campbell Barton
2012-08-13add animation buttons to mask toolbarCampbell Barton
2012-08-06Made feather self-intersection check an option.Sergey Sharybin
Useful in cases when masking stuff like self-intersecting ropes. This could probably be smarter option, but can't currently think about robust approach here.
2012-07-29style cleanupCampbell Barton
2012-07-29User Interface Scripts:Thomas Dinges
* Code cleanup, removed unneeded code. * Style cleanup, don't break lines to early (unless marked as pep8-80 or pep8-120 compliant) * Keep 1 line after layout declaration empty.
2012-07-25add mask buttons into the image spaceCampbell Barton
2012-07-25split out mask UI into their own classes.Campbell Barton