066df297b5- fixed a bug when saving user defaults (Win32 only) (the first save didn't store paths or font settings!)
Simon Clitherow
2003-10-25 14:09:18 +00:00
084cb3aadcadded IPO header pull-down menus.
Simon Clitherow
2003-10-25 13:29:38 +00:00
0c00846c65- commented out the #ifdef APPLE for closing renderwindow. this only works with compiling GHOST again!
Ton Roosendaal
2003-10-25 13:27:12 +00:00
4d156ec195- found the bad line in Ghost that preventing closing windows. I've mailed Maarten to verify it, this commit is for test at other OSX platforms.
Ton Roosendaal
2003-10-25 13:25:59 +00:00
3545113051fixed three bugs:
Ton Roosendaal
2003-10-25 11:38:04 +00:00
f4ce3d1b86- added menus to header of text editor - added Alt-N shortcut (New text) - look at blender.webpark.cz/texteditor.html
Jiri Hnidek
2003-10-25 10:33:03 +00:00
00f11bf5f3Fixed bug in Loop Subdivide preview line (cause a crash)
Roel Spruit
2003-10-25 09:41:22 +00:00
f90a2c3839Final (hopefully) commit for faceloop select and loop subdivide
Roel Spruit
2003-10-25 00:37:14 +00:00
3de3929ba6I did one commit, but two logs!
Ton Roosendaal
2003-10-25 00:11:32 +00:00
513ae61f2bFirst commit of a new toolbox system.
Ton Roosendaal
2003-10-25 00:08:12 +00:00
5f26e16c51Exppython: fixed crash caused by linking to a scene objects with NULL obdata, caused by recent (2.28c) internal changes to avoid unneded creation of obdata.
Willian Padovani Germano
2003-10-24 17:08:59 +00:00
6c9f9d0716Annotation of the BGL module - small clarifications about Buffer class
Joseph Gilbert
2003-10-23 23:44:18 +00:00
c8b85db96cAnnotation of the BGL module
Joseph Gilbert
2003-10-23 23:17:48 +00:00
904c039e3c- added ifdef INTERNATIONAL for changes in interface.c - changed switching to smaller/larger fonts, it now does only 1 pnt size. with standard font (11), medium is 10, small 9
Ton Roosendaal
2003-10-23 22:28:49 +00:00
734637215bthere was a function prototype missing from interface.c that caused an error with MSVC.
Martin Poirier
2003-10-23 22:20:19 +00:00
9efe4b7f9a- AntiAlias fonts (FTF) now are used in three sizes, like the normal fonts, and switched based at the window zoom.
Ton Roosendaal
2003-10-23 18:25:08 +00:00
0c177df766- added Panel for 'anim playback settings' - removed draw rect from avi coded settings (should become label but) - changing texture settings, now also updates lamp/material/world preview when thats open
Ton Roosendaal
2003-10-23 16:52:54 +00:00
9a625925daCleaned up new constraint line drawing while grab/rot/scale
Ton Roosendaal
2003-10-23 16:15:05 +00:00
5b018e669b- fixed drawing of headers... they align now exactly with the 1 pixel black edge between 'area windows'. the new ortho matrix seems to work for me... :)
Ton Roosendaal
2003-10-23 11:00:51 +00:00
f2637d90b9- changed ortho2 calls by default... according the 'opengl correctness' chapter in 'opengl programming guide' you have to offset the matrix with 0.375 for exact & predictable cross platform pixel drawing. Blender used 0.5....
Ton Roosendaal
2003-10-23 10:23:38 +00:00
063205cc51- <blush> forgot to delete an old line: if(R.mat->septex) break; this caused the new per-channel switching only to work with 2 textures!
Ton Roosendaal
2003-10-23 09:38:10 +00:00
bead58ca68Adjusted Layout in texture, texture_plugin, and texture_mapto panels.
Robert Wenzlaff
2003-10-23 06:34:50 +00:00
b4e9d39580BugFix: do_global_buttons() was split into do_global_buttons() and do_global_buttons2(), but do_butspace() still routed events for do_global_buttons2() to do_global_buttons(). This kept a lot of "Single User" buttond from working.
Robert Wenzlaff
2003-10-23 02:42:09 +00:00
164fa06c11- themed all window types... phew! BTW: text colors don't work everywhere yet... but this state should be save to store themes in your .B.blend (CTRL+X)
Ton Roosendaal
2003-10-22 23:20:44 +00:00
d213b7d0dbSmall constraint loop detection and calculation fix that now allows two objects to track each other (normal track or LockTrack). This is done by disabling the object position refresh call when calculating these constraints. From the tests I did, this doesn't cause any problem at all.
Martin Poirier
2003-10-22 23:17:48 +00:00
46f0ef2c57fixed a warning that slipped by :|
Martin Poirier
2003-10-22 22:13:23 +00:00
6963bd3947- material editor: each texture channel can be individually switched, instead of the old 'septex' which only showed the active one
Ton Roosendaal
2003-10-22 18:58:46 +00:00
dbdc116909- fixed bug: 'header select' themecolor had no alpha, causing antialiased lines not drawn (triangles in buttons for example) - correct colors for channels in texture buttons - fixed bug: using proportional editing, the extra wire draw had incorrect matrix - fixed bug: drawing in imagewindow didnt work anymore... was a very old one! the wrong pointer was read, and it accidentally went OK, until now - selecting vertices with multiple 3d wins open works again
Ton Roosendaal
2003-10-22 17:34:51 +00:00
389b06c91eMore fixes in object drawing:
Ton Roosendaal
2003-10-22 09:06:30 +00:00
26698cfa3fAdded mirror function to the code and to the Wkey menu (at the end)
Martin Poirier
2003-10-22 02:05:51 +00:00
c7bf552213Added PADENTER confirmation to transform.
Martin Poirier
2003-10-22 01:25:11 +00:00
ed290ebf19- Added PADENTER to knife confirm, to make it more consistant with okee() et. al.
Robert Wenzlaff
2003-10-22 01:21:37 +00:00
5e64eb72a2- Preserved selections in undo.
Robert Wenzlaff
2003-10-22 00:52:26 +00:00
da095d6092Numerical input in transformation modes (Grab, Rotate, Scale, Warp, Shear, Shrink/Fatten). It works with the transformations mode, it doesn't replace them, so just enter grab, scale or rotate mode as usual and start typing. Both numpad and non-numpad works for the numbers.
Martin Poirier
2003-10-21 23:39:47 +00:00
9b032d6c2aFixes Makefile for intern/SoundSystem/intern.
Robert Wenzlaff
2003-10-21 23:27:08 +00:00
e0e45e81da- fixed error; the vertices didnt draw anymore in editmode with sold draw. was caused because i only tested the new cool 'draw wire extra'. :)
Ton Roosendaal
2003-10-21 21:59:00 +00:00
594f3cddcaA few bugfixes to the vgrouping methods
Joseph Gilbert
2003-10-21 17:25:27 +00:00
193dce6d98Axis constraint in transform for grab mode Axis constraint in size mode
Martin Poirier
2003-10-21 17:01:10 +00:00
2486c52f89fixed warnings and errors in buttons_object.c
Martin Poirier
2003-10-21 16:56:25 +00:00
a0824f8fb9Mesh drawing stuff!
Ton Roosendaal
2003-10-21 16:41:28 +00:00
41f4940bffHelpline drawing in transform (semi broken in this commit) This is only usefull for rotate now, but the axis constraining code has a part that depended on this, so I commit this part first.
Martin Poirier
2003-10-21 16:25:00 +00:00
8280cab690For coders:
Martin Poirier
2003-10-21 15:57:16 +00:00
4efdabfbbcConstraint stuff from tuhopuu including (but probably not limited too):
Martin Poirier
2003-10-21 13:22:07 +00:00
2da9cb5db2fixed bugs:
Ton Roosendaal
2003-10-21 12:23:38 +00:00
0d1f7f1c72- forgot to set 'minimal theme' callback for sliders, causing a crash when displaying Constraint Panel in F7 menu.
Ton Roosendaal
2003-10-21 11:46:12 +00:00
8e2225e027- another formula for 'draw wire extra'. this time it doen't scale, but only moves z-values in drawing in zbuffer. still matrix art I don't fully grasp... but it seems to work!
Ton Roosendaal
2003-10-21 08:43:29 +00:00
e3f3491ac3Made pupmenu() separators consistent with pulldowns TODO: same for popup menu buttons
Matt Ebb
2003-10-21 07:28:44 +00:00
c6ef2afb3fAdded a function to shade alpha as well as colour
Matt Ebb
2003-10-21 07:02:38 +00:00
4405113308- Lots of tweaks to interface colours, shading, etc. - Fixed alignment/width of menus
Matt Ebb
2003-10-21 07:02:04 +00:00
ff89daceb0- fixed drawmode 'wire extra'. it was using some unsupported linewidth trick... I've been trying to get the official glPolygonOffset to working, but my silly Mac doesnt support it, it seems. So! I thought of another trick, and that's just moving the window matrix a little to the front. :)
Ton Roosendaal
2003-10-20 23:20:37 +00:00
7893cc25d1- added new drawing type for subsurf editing. Is called 'Optimal' and can be found under the 'SubSurf' button. Optimal drawing only shows the subdivided original edges. Quite nice! And; it's a load faster!
Ton Roosendaal
2003-10-20 21:58:15 +00:00
fd3be2e3efadded sequence editor pull-down menus.
Simon Clitherow
2003-10-20 20:12:01 +00:00
bac66d0a19Exppython: small changes in NMesh internals and docs
Willian Padovani Germano
2003-10-20 18:57:31 +00:00
824c9e92da- fixed correct themecolor for popup menus
Ton Roosendaal
2003-10-20 18:15:06 +00:00
382d802427- made a template function for editmesh enthusiasts. - goes in a loop, - draws current window - sets view transform to correct matrix - you can draw stuff - swapbuffers - event queue test to escape
Ton Roosendaal
2003-10-20 17:46:33 +00:00
2aec1fee77Object selection from tuhopuu2: Select All by Type / Select All by Layer
Matt Ebb
2003-10-20 02:19:17 +00:00
052b909ee6Knifetool bugfix: The call to headerprint left GL environment in wrong state to draw knife line in all but top view. Moved persp() call to after headerprint().
Robert Wenzlaff
2003-10-20 00:46:03 +00:00
147895715aDynamic Face/Vert/Halo/Lamp tables:
Robert Wenzlaff
2003-10-19 21:47:03 +00:00
7ac2731e63Unified renderer OSA sample clipping:
Robert Wenzlaff
2003-10-19 21:08:44 +00:00
d5322a6352Editmesh Undo:
Robert Wenzlaff
2003-10-19 20:52:34 +00:00
de64d218a0Adding Knife tool as to be released in 2.3
Robert Wenzlaff
2003-10-19 19:50:17 +00:00
a56d3d189aincluded "BLI_arithb.h" for normal calculations...
Joseph Gilbert
2003-10-19 16:03:18 +00:00
cd97a17b16- fix to prevent the following-mouse frame number display from disappearing when mouse pointer is moved above the window space edge
Matt Ebb
2003-10-19 12:53:46 +00:00
c6a2f42dba- simplified Theme API. No need to include 'current active area' anymore. like: BIF_ThemeColor(TH_GRID); will be sufficient. Blender does the rest. - fixed bug in CTRL-X (reload home file) with themes - fixed bug in horizontal alignment of different height panels. Seems also to solve the drawing error with constraints...
Ton Roosendaal
2003-10-19 09:19:58 +00:00
c19d84f89eFix unchecked pointer reference when adding sitedirs to sys.path. This is a bugfix against the 2.28c release.
Stephen Swaney
2003-10-19 06:26:32 +00:00
56ad0d31b9Added support for returning the normal of a NMFace
Joseph Gilbert
2003-10-19 03:15:43 +00:00
f420f87610- added Theme for File Window - made grid drawing using the main theme color - was annoyed with the primitive grid... so coded something that allows zooming in and out a 100fold without losing gridlines - brought back 'NKEY' for mesh editmode - added to this a 'median' option; when more vertices selected you see the average coordinate. works nice when inputting values as well (todo: make this for other editmodes) - renamed the 'NKEY' panel to 'Transform Properties', also fixed in pulldown menu.
Ton Roosendaal
2003-10-18 12:21:41 +00:00
b6d30dddd7A few small tweaks to the panel drawing
Matt Ebb
2003-10-18 12:02:03 +00:00
43243009b7- Added ICON_PANEL_CLOSE
Matt Ebb
2003-10-18 07:37:37 +00:00
362d2470a1- Updated panel style based on funboard feedback - Added white 'close panel' icon ICON_PANEL_CLOSE to blenderbuttons
Matt Ebb
2003-10-18 07:36:46 +00:00
23189d1ef0- A few small wording edits - Added Copy/Pase/Paste Flipped pose to the Armature menu
Matt Ebb
2003-10-18 03:41:22 +00:00
a9af685011- further work on theme colors: - panels work - ipo window done - buttonswindow done
Ton Roosendaal
2003-10-17 23:18:18 +00:00
d622706883Preliminary work on faceloop selection and faceloop cutting. Commiting in steps to prevent Ton from sneaking in between me! :D
Roel Spruit
2003-10-17 19:59:32 +00:00
f948e31bac- forget to mention: Panel (3d win) header and back color is part of Theme now. Try black transparant... neat. :)
Ton Roosendaal
2003-10-17 19:06:13 +00:00
58a0811ad9- fixed bug in windows with extreme small height... it didnt accept input - was needed for usage of this windowtype (headerless) as 'timeline' dragger, which was supposed to be... - as extra I fixed 'home', it sets start/end frame for sound window - at mouselocation the current frame or time is printed - rightmouse menu switches seconds/frames (should be in header as option...) - displaybutton 'frs/sec/' updates soundwindow too
Ton Roosendaal
2003-10-17 19:03:53 +00:00
8ce5ece950- fixed reopen last file (in file pulldown menu) - fixed delay in drawing active item in pop menus...
Ton Roosendaal
2003-10-17 16:24:10 +00:00
f8671b2cb2- fixed AA font drawing in view3d Panels... forgot to clear a pixelzoom
Ton Roosendaal
2003-10-17 16:17:21 +00:00
fe925541a2- fatal error: when reloading .B.blend (CTRL+X) the themes were not freed.
Ton Roosendaal
2003-10-17 15:20:13 +00:00
e78bb262c2- fixed redraw for copy button in new themes editor - typo in include DNA_ListBase.h... has to be DNA_listBase.h
Ton Roosendaal
2003-10-17 15:12:45 +00:00
3583d2fdeb- color for 'Panel' was not defined in resources yet... :)
Ton Roosendaal
2003-10-17 14:18:53 +00:00
8380bc9cab- one button was invisible...
Ton Roosendaal
2003-10-17 14:11:17 +00:00
0321602b65- The basic layer for Themes in place! - currently only implemented for 3d window - create as many themes you like, and name them - default theme is not editable, and always will be defined at startup (initTheme) - saves in .B.blend - themes for spaces can become local too, so you can set individual 3d windows at theme 'Maya' or so. (to be implemented) - it uses alpha as well...!
Ton Roosendaal
2003-10-17 14:02:08 +00:00
00cf36d6a5- accidentally removed 2 lines in this file that made previewrender not showing up...
Ton Roosendaal
2003-10-17 00:49:59 +00:00
7a7956509d- fixed edge selecting... :)
Ton Roosendaal
2003-10-16 20:36:29 +00:00
1f226c943b- bone selection armatures fixed!
Ton Roosendaal
2003-10-16 16:13:01 +00:00
77b37c9927- fix for drawing buttons in fileselectors, it used an old exception and special 'EMBOSSF' drawing function. Now complies to standard.
Ton Roosendaal
2003-10-16 12:03:03 +00:00
a7cd8b5951- fixed correct drawing of frontbuffer vertices... it still gives some nice increased interactivity when selecting in slow drawing situations. nevertheless, can be worked on later once, to make it less hackish. :)
Ton Roosendaal
2003-10-16 09:56:23 +00:00
5d1438ad96- fixed editing vertices again!
Ton Roosendaal
2003-10-16 09:39:19 +00:00
c7618783fb- further work on view3d panels: - you can close them (x icon) or press ESC - option to open panel at mouse location (try Nkey) - using 'collapse' (triangle icon) stows header in bottom - opening again restores at old location - dragging panels or zooming clips nicely with window
Ton Roosendaal
2003-10-16 00:17:24 +00:00
10333bd1d3- removed all #include "interface.h" from files. this is a local/internal include only (use BIF_interface.h instead) - split up interface.c in two files: NEW: interface_panel.c - removed the temporal text files
Ton Roosendaal
2003-10-15 19:23:54 +00:00
478f61563a- fixed drawing errors in constraint panel - join 3d window could crash... unchecked pointer in interface.c - setting align in buttonswin caused stripes to draw in view3d-panels - fixed events for new 'background and view settings menu'
Ton Roosendaal
2003-10-15 17:41:40 +00:00
bb79e92225- Added ICON_MENU_PANEL
Matt Ebb
2003-10-15 16:28:57 +00:00