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
2017-03-02Remove tons of OBACTDalai Felinto
There are now only referenced in: * drawobject.c * particle_edit.c * space_image.c (a single case to be handled on workspace branch) * rigidbody_constraint.c (to be handled in the following commit)
2016-12-28Various UI message and API doc tweaks and fixes.Bastien Montagne
Mostly from patch D2256 by Aaron Carlisle (@Blendify), thanks!
2016-08-04UI: Correct tooltips for properties region toggle OPJulian Eisel
Now all consistent and using term "properties region" instead of "properties panel". Ideally we had a more generic operator for all those. Fixes T49006.
2015-11-10Fix T46711: view3d UI limits not scaled w/ sceneCampbell Barton
With the scene scale set to 0.001, buttons were clamped to 10m.
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-08-13Add real boundbox support to lattice, and update armature one.Philipp Oeser
* draw lattice boundingboxes in 3dView [if "show_bounds" is used -- an option previously pretty useless for lattices] * give proper values for lattice objects ".bound_box" in bpy * give proper values for armature objects ".bound_box" in bpy * lets users use "Dimensions" [in 3dView Transform panel] on lattices and armatures * remove redundant calculations in "boundbox_armature()" Armatures boundingboxes were already drawn in 3dView, if "show_bounds" was used. Based on report T45735: Lattice's bounding_box doesn't update, and a comment in code by @campbellbarton ("later we may want to add dimensions for lattice, armature etc too"). Revision: https://developer.blender.org/D1460
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl
2015-03-27Cleanup: view3d headersCampbell Barton
2015-01-07Fix for bool flag useCampbell Barton
2014-11-30Removing last vestigial remains of old C-based UI for Grease PencilJoshua Leung
I'd kept the code around in the codebase until after the merge back to master to avoid having too many conflicts if things changed there (or in case we needed to roll back). Now, it's safe to jettison this!
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-11-28Cleanup: unused headersCampbell Barton
2014-11-19Refactor: Move part of vgroup handling code from ED_mesh/object_vgroup.c to ↵Bastien Montagne
BKE_object_deform. Along with some minor cleanup and simplifications. Reviewers: campbellbarton Subscribers: sergey Differential Revision: https://developer.blender.org/D903
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-10-15Refactor 'apply' part of Editmode View3d Transform panel code.Bastien Montagne
This was way too verbose, heavily factorized the code. Also made sure only changed data are applied (was not always the case, especially for curves and lattices), and that we always use raw value when only one element is affected (was only that way for coordinates). Note I checked performances, they seem to be roughly the same as previously.
2014-10-15Cleanup: Editmode 3DView Transform panel code: do not check for hidden BMesh ↵Bastien Montagne
verts/edges. Afaik, a hidden BMesh element should never be selected. And this check was done in an awfully inconsistent way! If it should really be needed, should be added back as a macro used everywhere!
2014-10-15Cleanup: Edit mode 3DView Transform panel code.Bastien Montagne
Mostly reorganizing mesh data handling to be always in the same order, this piece of code is rather verbose, let's try to keep it organised a bit. Also some visual UI tweaking.
2014-10-15Add Vertex bevel weight to Editmode UI.Bastien Montagne
This panel UI code needs more love, cleanup etc. in next commits.
2014-06-13Code cleanup: use ED_gpencil_ prefix for grease pencilCampbell Barton
2014-06-05Correct hard-coded height for UV-Vertex buttonsCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-02-21Reduce crease & bevel weight precision to hide float/ubyte roundingCampbell Barton
2014-01-14Fix T38176: can't set vertex coordinate to 0.0 when it's set to 0.0000001.Brecht Van Lommel
2014-01-12Style Cleanup: whitespaceCampbell Barton
2013-12-11User Interface: add colon separator for number buttonsCampbell Barton
2013-11-21Squashed commit of the following:Bastien Montagne
commit 6f97e194e58aab38d351c796bf7bb6abca33f5f9 Author: Bastien Montagne <montagne29@wanadoo.fr> Date: Wed Nov 20 21:18:20 2013 +0100 Code cleanup: Move some uiBut->flag to uiBut->drawflag, make those flags anonymous enums. Summary: Make some room in but->flag (I did not add another flag, we already have drawflag, which was nearly not used up till now). Note: I’m not sure whether REDALERT (and perhaps even DISABLED?) should not go to but->drawflag as well... Related to D8 Reviewers: brecht Differential Revision: http://developer.blender.org/D22
2013-11-09More fix for [#37327] Inconsistent numeric input conversion.Bastien Montagne
When a single element is involved, apply directly the values instead of using the diff from init values. This avoids glitches when going from huge values to very small ones (due to float precision). Note we should probably switch to doubles here, ultimately, but would leave that for later. Manys thanks to Armin Zingler, who did all the investigation work on this point!
2013-10-01fix for error setting vector handles to free when both vector handles were ↵Campbell Barton
selected but not the mid-point. only one of the handles would be changed to the HD_FREE. effected curves and fcurves.
2013-07-28use '_exec' suffix for operator execute callbacks, also picky change to ↵Campbell Barton
sizeof() use in BLI_array.h
2013-07-23code cleanup: remove dead code, view3d panel was building a menu string and ↵Campbell Barton
not using it.
2013-07-16Style cleanup of UI messages.Bastien Montagne
Mostly, "weight groups" -> "vertex groups", and usual case/endpoints/typos/etc. As a remainder, please read http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#UI_Messages before writing UI messages!
2013-07-02remove unused definesCampbell Barton
2013-07-02move api functions from r57909 into BKE.Campbell Barton
2013-07-01Restrict Weight Edit Panel to mesh/lattice Edit and Weight Paint vertex ↵Gaia Clary
selection mode
2013-06-27Added checks to vertex Weight editor to respect locked Vertex GroupsGaia Clary
2013-06-26fix for vert/face mask modes using last used select option when using the ↵Campbell Barton
select-all key shortcut.
2013-06-26Rename operator for better clarityGaia Clary
2013-06-26disable normalize when active vertex contains locked weightsGaia Clary
2013-06-26disable vertex editing when weight group is lockedGaia Clary
2013-06-25style cleanupCampbell Barton
2013-06-24de-duplicate ED_mesh_active_dvert_* functions.Campbell Barton
not to devs - please don't just copy static functions around, make them api calls and add to headers.
2013-06-24remove unused var in view3d_panel_vgroupCampbell Barton
2013-06-23Changed text alignment to better match old layout behaviourGaia Clary
2013-06-23readded 'old' layout due to user complainsGaia Clary
2013-06-23Added polished Vertex Weights Panel (properties sidebar)Gaia Clary
2013-06-17Usual UI messages style edits...Bastien Montagne
2013-06-16Improved layout of Vertex Weights panel, added option to change active vgroupGaia Clary
2013-06-16Vertex weights: Added delete weight from vertex groupGaia Clary
2013-06-16use layout engine for vertex weights panel.Campbell Barton