Commit Graph

3337 Commits

Author SHA1 Message Date
Campbell Barton
80c2582f0e enable game panel even if the BGE is disabled since its settings effect the viewport.
also remove unused function in creator.c and minor edit to search menu poll function.
2011-05-16 04:55:31 +00:00
Thomas Dinges
7459133648 Patch [#27344] 300+ New/changed tooltips by Davis Sorenson (dsavi). Thanks a lot!
Reviewed by Tom Musgrove and myself. 

From the patch description:
ValterVB on #blendercoders submitted a long list of missing tooltips in Blender, and I went through the list and added all I knew. After that I crowdsourced the rest by putting a spreadsheet on Google docs and having people fill in the missing ones that I didn't know. So if there's some weird tooltip in there that doesn't make sense, that's why.

Thanks to Wolter, spacetug and others on BlenderArtists for contributing tooltips.
2011-05-15 17:59:48 +00:00
Nathan Vegdahl
7e5ff01f4a Button for adding shape keys now creates shapes from base mesh instead of
from the current shape mix.  The old behavior is still accessable from the
menu as "New Shape From Mix".

Checked with Sergey and Bassam that this is a good change.  New users
expect the add shape button to simply add a new blank shape, and get
confused when that is not the case.  It is also really easy to
accidentally have other shape information in a new shape when the
"from mix" behavior is default.
2011-05-14 20:23:05 +00:00
Campbell Barton
e7db080565 option to have the view controls apply to the camera view (and camera object).
- follow rotate/pan/zoom/dolly operators.
- auto-depth preference works.
- smooth view navigation supported.
- view selected, all & numpad operator work too.

TODO
- deal with camera transform locked axis
- find a way to move/zoom the frame while the camera is locked (if it turns out to be a problem).
2011-05-14 17:50:33 +00:00
Campbell Barton
2f08309ffe window_to_3d_vector was incorrect but dolly view operator was accounting for it. fixed so result isnt negated and mouse coords dont need to be adjusted. 2011-05-12 06:52:24 +00:00
Campbell Barton
a131ce066a python utility module for converting between 2d/3d region/world coordinates. 2011-05-12 06:32:21 +00:00
Campbell Barton
2889f5ae2c camera composition guides: center, thirds, golden rule 2011-05-10 03:03:53 +00:00
Campbell Barton
885141c9de patch [#21740] Image support for Empty Objects
from Andy Braham (andybraham)

This adds support for empties to reference images and draw in the 3D view.

Modifications from the original patch.
- use an empty draw 'image' type
- use image aspect ratio for non-square-pixels
- when the image is not found, still draw the frame.
2011-05-09 16:31:54 +00:00
Campbell Barton
b432520799 fix [#27324] WindowManager.invoke_search_popup() crashes blender and does not work
also minor formatting fixes.
2011-05-08 12:51:05 +00:00
Sergey Sharybin
471c28f91c Fix #27319: Text editor "Find" does not locate words.
Added new option to find panel of space text which toggles
case-esensitive search.

Additional changes:
- Send NC_TEXT|NA_EDITED when removing markers in find_and_replace modifier
  this prevents "sticked" markers which disappears on first redraw when
  search text wasn't found
- Do not show "Text wasn't found" error when text to be searched is contained
  in the end of buffer and it's selected. Replacing/marking used to happen, but
  this popup message was really annoying for this case.

TODO: It's incorrect to use UI_GetThemeColor4ubv from this operator
2011-05-07 17:52:44 +00:00
Campbell Barton
e239085f70 io_utils.axis_conversion(...) utility function to easily convert the forward & up axis between different apps on import/export. 2011-05-07 11:25:59 +00:00
Campbell Barton
7a5b16d175 missed updating warp modifier UI, gave a py error when selecting texture UI layer. 2011-05-06 23:54:40 +00:00
Campbell Barton
e26b0c68a4 patch [#27205] Infinite recursion inside resolve_ncase() when passed a driver letter on Windows that does not exist
by Brandon Ehle (azverkan)
2011-05-06 11:27:04 +00:00
Campbell Barton
fbe17e09a3 alternative to joe's commit r36451.
loopcut now follows 'Release confirms' user preference.
2011-05-04 20:42:34 +00:00
Sergey Sharybin
d000103e80 Own TODO item: sculpting on constructive modifiers
- Constructive modifiers are enabled by default in sculpt mode.
- There's option to disable all constructive modifiers in the "Options"
  panel of toolbox in sculpt mode,
- Use one column in options panel to make strings easier to read
- No modifiers would still be applied on multires
2011-05-04 13:15:42 +00:00
Campbell Barton
5a0dca41e5 fix 2 bugs with addon installation
- installing an addon which creates a new script directory didn't add this to the sys.path.
- installing the addon was meant to set the search string to the addon name but was broken.
2011-05-04 08:44:08 +00:00
Campbell Barton
cd2728ea0d fix [#27143] Cannot import key configuration with systemwide install 2011-05-03 08:21:11 +00:00
Campbell Barton
0a415b6e71 replace OBJECT_OT_location_apply, OBJECT_OT_scale_apply, OBJECT_OT_rotation_apply with OBJECT_OT_transform_apply with 3 boolean options.
added back menu item from 2.4x to apply Rotation & Scale.
2011-05-03 07:09:02 +00:00
Joseph Eagar
03734f5c58 =trunk=
Recommitted eltopo collision code (but disabled by default)
with Genscher's permission.

To use, you need to install liblapack and libblas
2011-05-03 01:48:15 +00:00
Campbell Barton
d8eafe14c6 fix [#27148] *Invalid Path* in all "operator presets" dropdowns 2011-05-02 17:29:30 +00:00
Brecht Van Lommel
c2f18383f9 Fix #27165: uvedit mesh selection sync did not handle click / shift+click
for switching selection modes in the header.
2011-05-02 11:34:57 +00:00
Brecht Van Lommel
bee2523a41 Related to bug #27004: there is now an option to disable color management for
GLSL. I've tried to find a quicker way to do it that still looks the same, but
couldn't find a formula that didn't have major color shifts.
2011-05-02 09:08:43 +00:00
Brecht Van Lommel
5aef2f1ae2 Fix #27243: missing seed button for halo materials. 2011-05-02 08:56:53 +00:00
Joseph Eagar
088899236b =trunk=
Recommitted eltopo collision code (but disabled by default)
with Genscher's permission.

To use, you need to install liblapack and libblas
2011-05-01 21:39:13 +00:00
Campbell Barton
6b0d932c0d warp modifier, added in the render branch for durian.
simple modifier, almost like a hook, except it can deform with 2 object source -> target, has option to preserve rotation and use different falloff types.
2011-05-01 15:16:59 +00:00
Campbell Barton
75494ea5b4 - remove UV_OT_select_inverse, instead use invert option for UV_OT_select_all.
- fixed INVERT option for UV_OT_select_all.
2011-05-01 09:21:45 +00:00
Sergey Sharybin
05538a7c54 Fix #27239: "A" menu in Sculptmode fails
Simple incorrect property accessing fix (enum_items vs. items).

Additional change: removed hotkey to toggle airbrush in sculpt mode
TODO: incorrect hotkeys are shown in stroke method menu, but it's how
      hotkey string detecting works now.
2011-05-01 07:39:21 +00:00
Joseph Eagar
9736061c07 =trunk=
Made some improvements to the point density texture.  Added support
for tweaking the falloff with a custom curve.  Also coded new
falloff types based on the age or velocity of particles.

Also added a test break check to the volumetric shade cache code,
to avoid nasty hangups from the preview render (on render, exit,
etc).
2011-05-01 03:57:53 +00:00
Campbell Barton
2cdb79239b fix [#27199] Copy Mirrored UV Coords missing the reverse option 2011-04-29 05:32:27 +00:00
Campbell Barton
f3a9b7580e spelling corrections. 2011-04-29 04:43:36 +00:00
Campbell Barton
2cd78c385d fix [#27196] Traceback caused by preset selection 2011-04-28 09:52:16 +00:00
Thomas Dinges
d6e03d2c56 2.5 Interface:
* Implemented a new operator "WM_OT_properties_context_change" to switch to a different tab inside the properties window.
* This is used now inside the Modifier tab for Simulation Modifiers. Based on a mockup by Janne Karhu:
http://www.pasteall.org/pic/11261
http://www.pasteall.org/pic/11262

Rather than having a delete button there anymore, the button changes the context to Physics/Particles, where you can edit the settings and delete the actual simulation.
2011-04-25 13:47:15 +00:00
Campbell Barton
bd80f19c22 fix [#27140] Negative Subdiv level in the operator panel.
when relative option is disabled, don't allow setting the subdiv value to a negative number.
2011-04-25 06:44:43 +00:00
Thomas Dinges
262eec84cd 2.5 UI scripts:
* Small cleanup of code and descriptions.
2011-04-24 20:59:19 +00:00
Campbell Barton
ee9ea98e48 zoom operator.
- continue zoom now uses the same options as dolly (hoz/vert & invert).
- remove event mouse coord hack to bypass touchpad zoom invert, instead pass invert as an argument.
2011-04-22 14:47:35 +00:00
Campbell Barton
c7536d558b patch [#27094] Fix for property names in sunsky presets
from Ejner Fergo (ejnersan)
2011-04-21 12:14:10 +00:00
Joshua Leung
18e4f7de4f Bugfix [#27090] Available keying set fails in armature pose mode
A change in the poll callback that Available KeyingSet used to use
restricted its use to Object-mode only, while this could also be
useful in Pose Mode (though it would only affect all channels there).

Made this use a custom poll callback now that tests for whether the
active object has an action. This does mean that if you select a bunch
of objects with animation data, but the active object doesn't have it,
then the keyingset will fail to fire, but that's been marked as a todo
in the code.
2011-04-21 01:21:28 +00:00
Janne Karhu
290a641c32 Bug fix: "make fur" gave errors with multiple selected objects.
* Also some code changes for "make smoke" and "make fluid" to suppress some python messages that were printed to the console.
2011-04-20 17:51:56 +00:00
Campbell Barton
8a7dce5301 update tooltip since this fixes paths from newer versions. 2011-04-20 14:47:00 +00:00
Ton Roosendaal
9abd711304 Bugfix 26936
EditMode mesh: tool "Mesh Rip Move" shouldnt be in the toolbar.
The tool was coded to use the mouse position next to the selection.
The rip then happens correctly after pressing V and move mouse away
from selection.
2011-04-19 14:36:26 +00:00
Campbell Barton
7f598451fc fix [#26906] Panorama Button (Camera Data Properties)
- render check for ortho/panorama combination wasn't working since the flags were not initialized at the time of checking.
- disable panorama button in ortho mode.
2011-04-15 12:08:17 +00:00
Campbell Barton
822debf304 fix for help menu docs linking to the wrong page, created a redirect so 2.57 release doesn't get 404's. 2011-04-14 14:13:04 +00:00
Campbell Barton
f02b9b37f2 api to support different kinds of relative paths on export, including copying the files to a subdir. 2011-04-14 08:47:47 +00:00
Thomas Dinges
656dd38f0d Fixed a copy and paste error in "Copy Previous Settings" operator. ;-) 2011-04-12 21:00:53 +00:00
Campbell Barton
a1b6e077fd add randomize transform & object align back into the menu. 2011-04-12 15:12:05 +00:00
Campbell Barton
ba03e5023e less alarming warnings about the python api not being stable in online docs and remove from interactive console. 2011-04-12 12:09:38 +00:00
Campbell Barton
8fd1d53a31 change behavior of restoring old settings
- only attempt to restore old 'user' settings (not local), since bundled blender's always use their own settings.
- only automatically run 'bpy.ops.wm.read_homefile()' after copying files if the user hasnt alreadt started making changes in the blend file.
2011-04-12 04:23:38 +00:00
Campbell Barton
9699592628 py api: bpy.data.is_dirty wasn't working like image is dirty, instead is would return if the file was saved or not.
- rename to 'is_saved' (and negated).
- add 'is_dirty' which is true when the files edits are not saved to disk.
2011-04-11 15:31:05 +00:00
Campbell Barton
66419dcc12 operator & splash button to copy over old settings when blender version changes. 2011-04-11 15:13:06 +00:00
Campbell Barton
f8c09b37d4 api changes needed for for copying old settings to new.
- py: bpy.utils.resource_path('USER', 2, 56)
- C: BLI_get_folder_version(id, major, minor, check);
2011-04-11 13:56:58 +00:00