Commit Graph

2176 Commits

Author SHA1 Message Date
7a21330421 Fix T39356: unsatisfied with uv pin unpin button, small bug 2014-03-23 14:30:10 +01:00
4c73001093 Fix T39353: Make Single User menu entries do not work correctly. 2014-03-23 11:33:40 +01:00
97e26494ee Slight cosmetic improvement on UI. Add eyedropper icon to detail sample
operator and move it next to the detail slider
2014-03-23 00:01:46 +02:00
e732c5809c Detail sampling operator
Located on topology panel.

To use just click on button and click on mesh.
Operator will just use the dimensions of the triangles below to set the
constant detail setting.

Also changed pair of scale/detail size with nice separate float
percentage value.
2014-03-22 23:35:41 +02:00
0ef416722e Flood fill for dyntopo constant detail mode.
Nothing spectacular here, fill tools are easy. Just take the dyntopo
code and repeat until nothing more to do.

The tool can be located in the dyntopo panel when the dyntopo constant
detail is on.

Also added scale factor for constant detail. This may change when detail
sampling gets in, I am not very happy with having two numbers here,
still it will give some more control for now.
2014-03-22 17:47:18 +02:00
daccaa713b Patch T22084: Robert Penner Easing Equations for FCurves
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-03-22 03:00:27 +13:00
29f359c975 Fix T39270: Since as the Move Clip Editor have only two modes, menu on tab is needless 2014-03-20 16:08:42 +06:00
cc2cdfb08a Code cleanup: de-triplicate add menu/toolbars, also style edits 2014-03-20 01:34:24 +11:00
7698322846 Usual UI messages fixes... 2014-03-19 15:25:32 +01:00
13ae541be4 UI: Move OpenGL Settings (AA and Alpha) into the Info Editor render menu. 2014-03-15 17:37:42 +01:00
0dd52d1b26 UI Tweak: Add a convenience button for switching to Bone Constraints Tab
To reduce user confusion, we were already presenting users with an error message
when they tried to edit constraints for bones from the Object Constraints tab.
This commit just makes things more convenient by adding a button which takes
users to the right tab when clicked.
2014-03-15 11:45:53 +13:00
a349a3a94e UI: Show edge draw options for duplis, it applied to their instances 2014-03-14 02:15:18 +11:00
ba81fb70b2 NDOF: enable orbit sensitivity menuitem outside 3d view
The color picker uses.
2014-03-12 03:38:07 +11:00
a7ab389d54 Fix for missing 'field-of-view angle' property for a panoramic camera. 2014-03-12 00:08:28 +09:00
a2ffd8e423 Fix T39028: Quadview views inaccessible with python except bottom right view.
Expose all four quadviews in a collection in RNA API.

Note the region returned by old region_quadview property is now region_quadviews[2].
2014-03-11 15:22:09 +01:00
03afa6f9e7 Experimental dyntopo feature:
Dyntopo detail in object space. This allows to set the detail in
percentage of blender units and sculpt in this detail constantly,
regardless of the distance to the mesh.

This commit just enables the functionality, which is really trivial.
There will be some more commits like detail flood fill and
detail sampling in the future.
2014-03-06 20:15:44 +02:00
ef2815eb5a UI: "Option" panel in 'Particle Edit' mode was appearing in Tools and GP tab, now only show in Tools.
Patch by Kévin Dietrich.

Reviewed by: dingto
Differential Revision: https://developer.blender.org/D378
2014-03-03 10:37:27 +01:00
6b693ab7bf NDOF: add navigation modes to user preferences
also comment debug prints for raytracing
2014-03-01 21:47:46 +11:00
0bfd75aa14 Fix T38883: Toolbar origin buttons missing for armature
Also allow mirror for any object type
2014-02-28 17:39:40 +11:00
9c755ef652 UI / 3D View: Fix Rigid Body panel, being closed per default. 2014-02-25 10:59:20 +01:00
b5c50c02fa Paint UI: Don't hide the custom icon path, just grey out.
This is what we do with boolean and sub-settings. We usually hide it when the options depend on a menu-enum.
2014-02-24 21:13:30 +01:00
a3202e434a Code cleanup: Re-use Grease Pencil panel for 3D view as well. 2014-02-24 20:53:37 +01:00
ea5090f8c0 Minor UI messages fixes. 2014-02-22 13:49:40 +01:00
b7fa08f88a Code cleanup: style 2014-02-22 11:14:15 +11:00
3436c41dee Fix T38739: Simulations, unsupported in the Game Engine, could not be removed from the UI.
Also shorten info messages a bit.
2014-02-21 12:46:17 +01:00
4056db22cd Motion tracking panel compactification in 3D viewport properties
Patch by Sebastian Koenig, thanks!
2014-02-20 22:01:53 +06:00
10f4c62783 Editmesh: add convex hull to vertex menu 2014-02-20 16:32:23 +11:00
ea58918171 NDOF: define 2 default navigation modes: free & orbit
After some discussion it seems both are valid defaults but useful for
very different purposes.

- 'free' lets you explore the scene with full 6dof (like fly mode)
- 'orbit' is closer to typical mouse view orbit, constraining to orbiting about a central location.

This doesn't effect orbit/pan which are available with modifier keys.
2014-02-20 12:02:59 +11:00
5f8b30bf83 Image Editor: Fix View menu, after Scopes rename. 2014-02-19 21:02:51 +01:00
eb7485389b Use tabs for image editor.
For initial discussion see T38371

This commit organized panels for image editor to new tab categories dependent
on the image editor mode:

View Mode:
Tools - contains UV tools (currently only transform and UV Sculpting)
Scopes - contains scopes
Grease Pencil - contains Grease Pencil operators

Paint Mode:
Tools - contains brush options
Scopes - as above
Grease Pencil - as above

Mask Mode
Mask - contains mask tools
Scopes - as above
Grease Pencil - as above

Grease Pencil panel/tab now includes operators, not view options which have been
moved to the UI region on the right.
To make this work better, image editor toolbar now is of type TOOLS instead
of PREVIEW as was the case previously. A nice version patch makes sure all
works predictably, but opening newer files with older blender executables
could backfire.

This commit does not address which UV Tools will be included in the
Tools tab for the view mode, but does include some basic tools (transform)
and provides a class to inherit from to avoid conflicts with UV Sculpting.

Reviewers: brecht, dingto, sergey

Differential Revision: https://developer.blender.org/D315
2014-02-19 17:22:01 +02:00
57b62881f4 Added track weight to presets
Useful for cases when you need to create bunch of witness tracks.
2014-02-19 18:43:36 +06:00
c9233bfd82 Code cleanup: style 2014-02-19 08:02:59 +11:00
e965afcdcc Python: remove redundant len() use 2014-02-19 00:05:31 +11:00
d035e5ac9d Fix T38698: In the Mask tab the Insert Key and Clear Key button labels are switched 2014-02-18 18:57:09 +06:00
dcdb4eaf9c NDOF: Fix for fly/walk mode ignoring axis invert options 2014-02-18 23:55:58 +11:00
db172c1a98 Fix T38672: Can't select strips inside a Meta on the Mask Modifier 2014-02-18 16:01:16 +06:00
2b0aa105f7 NDOF: show invert pan & zoom in the menu outside the 3d view 2014-02-18 11:57:49 +11:00
fcaf144a2a Mask: enable overlap detection by default, more compact buttons 2014-02-17 20:00:11 +11:00
ddf7d485a8 Bring back mask copy/paste operator to the menu
They got lost in clip interface tab-ilization.
2014-02-17 13:09:21 +06:00
1776cb9244 Fix T38670: Mask transform without a movieclip crashes
Disable transform and mask display when there's no active clip.

It's not a matter of returning fallback dimensions if there's no
slip, it's also matter of making it so stabilization and distortion
routines are aware of clip == NULL which is really crappy.

Also almost all the operators are disabled in clip editor without
active clip already anyway.

Also tweaked header UI a bit to not display mask stuff when there's
no active clip,
2014-02-17 12:58:50 +06:00
cc7cfd6617 Mesh Tool: removes degenerate edges, faces and face ears. 2014-02-17 11:41:19 +11:00
67ba7e50d4 Interface: Remove one more name field, this time from the armature tab - pose library panel. It's not needed anymore (dbl click on the item itself will rename it) 2014-02-14 23:59:06 +01:00
eedba54aae NDOF: rename 'zoom updown' to 'pan xy swap axis'
This swapped translation for all ndof events.
2014-02-15 09:54:11 +11:00
32b45cb4a7 Fix for "Show Overlay" for masks always grayed out 2014-02-14 17:09:21 +06:00
5fdf6169a3 Fix incorrect text for curve Shrink/Fatten, patch from SebastianK 2014-02-13 19:21:35 +11:00
ae8327dbf3 Mask: add option to detect self intersections 2014-02-13 19:12:28 +11:00
108ad34429 Mask: option not to treat overlapping curves as holes 2014-02-13 11:48:46 +11:00
aea00c7a81 Code cleanup: style 2014-02-13 08:52:12 +11:00
09e5373c06 Paint: Descrollification commit for brush texture angle property.
Original patch by Sebastian Koenig with edits.
2014-02-12 18:00:54 +02:00
1c862f33a0 Sculpting: Move lock options in symmetry panel.
Lock is an often used option according to artist feedback, so better
have it on the same tab as brush tools.
2014-02-12 17:04:57 +02:00