Commit Graph

19997 Commits

Author SHA1 Message Date
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
Campbell Barton
5938b4c93e new utility function for BLI_storage.h - BLI_is_dir
currently unsupported on windows.

should fix this too [#19656] N-Panel in filebrowser not working
though typing in invalid names then becomes possible
2009-10-16 10:22:11 +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
Joshua Leung
680888419d A few Graph Editor tweaks:
* Tiny tweak of GL commands used when drawing F-Curves (single GL_LINES instead of multiple GL_LINE_STRIPS) to hopefully improve the performance with heaps of handles drawn a bit

* Spelling fix for initTransDataCurveHandes -> initTransDataCurveHandles
2009-10-16 10:01:15 +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
Joshua Leung
004199efd4 Graph Editor - Transform Crash Fix
The code for transforming a mixture of keyframes with bezier and non-bezier interpolation was crashing. 

The old code only took all the handles when a keyframe was bezier, and one when it was not; but sometimes this underestimated the situation (the first handle is only really used if the previous keyframe was bezier, as per the standard evaluation rules for these, but it didn't really check for this). Now, it just adds them whenever, since there is the possibility that keyframes may be moved before other unselected ones, in which case the handles may become invalid.

Thanks to Lee (from Durian, who found the crash), and Jess Balint (who had submitted a patch with some steps towards fixing this)
2009-10-16 06:24:39 +00:00
Martin Poirier
7016400278 Zoom to mouse pointer with mouse wheel works again.
The point where it zooms to can now be specified as operator properties and will be used if zoom to pointer is on. (when not specified, it will use the x and y of the event)
2009-10-16 00:23:40 +00:00
Martin Poirier
6ffb79107c X Mirror editmesh with PET
Lock vertice near the middle (|x| < 0.0001) on the mirror's plane.
Don't propagate transformation across mirror plane (this could probably be smarter)
2009-10-15 21:54:22 +00:00
Martin Poirier
dcecd8e043 Force cursor grab OFF when running with -d.
It helps running a debugger when you can click on stuff when on a breakpoint...
2009-10-15 20:38:35 +00:00
Campbell Barton
17c7b46334 object apply menu and keybinding (Ctrl+A) 2009-10-15 20:15:21 +00:00
Damien Plisson
ee6dd8ec38 Cocoa :
- implemented custom cursor handling
2009-10-15 20:09:50 +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
Campbell Barton
d464e2454e move view3d keymaps so edit&paint mode keymaps override removed workaround that prevented switching directly from editmode to paint modes
+ other minor changes
2009-10-15 17:59:42 +00:00
Thomas Dinges
bd0fee9a4c Network Render:
* Some code cleanups to match layout file code guidelines.
* Ported Operator Labels to op file itself.
* Added some Tooltips, theeth: Feel free to change/improve them as you like. :)
2009-10-15 17:18:47 +00:00
Martin Poirier
c102cedbf5 [#19644] Rotate around selection doesn't work
offset structures weren't initialized properly.
2009-10-15 15:58:12 +00:00
Guillermo S. Romero
81beef19a3 Add side clicking in sliders.
Hold Alt and click where arrows are in num buttons.
2009-10-15 14:41:21 +00:00
William Reynish
33cd5fb85a Tiny tweak to make Anim Player button wide enough for icon+text. 2009-10-15 13:52:27 +00:00
William Reynish
d80074f18c Updated icons. Changed some icon names that weren't blank. 2009-10-15 13:47:18 +00:00
Brecht Van Lommel
158534d404 Bugfix: editing shape keys in edit mode would not work correct
when blending shape keys.
2009-10-15 13:33:56 +00:00
Joshua Leung
fe649ec580 Num Sliders Tweak:
The dark bar for sliders will now be drawn in a way that takes into account the state of the slider (this includes info about keyframing and/or drivers). This means no more ambiguarity about whether these sliders are animated or not!

I've had to make a little hack here to make sure that the sliders bar will still be visible after the state has been blended, but this should probably be solved nicer by adding a separate setting for blending-factor in this case.
2009-10-15 11:52:23 +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
Brecht Van Lommel
29e738f60c Bugfix: deep shadow buffer commit made mixed solid/ztransp rendering
not work correct without OSA.
2009-10-15 09:56:10 +00:00
Campbell Barton
a28b9512fe made texflag a short everywhere (only stores one flag)
fix for crash with separate (missing NULL check)
2009-10-15 09:00:40 +00:00
Campbell Barton
a6645bfafb pack all was giving an error on the render result 2009-10-15 08:39:47 +00:00
Damien Plisson
3b2d752933 Cocoa :
- Small changes to make ghost_cocoa compatible with 10.4 + gcc4.0 (the initial goal was to be 10.5+ compatible, but 10.4 is finally also possible)

- Main window title is now in Apple document window title style (proxy icon + filename)

- fix for top menu "Blender" sub-menu not anchored correctly in 10.5
2009-10-15 08:27:31 +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
316d604daf TransformOrientation enum is in the transform operators too, so we can't always cast to screen. 2009-10-15 01:34:29 +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
Campbell Barton
7bed5e35b4 added operators for setting rna for each type, this avoids having double "'quoted'" strings from C which is ugly. 2009-10-14 20:09:21 +00:00
Brecht Van Lommel
991e67ddc7 RNA:
* Enums with an _itemf callback now never get context NULL passed in,
  rather a fixed list of enum items are defined which should contain
  all items (if possible), from which the _itemf callback can then use
  a subset.
2009-10-14 19:19:43 +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
Campbell Barton
f579fe5681 fixes for warnings and crashes during doc generation 2009-10-14 18:48:19 +00:00
Campbell Barton
58cabaa1e3 weight-paint colorband wasnt working 2009-10-14 16:23:23 +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
0f6190a19b fix for continuous grab where you couldnt properly click the button for incremental changes or editing 2009-10-14 14:44:21 +00:00
Brecht Van Lommel
73076a623b Bugfixes for python RNA/
* Adding properties to python defined subclasses could add
  them to the base type instead.
* FloatProperty did not work correct with negative min/max.
2009-10-14 14:44:05 +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
Brecht Van Lommel
1ce959b16e Shape Keys: disable the temporary shape display system, where
it would show you the last selected shape key until doing
another operation. This is confusing, and the Pin button allows
you to do the same kind of shape browsing.
2009-10-14 13:21:54 +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
cd202a1a24 Drivers UI - Converting to Layout Engine
* Converted Drivers UI to mostly use the Layout Engine
* All the buttons that perform actions are not operators yet (the code for that would be quite icky still)

* I've added some (commented out) calls for the property definitions of Driver properties to perform Depsgraph updates. I've left these commented out until we have the option to turn off auto-updates, since with driver editing, that could be very dangerous.

* Drivers can now (in theory) use any ID-block, using the Any-ID template added earlier. However, be warned that the stupid depsgraph won't be able to cope with most of these cases.


TODO: 
- more fancy widgets for RNA-Path and Index will come later
2009-10-14 11:57:26 +00:00