Commit Graph

543 Commits

Author SHA1 Message Date
2e8f8bff22 Curves in Editmode:
HKEY and Shift HKEY are used to change the handle type of curve control points in the IPO and Action Editors, and also for curves in the 3d view until recently.

This commit reverses the hotkey changes in:
http://projects.blender.org/pipermail/bf-blender-cvs/2007-May/009879.html

For curves, I've changed the show/hide points hotkeys to:
* Ctrl Alt HKEY  == Hide Point(s)
* Alt HKEY == Show All Points

These aren't optimal, but at least there are usable hotkeys for this for now. Before, there had been a long-standing hotkey conflict. Better hotkeys can be designed as part of 2.5 work.
2007-05-04 11:35:37 +00:00
aa7d7103b1 Log:
This commit fixes following issues:
* Undo push of "deselect" does not work correctly with curves. [#6632]
* Hotkey (h) does not work correctly with curves. [#6633]
* If control points are hidden partially (not all are hidden at once),
curve object is not hidden. [#6633]

Issue regarding the way curve objects are shown in the object mode
when they are hidden remains to be solved. [#6633]

First commit!
2007-05-01 14:37:59 +00:00
243d1a28c0 Casting fixes for 64 bits. Incomplete commit, discussion on proper casting
has to be finished.
2007-04-29 10:49:02 +00:00
836ccb8ab0 Bugfix #6614:
spurious "can't edit external libdata" for normal operations on proxy armature


Also, fixed two typos in code comments.
2007-04-28 03:01:12 +00:00
ad470b6971 Fix hide/show don't work in object mode. 2007-04-27 16:56:29 +00:00
3f153c25be hiding objects in texture paint mode was buggy - (you couldnt exit texxture paint) - so only hide/show objects in object mode.
removed radiosity support.

According to the author -

"The Radiosity file format is my own personal format. I created it to
learn how meshes and vertex colors were stored. See IO-Examples.zip, the
example *.radio files on my web page."
2007-04-25 14:47:29 +00:00
13b1fbd665 made blender take hidden objects into account in more situations.
Ctrl+RMB used to select a hidden object as well as "Select Grouped -> Parent"

Also made OOps and data browser check for hidden objects.

Added a countall to hide/unhide objects.
2007-04-25 02:20:55 +00:00
f5a40315ca -> Keybindings for hiding objects
Small feature, added keybindings for setting the visibility restriction flags
that were previously only accesible via the outliner

HKEY 		Hides all selected
SHIFT-HKEY 	Hides all unselected
ALT-HKEY 	Shows all hidden
2007-04-19 19:47:51 +00:00
4116599c1f moving from camera view with home and astrix keys now uses smooth view (This should be the last one).
Fix for own error from a wile ago Numpad-Astrix would set to size view of selected faces, rather then front.
2007-04-19 15:02:54 +00:00
f9ff47464d remove warnings from last commit.
smooth view now works for change between cameras, smooth view now blends the lens angle too.
2007-04-18 22:53:20 +00:00
b95f4ba2ad added a hook menu for object mode, more commands can be added here but currently there is only Reset Offset and Recenter at Cursor
This functionality was requested by malfico when dealing with many hooks.
2007-04-17 16:14:41 +00:00
384f7a7875 mesh_wire, fixed error with zero area edges
Holding Ctrl flips the align view in editmode. (patch from BeBraw)
2007-04-11 14:00:11 +00:00
a64339d319 Use smoothview For * (align to object) and editmode align to selected. 2007-04-09 12:22:22 +00:00
525e7ac8d0 smooth view transformations, set the smoothview value to about 250 and the view animates when you switch between side, top etc. 2007-04-09 11:15:23 +00:00
79e3b3b8b0 == Sculpt Mode ==
Added the layers shortcuts (0-9, minus, equals, accent) for Sculpt Mode.
2007-04-08 19:14:22 +00:00
29c0708145 == Preview Range ==
Preview Range now works in the IPO editor.
2007-04-06 06:52:00 +00:00
afdd54fa37 moved source and text to american spelling
* colour -> color
* centre -> center
* normalise -> normalize
* modelling -> modeling
2007-04-04 13:18:41 +00:00
eafb84118a Bugfix #6308
Composite preview in Image window didn't work OK when making a window
fullscreen. That because it depended too much on a composite editor to be
open, for refresh events.

Now you can use preview panels in a full-screen image window too.

It also works a bit different... noticable while dragging preview panel
around.
2007-03-29 12:08:14 +00:00
31673f0a8c removed commenst from space.c
removed .load() from bpy.*dataseq* - Use .new(filename='') instead as discussed at the meeting.
2007-03-26 11:24:52 +00:00
48d6c9f3ce check curarea isnt NULL, blender would crash switching scenes in the outliner while fullscreen, then going into un-fullscree view. 2007-03-26 03:36:46 +00:00
796c87e869 Bugfix #6435
New option "rotate around selection" failed in editmode, when nothing was
selected.
Function calculateCenterMedian() missed that case.

Also added some zero initializing in code.
2007-03-24 11:56:10 +00:00
5219812f55 Added "Pack Charts" function in the UV editor, using Campbell's new box
packing code.
2007-03-22 20:32:20 +00:00
4f5065ac98 addad e new macro - BASE_SELECTABLE for checking if an object is selectable (restrict visible and restrict selected are off and its in the current view layer)
Made "Select Grouped" functions and "Select Linked" use BASE_SELECTABLE macro so they wont select objects they shouldent.
Made "Select Grouped" push an undo

Made "Select Grouped" and "Select Linked" only push add an UNDO if they make a change to the selection.

Fix for own bug. "Select Group" -> Hooks option could crash blender if an objetc hook was in another scene.
2007-03-19 05:09:56 +00:00
5297123de1 === View Orbit Around Active ===
Changed to Orbit around Selection, using transform code to calculate the selection center (using Median center method).
2007-03-18 18:21:24 +00:00
41aac13d9e == Recently-Opened Files List (Patch #5708) ==
In the past, this was limited to only having 10 items. Now you can set the
number of recently opened files that are remembered (ranging from 0 to 30
items).

Setting for this can be found under 'Auto-Save' in the Info window.
2007-03-18 03:30:24 +00:00
bd04d23465 When pressing XKEY or DELETE in NLA/Action/IPO editors, you are no
longer asked whether you want to delete the selected markers or keys.
Instead, it more 'logically' deletes anything that is selected.
2007-03-17 05:50:47 +00:00
ed31a7c6bb [ #6214 ] Select object of the same group.
rewritten to find the groups that an object is apart of only once (less listbase searching).
with the limitation of 24 maximum in the menu.
2007-03-13 16:15:59 +00:00
4bd5ab628b == Multires ==
Fixed bug #6153, Blender Crash during rendering (internal) with object selected in edit mode.

* Added a render parameter to several of multires's functions. If render==true, multires won't push data onto the undo stack, and regular Mesh data is always used (as opposed to EditMesh data.)
2007-03-08 05:54:39 +00:00
4b0db88d3e == Sculpt Mode ==
Removed special Sculpt Mode undo code. Sculpt Mode undo is no longer so useful, since in order to make it more correct it has gotten slower, so normal BIF_undo_push is used now. Fixes bug with Shape Keys, sculpting on a shape key wasn't doing undo properly.
2007-02-27 06:22:41 +00:00
3a2c58b6ec When looking into code for centering the Ipo view on the current frame,
it turned out it was already in there (center_currframe), and already
had an event entry in the View menu. It only lacked an actual menu entry.

Added the menu entry, along with hotkey Shift-C. Consistency with other
window types would indicate it should be C-key, but that is already taken
by what's probably an obscure curve edit mode function. With event refactor
in the future, I'm loathe to start changing hotkeys ;)
2007-02-21 16:48:36 +00:00
0bb0c54f4b Regression test fixes:
- New Softbody panel now is named "Soft Body Collision" (instead of II)
  Also made it start tabbed, and made Fluids panel start untabbed.

- Infowindow: skip drawing buttons when width is smaller than 320 pixels.
2007-02-14 11:00:05 +00:00
fd05f23dce =Armature Undo Fix=
Armature undo was incomplete; no less then 6 places needed undo pushes.
Added undo pushes, and made sure deselectall_armature/posearmature played nice
and only did undo pushes when they're called with AKEY.

This seems like a fairly old issue.  I guess people just didn't notice it enough
to file a bug report. :)
2007-02-10 19:07:47 +00:00
de0e9d8b20 Fix for bug #5975:
Clear location and rotation confirmation dialogs were shown in edit mode
but did nothing. These should be disabled in edit mode.
2007-02-10 14:38:50 +00:00
549289df27 == Sculpt Mode ==
Fixed bug #5917, shift-c doesn't work in the sculpt mode

* Added CKEY and SHIFT+CKEY to sculptmode's shortcuts (behavior is the same as for non-sculptmode.)
2007-02-04 22:17:51 +00:00
378a28fee4 == Sequencer ==
Bugfix: when ipo-frame-locking is turned off, make the ipo cursor show up
 at the correct position and set CFRA correctly, if changed within IPO.
 (avoids very annoying snapping...)
2007-01-28 13:43:46 +00:00
d58cc7b9e6 == Multires ==
Partial fix for bug #5771, Multires tool deletes crease flags on edges

* Modified the edge flags code to support all of the edge flags (not just seams.)
* Added a new array to the Multires struct to store creases.
* For Mark Sharp, Clear Sharp, and Crease, displays an error if applied to a multires mesh not on level 1.
2007-01-22 08:34:53 +00:00
f03cc7bd29 Enabled slashkey in sculptmode for local view. 2007-01-12 16:16:59 +00:00
2ffc57c49f Removed yet another use of set_sculpt_object. 2007-01-12 06:17:03 +00:00
7bcfc5be3f == Interface ==
Touched up the render baking header menu.
2007-01-12 01:13:27 +00:00
2e66b143f3 - Added panel for Bake render (tabbed now in 'anim' panel).
(Empty space will get OSA options, that I add tomorrow or so)

- Removed a lot of old unused variables in renderdata. Also meant I had
  to remove this from python API... please check if this gives valid
  scripts?

- Cleaned up bad formatted code for FFMPG buttons (spaces instead of tabs)
2007-01-09 11:10:12 +00:00
3b15461a4a R key when face select mode and weight mode were enabled, would rotate UV coords.
Most other operations use WP keys instead of UV/Face, so R now rotates the posebone instead.
When combining the modes this your more offten wanting to move the pose then the UVcoords.
2007-01-09 03:33:32 +00:00
eb3d720bd9 === Transform Snapping ===
Snap/Grid icon button in 3D view header (edit mesh). FIXME NOTICE: make nice looking icons (yes, that's for you Matt)
When snap is on, a drop down appears for the target method (closest, median, center)

Hotkey to toggle snap is Shift-Tab (this was previously used for a not totally equivalent to Tab. Ton said OK to scrap it). That hotkey is currently restricted to edit mesh (where snap is currently restricted).

Changed a couple of ugliness on how snap settings are stored.
2007-01-07 19:33:00 +00:00
8039ad32df A few code cleanups for the IPO cleaning stuff in an attempt to get rid
of a bug which hides all but the active ipo-curve after cleaning. The bug
still remains, but I hope to have a solution soon.
2007-01-04 22:35:19 +00:00
e526b0a06e Fixed bug #5587, emulated numpad viewport rotation keys non functional in sculpt mode, was just missing a call to convert_for_nonumpad. 2007-01-04 21:42:52 +00:00
31e4149c44 Reverted my fix for bug #5539, brush circle cursor is slow. The fix was causing more sculptmode drawing artifacts for some users. Since this is a non-critical performance related bug, it can wait until after 2.43. 2007-01-04 07:03:00 +00:00
0909fa71ea Added Ctrl+FKey shortcut for rotating the brush texture. Also improved the drawing of rotated brushes in propset mode. 2006-12-31 21:55:12 +00:00
5d061a5100 Changed Add/Sub sculpt menu items to a single Add toggle, shortcut is Vkey 2006-12-29 22:09:05 +00:00
d9e0e883f2 Sort-of-fix for bug #5382, sculpt - image/texture brush heavily distorted when not sculpting flat relative to screen
Fix for bug #5248, sculpt - mirrored tiled texture odd results

Changed the algorithm used for projecting the brush texture onto the model. The old algorithm was never implemented properly, causing increasingly
wonky distortions of the brush as it got farther away from parallel to the screen. The new system uses the screen coords of vertices, the obvious
advantage being that 2D screen coords can be mapped quite easily to 2D texture coords. The main disadvantage of this method is that there are still
distortions in the brush as the surface beneath it becomes less parallel the screen. These distortions, however, are not as bad as the old ones
because they are predictable from the user's perspective. (It's analogous to a movie being projected onto a sphere; if the viewer is in front of the
sphere there is no apparent distortion, but from the side the movie appears stretched and distorted.)

This may still be worth revisiting after the release.
2006-12-29 08:40:19 +00:00
376ee50d3e * Dynamic icon file loading and themeability
This patch allows icon files (.png) to be loaded into Blender dynamically,
without having to go through the tedious and technical process of compiling
them in. It also makes them part of the theme settings so they can be
attached as part of a theme and saved in the default .B.blend.

Icon files should be stored in $HOME/.blender/icons/ . This really sucks on
Mac since it's hidden in the finder, but it's a separate issue. We need a
better system of finding things like this, python scripts etc, perhaps a
nice wrapped function something like BLI_getresourcedir(), then it's easy to
do platform specific stuff there, like using ~/Library/Application Data on Mac.

More info and docs in the patch tracker @
https://projects.blender.org/tracker/index.php?func=detail&aid=5334&group_id=9&atid=127
2006-12-29 04:46:47 +00:00
ef0d41b956 Fix for bug #5539, brush circle cursor is slow. 2006-12-28 23:23:10 +00:00