Commit Graph

6117 Commits

Author SHA1 Message Date
Bastien Montagne
d9634122f6 More slangs and other spellchecking exceptions... 2013-12-16 21:26:48 +01:00
Campbell Barton
7947b3d21d Fix for recent regression in curve geometry panel poll 2013-12-15 01:33:10 +11:00
Thomas Dinges
5fdfa6d475 Interface / 3D View: Add missing "add" menu for armature edit mode, reported in IRC.
Also remove an unused menu for surface/curves.
2013-12-14 13:47:30 +01:00
Thomas Dinges
01fc7a687a Code cleanup: Remove "TexFace to Material Convert", from the file menu. This was used for conversion from older 2.5x files. The do_version() code is still there and functioning though. 2013-12-14 10:48:12 +01:00
Thomas Dinges
dda37dbc5c Interface / Modifiers: Use a toggle/icon button for vertex group invert (was already used in particle system).
This way we save a few lines of space, while keeping the functionality clear. Also some minor layout reshuffling and cleanup.
2013-12-14 10:14:24 +01:00
Thomas Dinges
3517cde0fb Code cleanup: Remove Blender 2.4x animation player preset, since we have the internal one. 2013-12-14 09:24:22 +01:00
Thomas Dinges
92afb52ebd Interface: Remove Play button from the Render panel, only keep in the "Render" menu. 2013-12-14 09:14:33 +01:00
Campbell Barton
c456cd94b2 Curve Handle Recalculate (Ctrl+N)
T37799 Patch from Simon Repp
with added option to recalculate handle lengths.
2013-12-14 02:53:19 +11:00
gaiaclary
52c5365c00 Changed label to use UV Maps instead of UV Layouts 2013-12-13 15:29:50 +01:00
Thomas Dinges
7eab49f8d9 Interface / Particles: Fix bad alignment in Rotation panel, sub layout missed the flag. 2013-12-13 10:54:44 +01:00
Thomas Dinges
9e30783585 Interface / PointCache: Remove name fields here as well, not needed anymore due to direct rename in uiList. 2013-12-13 10:20:35 +01:00
Campbell Barton
700e799ef5 Fix T37692: Follow active quads failed on unselected-active-face 2013-12-13 05:05:21 +11:00
Antony Riakiotakis
c740f1a792 Sculpt mode Gravity feature from GSOC 2010 by Jason Wilkins.
Reviewers: sergey, brecht, campbellbarton, jwilkins

Differential Revision: http://developer.blender.org/D89
2013-12-12 19:01:11 +02:00
Sergey Sharybin
eb9d94f48b Fix T37786: Curves: Geometry tab is missing
Was broken by rB2a55d68e1927 which inverted condition
in poll function for Geometry panel.
2013-12-12 18:08:41 +06:00
Thomas Dinges
1f05d71e24 UI: Small panel tweak for Dynamic Paint UI, to save some space when color type is NONE 2013-12-11 12:40:17 +01:00
Campbell Barton
2a55d68e19 Fix for curve pinning raising an exception 2013-12-11 22:04:29 +11:00
Sergey Sharybin
3a370ec6ec Move curve's boundbox and texspace calculation out of modifier stack
There were several issues with how bounding box and texture space
are calculated:

- This was done at the same time as applying modifiers, meaning if
  several objects are sharing the same curve datablock, bounding
  box and texture space will be calculated multiple times.

  Further, allocating bounding box wasn't safe for threading.

- Bounding box and texture space were evaluated after pre-tessellation
  modifiers are applied. This means Curve-level data is actually
  depends on object data, and it's really bad because different
  objects could have different modifiers and this leads to
  conflicts (curve's data depends on object evaluation order)
  and doesn't behave in a predictable way.

  This commit moves bounding box and texture space evaluation from
  modifier stack to own utility functions, just like it's was done
  for meshes.

  This makes curve objects update thread-safe, but gives some
  limitations as well. Namely, with such approach it's not so
  clear how to preserve the same behavior of texture space:
  before this change texture space and bounding box would match
  beveled curve as accurate as possible.

  Old behavior was nice for quick texturing -- in most cases you
  didn't need to modify texture space at all. But texture space
  was depending on render/preview settings which could easily lead
  to situations, when final result would be far different from
  preview one.

  Now we're using CV points coordinates and their radius to approximate
  the bounding box. This doesn't give the same exact texture space,
  but it helps a lot keeping texture space in a nice predictable way.

  We could make approximation smarter in the future, but fir now
  added operator to match texture space to fully tessellated curve
  called "Match Texture Space".

Review link:

  https://codereview.appspot.com/15410043/

Brief description:

  http://wiki.blender.org/index.php/User:Nazg-gul/GSoC-2013/Results#Curve_Texture_Space
2013-12-11 16:32:41 +06:00
Antony Riakiotakis
61a6d0676f add new UV editor edge theme colors to preset themes 2013-12-10 00:00:32 +02:00
Jeroen Bakker
35a9b7b44a Missed one usage of use_hidden_preview. 2013-12-09 22:16:05 +01:00
Jeroen Bakker
8983f50a9a Node Previews:
Removed USE_HIDDEN_PREVIEW from source code as it is now deprecated.
The feature was introduced during project mango to quickly hide previews, now that the previews are hidden by default this feature has no need.
Inside the DNA the flag is still visible in comment, this way no one will reuse that value as it could have some side effects

Jeroen & Monique
 - At Mind -
2013-12-09 22:04:00 +01:00
Jeroen Bakker
ec30d711cc PREVIEW: updated the default themes. 2013-12-09 20:22:16 +01:00
James Yonan
1831c930a5 Game Engine: Option to record static objects animation 2013-12-09 22:28:38 +11:00
Thomas Dinges
5245900dde Interface: Rename "Duplicate Objects" to just "Duplicate", was already done for the Mesh/Curve...variants but not for the Object Mode one. 2013-12-09 10:49:16 +01:00
Campbell Barton
85ce444455 Lattice Editmode: Select Mirror
patch originally by Philipp Oeser with some edits.
2013-12-09 15:41:54 +11:00
Thomas Dinges
2069606dc5 Code cleanup: UI cleanup for cycles UI code and fix typo in system info. 2013-12-08 12:13:09 +01:00
Sergey Sharybin
46f8dba4c7 Extend system-info with information about OIIO, OCIO and OSL
Summary:
Version of those libraries might be useful to know.

- OIIO and OCIO is exposed via bpy.app.oiio and bpy.app.ocio.
  There're "supported", "version" and "version_string" defined
  in those modules.

- OSL is available as _cycles.osl_version and _cycles.osl_version_string.

Reviewers: campbellbarton

Reviewed By: campbellbarton

CC: dingto

Differential Revision: http://developer.blender.org/D79
2013-12-08 15:03:17 +06:00
Geoffroy Krantz
9174f22b3c Particles: change material picking from index number in UI to menu with materials.
Also fix material slot index not being properly initialized to 1, this got clamped
from zero only on drawing the UI.

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D55
2013-12-07 12:26:58 +01:00
Thomas Dinges
c94d907367 Cycles / OSL Templates: Add Simplex and Gabor noise templates and remove ones which are available as regular nodes. 2013-12-06 18:48:17 +01:00
Tamito Kajiyama
8a5b07c46e Removed unused Freestyle env_map images. 2013-12-06 08:20:34 +09:00
Campbell Barton
e63d5f2356 Keymap: add walk mode 2013-12-04 00:40:45 +11:00
Campbell Barton
35d89825c1 Code Cleanup: python import formatting 2013-12-03 23:46:28 +11:00
Dalai Felinto
ab49437958 View Navigation: Walk and Fly modes
This is a addtion to the dynamic fly mode.
It behaves as the first person navigation system available in most 3d world  games nowadays.

You can alternate between the old mode (Fly) and the new mode (Walk) in User Preferences > Inputs

Manual:
-------
http://wiki.blender.org/index.php/Doc:2.6/Manual/3D_interaction/Navigating/3D_View#View_Navigation
http://wiki.blender.org/index.php/Doc:2.6/Manual/3D_interaction/Navigating/3D_View/Navigation_Modes

Shortcuts:
----------
WASD (hold)  - Move forward/backward and straft left/right
QE (hold)    - Move up and down
Tab          - Alternate between Walk and Fly modes
Shift (hold) - Speed up movement
Alt (hold)   - Slow down movement
Space or MMB - Teleport
V            - Jump
+/- or mouse wheel - speed increase/decrease speed for this Blender session

User Preferences Options:
-------------------------
Navigation Mode   - fly/walk navigation systems (fly is the old, walk is the new, next options are for walk mode only)
Gravity           - alternate between free navigation and walk with gravity modes
Mouse Sensitivity - sensitivity factor to mouse influence to look around
Teleport Duration - how long the teleport lasts
Camera Height     - camera height to use in gravity mode
Jump Height       - maximum jump speed in m/s
Move Speed        - base move speed in m/s
Boost Factor      - multiplication factor when running or going slow (1/boost)

Development Notes:
------------------
* The initial code was based on view3d_fly.c.
* The NDoF code was not touched, so it most likely is not working.

Pending Issues:
---------------
* Draw in the UI the shortcut options, and current values (e.g., Mode: Fly/Walk)
  (we need a proper API for that)
* OSX seems to present issues if we re-center the mouse every time. We implemented a workaround for that, but a real fix would be welcome.

Code reviewed and with collaborations from Campbell Barton - @campbellbarton
Differential Revision: http://developer.blender.org/D30
2013-12-03 03:14:09 -02:00
Scott Petrovic
43d9eb2522 User Preferences: grey out Mouse Over options if option is unchecked.
Reviewed By: brecht

Differential Revision: http://developer.blender.org/D64
2013-12-02 15:32:29 +01:00
Campbell Barton
dce05f6a67 3D Text: remove 'body' editing from the UI.
This wont preserve newlines, looses materials and is broken in edit-mode.
2013-12-02 21:53:58 +11:00
Sergey Sharybin
fb3f240201 Image wrapping for plane track in clip editor
Summary:
Now it's possible to assign an image to plane tracks
in clip editor. This image is only used for display
in clip editor and this image is being warped into
the plane track rectangle.

Main purpose of this is to get early feedback about
how good image warping matches the footage, before
clip goes to the compositor.

Pretty much straightforward change: just compute
homography from undeformed normalized frame corner
coordinates (unity square) to plane marker corners
and apply this matrix to opengl stack.

Still could improve behavior when perspective
plane transform is degenerate, but that's not so
much critical for now i'd say.

Reviewers: brecht, campbellbarton

Reviewed By: brecht

CC: sebastian_k

Differential Revision: http://developer.blender.org/D57
2013-11-29 23:26:57 +06:00
8cb78f1094 Fix mistake in last commit with submodules. 2013-11-26 20:40:55 +01:00
b98ff5cb5b Fix T37303, Fix T37163: cycles mask layers that are also excluded not rendering
correct with multiple render layers.

This case is somewhat weak, we now do a few more checks on sync than I would
like, but it's not too bad.
2013-11-26 20:36:53 +01:00
Campbell Barton
a31b450093 Screw Modifier: UV support
- When existing faces are available use their UV values
- When no faces are connected to an edge - generate UV's

Also add option to stretch U/V to bounds.
2013-11-26 21:31:32 +11:00
1908909273 Sculpt Dynamic Topology: support collapsing edges without subdividing edges as well
This allows you to choose between subdivide edges, collapse and both. Being able to
only collapse edges can be useful to simplify meshes with accidentally introducing
more detail.

Reviewed By: psy-fi, carter2422

Differential Revision: http://developer.blender.org/D15
2013-11-26 00:21:04 +01:00
Campbell Barton
84334bde01 Fix 37571: Knife Select should be disabled when no faces are selected
also check a similar case for bisect
2013-11-26 09:44:08 +11:00
Bastien Montagne
a5c7b9202b i18n module cleanup: remove hack used during svn -> git transition phase! 2013-11-25 22:00:14 +01:00
Campbell Barton
46cc02c5cd Correct fix for T37617, (own recent regression) 2013-11-26 07:13:34 +11:00
IRIE Shinsuke
ab9822eff8 Blender Internal: Add "Lamp Data" shader node that allows shaders to acquire information such as light vector from specified Lamp.
For now this provides the following outputs:

- Color
- Light Vector
- Distance
- Shadow
- Visibility Factor

Note: Color output is multiplied by the lamp energy.  Multiplication of
color*max(dot(light_vector,normal_vector),0)*shadow*visibility_factor
produces the exact same result as the Lambert shader.

Many thanks to Brecht for code review and discussion!
2013-11-25 22:19:47 +09:00
Sergey Sharybin
a885bd8565 Fix addons submodule hash
It was proken in rB41a90077608898accebd08653d064fe309325a17.

Again, plase NEVER use neither `git add .` nor `git commit .`
and use -a command line argument instead.

And NEVER push changes to blender.git BEFORE pushing changes
to submodules.
2013-11-25 17:01:05 +06:00
Jens Verwiebe
de1660d8bb OSX: Fix T37602, quitting from the File Menu does not ask 2013-11-25 10:56:31 +01:00
Campbell Barton
41a9007760 Fix mesh triangulate not flushing selection 2013-11-25 17:54:18 +11:00
Thomas Dinges
cbb5a12eb7 Interface: Remove one more name field, this time from Bone groups.
Patch by Sebastian König.
2013-11-24 22:35:55 +01:00
Thomas Dinges
61a28ef764 Interface: Remove some more name fields, not needed anymore with list rename.
Also small alignment tweaks to Keying Sets UI, looks better when the 2 columns have the same alignment.
2013-11-24 15:14:45 +01:00
fab96b5913 UI List: remove separate name text fields.
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-24 14:27:02 +01:00
Alexander Pinzon
673bd9a009 Mesh Modifiers: Added Laplacian Deform
Part of soc-2013-sketch_mesh branch

See: http://wiki.blender.org/index.php/User:Apinzonf/Doc:2.6/Manual/Modifiers/Deform/Laplacian_Deform
2013-11-24 07:10:42 +11:00