Commit Graph

84 Commits

Author SHA1 Message Date
William Reynish
13a70d22f9 Added torus icon to the add menu, and made naming consistent with the other add menus. 2009-10-17 21:08:22 +00:00
Thomas Dinges
38ce0c64cd Forgot to commit these files in 23837. 2009-10-16 19:25:51 +00:00
Campbell Barton
99ec29193a bisplay shapekeys as sliders in the dope sheet editor 2009-10-16 18:03:38 +00:00
Campbell Barton
299adde803 shape key mirror tool, access from shapekey list buttons 2009-10-16 13:04:59 +00:00
Thomas Dinges
299d7531ed Fix for last commit, used wrong operators. 2009-10-16 10:40:03 +00:00
Brecht Van Lommel
2e74a6ba30 Added a button to clear the weights of all shape keys, useful
when editing shapes and doing blending tests.
2009-10-16 10:29:41 +00:00
Thomas Dinges
04f17fed4d 2.5 Outliner:
Finally, the Outliner Header is drawn via Python too. 
* Also added some Operators to the View Menu.
2009-10-16 10:25:39 +00:00
Brecht Van Lommel
59f330cce0 Add back Blend From Shape in mesh edit mode. 2009-10-16 10:05:58 +00:00
Brecht Van Lommel
61a88bb597 Bugfix: z-offset for materials was not added back yet. 2009-10-16 10:03:39 +00:00
Campbell Barton
3d80fa9728 new operator - OBJECT_OT_make_single_user
Added keybindings and menu items
- Make Single User, Ukey
- Make Local, Lkey
- Make Duplis real, Ctrl+Shift+A
2009-10-16 10:00:45 +00:00
Campbell Barton
17c7b46334 object apply menu and keybinding (Ctrl+A) 2009-10-15 20:15:21 +00:00
Campbell Barton
5fff9cf660 stamp font size and added rendertime stamp option 2009-10-15 19:18:40 +00:00
Campbell Barton
66725a189e disallow editing particle settings when first entering particle editmode, would crash instantly when changing the amount for eg. 2009-10-15 18:27:41 +00:00
William Reynish
d80074f18c Updated icons. Changed some icon names that weren't blank. 2009-10-15 13:47:18 +00:00
Campbell Barton
734d50e8df typing in non-existant dirs now goes back to the previous dir. (also for bookmarks and when changing dir's in other places) 2009-10-15 11:11:52 +00:00
Joshua Leung
384a1b5a5c UI Templates: RNA-Path Builder (Skeleton Code)
Added a base-template for editing/creating RNA-Paths. This is now used for KeyingSets and Driver UI's, so that when the actual magic gets put in, it will work.
2009-10-15 10:13:59 +00:00
William Reynish
e6e8ba98df Fixed some icons in user preferences. These seem to be caused to an issue in the icon file itself though, where it assumes the wrong icon when pressed. (See checkboxes in menus that become locks when enabled) 2009-10-15 07:07:01 +00:00
Martin Poirier
1da4a06fc7 Don't depend on context for transform_orientation enum
New current_orientation property that returns the current transform orientation data (if any)
New UI elements to rename and remove custom orientation (visible only when needed)
2009-10-14 21:05:35 +00:00
Benoit Bolsee
96d2dc7d09 iTaSC: Selection of constrained axis for CopyPose constraint
This commit implements more of the CopyPose capabilities in
Blender. It is now possible to select which axis will be
constrained in position and orientation to obtain
interesting effects. Another option selects if the axis
are relative to the end effector or to the target.

Unlocking a position axis means that the coordinate along
this axis is not constrained and can take any value.
Unlocking the Y axis of the End Effector produces an
'aiming' effect: the end effector is oriented towards
the target but without stretching.

Unlocking a rotation axis means that the end effector can
freely rotation along that axis. Unlocking the Y axis
produces a 'tangent' effect: the end effector aligns with
the Y axis of the target but can rotate along that axis.

A 'floor' effect is possible if the position Z axis of the
target is unlocked. More effects are possible an can be
combined.
2009-10-14 18:51:00 +00:00
William Reynish
59e3a08c8c Fixed shape key mute icon. 2009-10-14 15:37:10 +00:00
Campbell Barton
e2ae8843d7 texture mapping buttons were not visible, (own fault) 2009-10-14 15:28:57 +00:00
Brecht Van Lommel
922461830f Scene/Render Buttons:
* Keep Render as default tab instead of Scene.
* Remove unnecessary Keying Sets label.
* Fix missing scene name in render context path.
2009-10-14 15:14:06 +00:00
Campbell Barton
bc0916c630 - added name field for renderlayer
- skin/loft now adds faces with active material
- defailt for scene panels isnt closed anymore since there is a lot of room there now.
2009-10-14 15:06:42 +00:00
Brecht Van Lommel
866e41520c Bugfix: mesh menu was using two columns due to enum with label. 2009-10-14 14:55:01 +00:00
Thomas Dinges
c27a94849c * Fixes for Render Tab separation.
* All Edges is now in the object mode "Display" Tab, as the option doesn't affect Edit Mode. 
Missing Redraw here...
2009-10-14 14:45:58 +00:00
Campbell Barton
4ef0ef1927 added mesh mirror flag, now store this per mesh
button in mesh interface
also dont register operators that change context
2009-10-14 14:28:05 +00:00
William Reynish
1847f6198e After discussion with Campbell, split Scene tab in Scene and Render. This makes a clearer distinction between render and scene settings. 2009-10-14 14:07:32 +00:00
Campbell Barton
c7c2e3de1e set scene, currently UI is in the render buttons, should be moved to a scene buttons area.
added a property flag PROP_ID_SELF_CHECK, so properties can be set to point to anything but themselves.
2009-10-14 13:20:20 +00:00
Joshua Leung
1ef163f1e0 UI Templates: ('Any ID' Selector)
Added new template for choosing to use any type of ID-block. The first combo box allows you to choose the type of ID-block that gets used, and the second box allows you to choose the ID-block of the type specified by the first one.

This is currently used for setting the ID-block used for Keying Sets, but the main user for this was intended to be the Drivers UI. However, I still need to clear up a few button-event issues there before I can port this over.


Additional Bugfixes:
* Adding new Keying Set path was setting the active path wrong, meaning that you had to click on the list to get some response after adding
* Bone Groups list was being drawn too long by default (when empty)
2009-10-14 09:08:53 +00:00
Thomas Dinges
ee29802378 [#19634] Missing - "All Edges" Button in edit mode Preferences 2009-10-13 17:49:05 +00:00
Campbell Barton
4063c230af fix for warnings, wkey menu wasnt registered 2009-10-13 07:39:08 +00:00
Matt Ebb
1aeb98a3c2 * ui fix for texture influences 2009-10-13 02:04:08 +00:00
Campbell Barton
d2e1e0d2a9 remove C specials menus, reuse python ones from the header menu instead. 2009-10-12 21:06:03 +00:00
Brecht Van Lommel
10198e99ff Deep Shadow Buffer
Since the deep shadow buffer summer of code project is not actively under
development anymore, I decided to build my own DSM implementation from
scratch, based on reusing as much existing shadow buffer code as possible.
It's not very advanced, but implements the basic algorithm. Just enough so
we can do shading tests with it, optimizations and other improvements can
be done later.

Supported:
* Classical shadow buffer options: filter, soft, bias, ..
* Multiple sample buffers, merged into one.
* Halfway trick to support lower bias.
* Compression with user defined threshold.
* Non-textured alpha transparency, using Casting Alpha value.
* Strand render.

Not Supported:
* Tiling disk cache, so can use a lot of memory.
* Per part rendering for lower memory usage during creation.
* Colored shadow.
* Textured color/alpha shadow.
* Mipmaps for faster filtering.
* Volume shadows.

Usage Hints:
* Use sample buffers + smaller size rather than large size.
* For example 512 size x 9 sample buffers instead of 2048 x 1.
* Compression threshold 0.05 works, but is on the conservative side.
2009-10-12 19:41:40 +00:00
William Reynish
6b03b4285c *Moved the texture reordering buttons to the side
*Use same icons for reordering in constraints, modifiers.
2009-10-12 17:00:38 +00:00
William Reynish
9cefe50e1f *Added ability to enable GLSL display in the 3D Views View panel (n key).
*Commented out the Quad View options since they don't work yet.
2009-10-12 16:34:55 +00:00
Campbell Barton
fbde77ce80 texture slots up/down back 2009-10-12 16:00:39 +00:00
Campbell Barton
50fd4f967f minor changes to texture ui, not user visible 2009-10-12 14:38:35 +00:00
Campbell Barton
a3f6b0ed00 - add torus back from 2.4x as an operator
bpy.ops.mesh.primitive_torus_add(major_radius=1, minor_radius=0.25, major_segments=48, minor_segments=16)

- experemental dynamic menus, used for INFO_MT_file, INFO_MT_file_import, INFO_MT_file_export and INFO_MT_mesh_add. these can have items added from python.
eg.

- removed OBJECT_OT_mesh_add, use the python add menu instead.

- made mesh primitive ops -  MESH_OT_primitive_plane_add, ...cube_add, etc. work in object mode.

- RNA scene.active_object wrapped

- bugfix [#19466] 2.5: Tweak menu only available for mesh objects added within Edit Mode
  ED_object_exit_editmode was always doing an undo push, made this optional using the existing flag - EM_DO_UNDO, called everywhere except when adding primitives.
2009-10-10 21:23:20 +00:00
Martin Poirier
622ffe263a Bringing back the transform orientations panel.
Orientations enum in view3d. Full list of custom orientation (RNAified) in scene.
2009-10-10 17:40:56 +00:00
Thomas Dinges
331a58d44c * Added the new Render Icons to the menu as well.
* Added Tooltips for Help Scripts.
* Minor tweak to Continuous Grab Tooltip, as it now works on Mac too.
2009-10-10 09:34:22 +00:00
Matt Ebb
d30be46ad8 * icon set updates, thanks jendryzch 2009-10-10 08:40:44 +00:00
Joshua Leung
f9bb4e3195 * Added Grease Pencil Operator buttons to the Toolshelf
* Cancelling loopcuts with EscKey or RMB now works again.
2009-10-09 23:34:52 +00:00
Brecht Van Lommel
9bf20b5ec0 UI scripts:
* Fix AAO showing Distance property even though it is not supported.
* Fix texture buttons not displaying texture stack from the node material.
* Small visual tweak to particle mode options.
2009-10-09 15:25:19 +00:00
Campbell Barton
8c96e2f4d2 - added ramp diffuse & spec factor rna props
- made 3dspace camera editable
- convert in object menu
2009-10-09 14:35:54 +00:00
Thomas Dinges
cbd5117432 * Show Smoke Field Weights only for Domains. 2009-10-09 13:56:35 +00:00
Thomas Dinges
ae6c08ac5e Wrong Tooltip for Continuous Grab. 2009-10-09 12:47:25 +00:00
Brecht Van Lommel
2226a5139a Fix some issues with showing the current textures when using
material nodes and texture nodes. Made it all use the same
give_current_*_texture functions now.
2009-10-09 09:50:49 +00:00
Campbell Barton
5c867406aa menus are now global (like operators), so for eg, the info add menu and the 3D add menu can be shared. 2009-10-08 19:06:32 +00:00
Brecht Van Lommel
3ebd58673f Key Configuration
Keymaps are now saveable and configurable from the user preferences, note
that editing one item in a keymap means the whole keymap is now defined by
the user and will not be updated by Blender, an option for syncing might be
added later. The outliner interface is still there, but I will probably
remove it.

There's actually 3 levels now:

* Default builtin key configuration.
* Key configuration loaded from .py file, for configs like Blender 2.4x
  or other 3D applications.
* Keymaps edited by the user and saved in .B.blend. These can be saved
  to .py files as well to make creating distributable configurations
  easier.

Also, user preferences sections were reorganized a bit, now there is:
Interface, Editing, Input, Files and System.


Implementation notes:
* wmKeyConfig was added which represents a key configuration containing
  keymaps.
* wmKeymapItem was renamed to wmKeyMapItem for consistency with wmKeyMap.
* Modal maps are not wrapped yet.
* User preferences DNA file reading did not support newdataadr() yet,
  added this now for reading keymaps.
* Key configuration related settings are now RNA wrapped.
* is_property_set and is_property_hidden python methods were added.
2009-10-08 18:40:03 +00:00