Commit Graph

47594 Commits

Author SHA1 Message Date
Willian Padovani Germano
dd6a83d9c0 Exppython:
- Minor tweaks related to ipos and Added Object_setIpo and Object_clearIpo to Object.c
- Updated docs
2003-10-29 01:37:32 +00:00
Ton Roosendaal
f3a809b09f - made option for auto open toolbox on left/mouse hold.
standard starts with 0.5 sec. Turn the threshold value up to effectively
  disable it when you dislike it. But give it a try!
- added 'Home' after splitting window for buttonswindow
2003-10-29 01:10:10 +00:00
Ton Roosendaal
5ea904faca - added another load of items to new toolbox... yeez, what an
ENORMOUS job Matt has done with the menus! :)
- followed as much as possible order and options in pulldowns, but since
  toolbox has more categories, it is split up sometimes.
- did some minor changes in pulldowns to make it more consistant
- not yet: armature & text options...
- not yet: toolbox in other window types

(warning; shift+a now is new... eek!)
2003-10-29 00:23:16 +00:00
Martin Poirier
29f532588a fixed the last bug with FollowPath (it didn't work with path without a speed IPO). 2003-10-29 00:06:59 +00:00
Jacques Guignot
fad1324e5a update of the doc (ipoCurve function) 2003-10-28 23:25:59 +00:00
Jacques Guignot
976164a338 modified the print function 2003-10-28 23:25:25 +00:00
Jacques Guignot
966ff6840e added getIpo() function. 2003-10-28 23:23:30 +00:00
Roel Spruit
a496ca4db3 faceloop select adds to selection by default now. I know this is not standard behaviour but there isn't a nice way to implement the normal "Shift adds to selection" for this yet.. 2003-10-28 22:46:34 +00:00
Ton Roosendaal
10c452e13e - fixed hotkey error; apply object needs 2 combos
- changed call to selectconnected to accept qualifier as input
  (need to do that for all such tools... no more checking inside!
2003-10-28 21:28:13 +00:00
Ton Roosendaal
dcfdb6f3bc - forgot to add links panel for:
Armature, Camera, Lattice
- this enables browsing data again. All in F9 menu (editing)

- fixed 'home' in buttonswindow, mixed up 1 and 0 again! :)
  (it scaled in the wrong direction...)
2003-10-28 19:03:28 +00:00
Ton Roosendaal
5f3a96be10 Fixes after report from Matt:
- errors in names/hotkeys pulldowns fixed
- full window option in pulldown win caused ortho on/off event
- weight paint now shows vertex color Panel in editbuttons
- adding armature while vpaint mode, didnt end vpaint mode
- cleaned up some buttons design
- leftmouse press-hold for toolbox also moved 3d cursor
2003-10-28 18:43:55 +00:00
Martin Poirier
f7b513ea7a Fixed Edge shift selection with Ctrl-Alt-Shift-Right click
Please, if you find anymore bugs like this, report them.
2003-10-28 17:47:04 +00:00
Ton Roosendaal
5bd910ae2c - added buttons for NKEY menu editmode curve, nurbs, armature
- same for PoseMode
2003-10-28 16:26:51 +00:00
Martin Poirier
1e3da857b9 Ooops
typing code for all the other transform mode too
2003-10-28 15:29:25 +00:00
Ton Roosendaal
f3c219efd4 - added Ipo Panel in 'curve' pulldown menu
- fixed: with a minimized 'object transform' panel in 3d win, another call
  for it using pulldowns didnt force it open
2003-10-28 15:05:11 +00:00
Ton Roosendaal
a5247cf5b8 - fixed bug in wrong event code, causing some plugin buttons not working
- added redraw events to plugin buttons, to show updates better
2003-10-28 14:37:47 +00:00
Ton Roosendaal
4bec8ba7d5 Fixing loose ends:
- nkey menu for buttonswindow (hex values) couldnt be restored yet, is
  for next release
- replaced Nkey in IpoWindow with Panel, this now displays the buttons
  that were formerly in 'anim buttons' as well; to view the boundbox
  values of all visible curves, and adjust it.
- the new panel also has the 'set speed' option, fixed stuff in it and
  added better errorwarning... still not a very well coded tool!
2003-10-28 14:20:03 +00:00
Robert Wenzlaff
c6ec4cb984 --Changed labels in Knife from "Centers" to "Midpoints".
--Removed unintenntional reliance on headerprint() to swap buffers.
	(Needed to click on screen to update mesh if header was off).
2003-10-28 13:14:47 +00:00
Stephen Swaney
df53e57bf3 Missing feature: Snap menu was not available in editmode.
Fixed compiler warning about ambiguous else in TKEY block.
2003-10-28 07:15:02 +00:00
Martin Poirier
829c0340f2 mostly done for both toets.c and space.c
maybe a couple of odd cases here and there. I'll be cleaning tomorrow.
2003-10-28 03:08:50 +00:00
Willian Padovani Germano
9c6275c55b Exppython:
- Small fix in NMesh.c
- Updates to ipo related methods in Camera, World and Material
- Doc updates
2003-10-28 00:29:37 +00:00
Martin Poirier
bfef1d0d92 Hotkey fixes for space.c
renaming mirrormesh to mirrormenu and added to the hotkey M in editmode (Layer move no longer works in edit mode)
2003-10-27 23:55:38 +00:00
Jacques Guignot
9c54e9507a Updated documentation for the getCurves function. 2003-10-27 21:50:36 +00:00
Ton Roosendaal
5ca0051419 - fixed very very old but in TOG button (it didnt check the values
correctly for deciding whether its pressed or not
- added 'add new' buttons to material & texture menus
  is done by std_lib buttons in headerbuttons.c, now only for this.
  doing it for ipowindow, sound, etc. has some weird consequences, save
  that for later
- verified usage of 'setting2' color for databuttons only
2003-10-27 16:13:45 +00:00
Ton Roosendaal
c69636b288 - included glitch patch from Desoto:
the 'copy/paste' icons in Materials editor are drawn on fixed location
  now.
2003-10-27 13:32:48 +00:00
Ton Roosendaal
41545885b8 - added a 'collapse pulldown' icon to all headers that have it
- narrowed the space icon takes, looks pretty
- the status (pulldown or not) is now stored locally per window, it was
  global flag in user settings.
2003-10-27 13:23:48 +00:00
Ton Roosendaal
e51a464731 - fixed this nasty selection problem, i hope for good!
- problem was in limiting the abuse of frontbuffer drawing as happended
  a lot in 2.28 and older. the less the better...
- bug was not registering a curarea->win_swap=FRONT_OK, to indicate there
  was only drawn in frontbuffer
- cleaned up calls further, and made sure it doesnt draw 1 vertex too many!
  also means it works better with selecting in solid drawmode now, check!
2003-10-26 23:47:58 +00:00
Robert Wenzlaff
cc35c992b3 Added K Menu for Loop Select, Loop Cut, and Knife tools. 2003-10-26 21:22:32 +00:00
Jacques Guignot
cd0e042dbc Update of the documentation files for the new IPO functions 2003-10-26 21:22:24 +00:00
Ton Roosendaal
0311189fb8 - fixed printing in headers (during modes) for when there is no header...
(uhh.. i mean, then it doesnt print!)
- put back axis icon of 3d win to left/bottom corner.
  it was only moved for tests with an extended header to the left...
2003-10-26 21:09:33 +00:00
Ton Roosendaal
f0f851d963 - restored default one 'solid' light
- subsurd level '0' is possible again.
  however; it was changed to '1' because convert-to-mesh crashes. the
  subsurf code doesnt give a result when level is '0', causing the convert
  routines to either crash, or deliver empty mesh...
  I added a warning in the convert routine now, and dont do anything then.
- changed all glFlush() in glFinish() in editobject.c, which seems to be
  the right magical call to show frontbuffer drawing.
2003-10-26 20:45:52 +00:00
Jacques Guignot
cfa48583ae added a new function : getCurve(string) allowing access to an ipo curve from its name. 2003-10-26 16:54:33 +00:00
Jacques Guignot
6b1b9c1890 iaccess to the IPOs of a Camera, a World, or of a Material 2003-10-26 16:51:53 +00:00
Simon Clitherow
e63a938c45 - removed a debug printf(). 2003-10-26 08:58:48 +00:00
Willian Padovani Germano
d423c0828f Exppython:
- Added "Radio" to Material modes
- Fixed bug in bone.getParent (bug report on blender.org py forum)
- Added more types to object.shareFrom (method to share obdata)
- Added nmesh.get/setMaxSmoothAngle and nmesh.get/setSubDivLevels
- Updated NMesh doc
2003-10-26 06:03:18 +00:00
Martin Poirier
1f7bfbf50a Mirror now works with all types of data
Fixes the different type of center for Mirror
Rename mirrormesh to mirrormenu

I'm looking for a hotkey for that. Will talk about it tomorrow during the meeting
2003-10-26 04:18:03 +00:00
Ton Roosendaal
6da544eeeb - new menu type; with icon support!
(the one you make with uIDefBut(..., MENU, ...)
  add a %i<nr> to the string, and the item gets <nr> as icon.
- added this to the 'mode' selectors in 3dwin and ipowin
- cleaned up code for modeselector pup... that was a bad ass one! :)
2003-10-25 23:57:58 +00:00
Martin Poirier
f9e231beb0 Background image offset buttons 2003-10-25 22:59:15 +00:00
Ton Roosendaal
7c6ddc2bd3 - fixed bug: strcat used instead of strcpy.
is dangerous on unitialized stack string...
2003-10-25 22:43:08 +00:00
Ton Roosendaal
37edc132dd - added more items to the menu. Object is getting complete, now Mesh... 2003-10-25 22:30:27 +00:00
Ton Roosendaal
bbd9018ec5 - fixed colors of ipokeys in 3d window
- fixed constraint popup menu (used icons)
- moved 'full' and 'View3d props' and 'background' items in menu to bottom
  Hope Matt wont kill me for it, but these were about the only useful
  ones there... :)
- little fix in interface.c for menus...
2003-10-25 22:29:24 +00:00
Martin Poirier
36668278ac Fixed grab on local axis in object mode 2003-10-25 22:24:00 +00:00
Ton Roosendaal
f3532c7be5 Split the 'background and settings' panel in 3d window in 2 parts.
Instructions for how to add panels there:

- add a handler define code in BIF_space.h
- create a menu item that invokes a add_blockhandler()
- add to view3d_blockhandlers() the correct handler for it

- plus create a panel itself, just copy one... it needs some stuff
  to get working, docs for that are for later
2003-10-25 22:03:19 +00:00
Roel Spruit
c2cb25a4ed fixed a few warnings in my code 2003-10-25 20:56:05 +00:00
Martin Poirier
786fad9285 corrected a bug with Align view and rotated objects 2003-10-25 20:30:37 +00:00
Ton Roosendaal
7326fa933b - fixed crash with ALT+C conversion of subsurf to mesh with subdiv level 0
- also changed the limits in the subdiv levels buttons; ranging now 1-6
  (note: '6' gives 16k new faces per old face... and max was 12!)
2003-10-25 19:17:24 +00:00
Ton Roosendaal
ce60c3edc1 - fixed smooth drawing of subsurf & mesh in 'shaded' draw mode.
looks indeed a lot better!
2003-10-25 17:33:47 +00:00
Ton Roosendaal
9ea73362ae New feature!
You now can adjust the way the default 'solid opengl' drawing happens.
It provides three lights now, all still located around your viewpoint.
In the UserSettings menu you can set them on/off, give location and
color / specularity.

Very nice to enhance modeling in solid drawmode :)

By default blender starts with 2 lights on now, but this is something we
can define in the default .b.blend later on.
2003-10-25 16:53:50 +00:00
Jiri Hnidek
8675a8b165 - item "Export" renamed: "Convert to 3d text" 2003-10-25 14:33:53 +00:00
Simon Clitherow
066df297b5 - fixed a bug when saving user defaults (Win32 only)
(the first save didn't store paths or font settings!)

This is something I broke back at 2.28a :)
I'm suprised there were no bug reports on this, but it's fixed now! ;)
2003-10-25 14:09:18 +00:00