Commit Graph

66005 Commits

Author SHA1 Message Date
Ton Roosendaal a140c07795 - changed evaluation order for drawing pulldowns in 3d header. In editmode
it didnt show the 'Mesh' options when 'vertex paint' mode was still on.
2003-11-18 11:52:28 +00:00
Ton Roosendaal bc22e2242a - removed temporal patch from myortho2() in mywindow.c, and changed
all calls to ortho2 with correctness offset of 0.375 instead of 0.5.
  this efficiently solves bug in drawing UV lines as reported.

cvS: ----------------------------------------------------------------------
2003-11-18 11:22:17 +00:00
Ton Roosendaal 683b51fe83 - added color for constraint dashed line 2003-11-17 22:33:11 +00:00
Ton Roosendaal 0894c8e3e2 - fix: vpaint and weightpaint and texturepaint allow drawmode wire-extra
again.
2003-11-17 21:10:18 +00:00
Ton Roosendaal 3e938a9223 - bug fix: moved vertex group buttons to first panel (F9 editing buts).
these buttons should be available outside editmode as well.
- fix: changed order of tools in f9 mesh a bit... it was totally random
- fix: fileselect draw error; text sometimes draws over outer border

cvs: ----------------------------------------------------------------------
2003-11-17 20:20:14 +00:00
Joseph Gilbert f2a9e34346 - added vgrouping methods for renaming headers 2003-11-17 17:12:58 +00:00
Ton Roosendaal b5e6b84dc8 - finished some minor drawing stuff which i couldnt complete last friday:
(related to rounded theme)
  - layer buttons in view3d header grouped
  - outline colour now blends darker with respect to background (better
    visibility on dark backgrounds)
  - added some align calls to user settings menu

Now back to real bugs!
2003-11-17 14:31:25 +00:00
Ton Roosendaal 0af974d757 - bug fixes:
- "Crop and Anim" panel had wrong name... now "Anim and Movie"
  - this panel didnt draw buttons always, should be for 'anim option' (which
    is different from 'movie' option!
  - added call to re-align the panels each time a new screen is set (also
    after file read) to make sure new panels (or with new name) are properly
    initialized
  - fixed drawing error in nurbs buttons
2003-11-17 12:11:42 +00:00
Joseph Gilbert 61f203c80b - added vgrouping methods for renaming to documentation 2003-11-17 07:22:29 +00:00
Joseph Gilbert 33da577d34 - added vgrouping methods for renaming a vertex group and returning all vgroup names 2003-11-17 07:13:27 +00:00
Martin Poirier b43e74a1db Fixed the fix for constraint loop :P
Everything works properly now
2003-11-17 02:25:33 +00:00
Chris Want 12a5ea3e67 Fix for bf-bug #389 (endless loop when creating constraint) 2003-11-16 21:29:12 +00:00
Martin Poirier dc4e0d2295 Fixed the material window crash
Thanks to Meino from the mailing list and MadProf
2003-11-16 21:02:45 +00:00
Martin Poirier 4bdf7cfcf0 delimiters are you friends
fixed a silly bug with merge and mirror
2003-11-16 00:31:27 +00:00
Michel Selten ad9e1e44d8 Fixed compiler errors. The new function uiBlockBeginAlign() has been updated to
be smarter. The result was only 1 argument instead of 2 were needed.
Unfortunately, not all calls to uiBlockBeginAlign() were updated accordingly.
2003-11-15 18:40:51 +00:00
Ton Roosendaal d8f8605098 - Bug fix: at osx, default AA font couldnt be written in .b.blend
(unless you manually install font)
- Bug fix: string for AA font was only 64 chars... made 256.

- Changed API for buttons aligning... it now detects automatic what rows
  are, or collums, and aligns buttons. This makes call easier:
  uiBlockBeginAlign(block);
  ... defBut....
  uiBlockEndAlign(block);
  Only works when you provide buttons in row order!
- made sure only 'rounded' theme uses this align stuff
- still work in progress.. I commit now because I leave to denmark for 2 days!

http://www.blender.org/bf/rt.jpg  <- now also groups with rows+collums
2003-11-14 15:49:26 +00:00
Ton Roosendaal 4d1b1545f2 - fixed 2 drawing errors because of new align code.
thanks ztonzy for report!
2003-11-14 12:32:32 +00:00
Martin Poirier dab8b69cd8 Fixed edge select shift modifier 2003-11-14 12:29:05 +00:00
Martin Poirier 7fc95b35c5 Fixed typing mode for Warp 2003-11-14 01:34:13 +00:00
Joseph Gilbert 61b3a9f8e1 - Lattice documentation 2003-11-14 01:10:59 +00:00
Martin Poirier b8e086981d Projectfile update for the Lattice module 2003-11-14 01:02:18 +00:00
Ton Roosendaal a291ea6683 - Added button align code:
uiBlockBeginAlign(block, 'v');  'v'= vertical. 'h'=horizontal
  ..... (button def calls)
  uiBlockEndAlign(block);

  this will allow new themes to have buttons nicely drawn together.
- added new rounded draw theme, to test & illustrate the above.
- only did parts of button code with align... rest for later
- fixed 'minimal' theme to make it usable (with some decoration)
- put back 'oldskool' theme... but it just looks plain ugly! remove?

Lazy people: http://www.blender.org/bf/rt.jpg
check the top header, or Nkey menu, to see the meaning of 'align'.
2003-11-14 00:44:48 +00:00
Martin Poirier baf23c7648 Fixed the lag with Follow Path and optimized constraint loops with Track To and Lock Track. I was plainly disabling the refresh of the target, but that caused a lag (3D window, not Render). Now, it raises a flag when it find a loop, so it only disables the refreshing when it needs to.
This is a temporary fix, but a complete fix will require a rewrite of of some part of the where_is_object function, and that would take too much time before 2.31.
2003-11-13 23:04:46 +00:00
Martin Poirier 163292f34f Fixed the last bug with Mirror and removed it from the Wkey menu (it seemed to confuse some people). Merge should probably be removed too. 2003-11-13 22:57:42 +00:00
Willian Padovani Germano e3f6c6cfdc BPython: fixing a few warnings 2003-11-13 17:24:47 +00:00
Ton Roosendaal 74eccb3bbc - found one other wrong ortho2... causing wrong ortho2 matrices in
3d window...
2003-11-13 14:55:13 +00:00
Rob Haarsma 43f2470173 The Quicktime-Options-Button-Freeze warning is only nescessary on OSX
machines. The problem doesn't occur on windows platforms.
2003-11-13 14:13:48 +00:00
Ton Roosendaal 2ffb2376e0 - bug fix #694
when using linked-duplicated mesh, with subsurf and tfaces (UV texture)
  the render crashed.
  Found out the renderloop makes a new displaylist for each Mesh, also when
  it is linked multiple times. That way pointers to previous created elements
  in displaylists become invalid. Crash!
  Result now it even renders faster for linked-duplis. :)
2003-11-13 12:44:34 +00:00
Joseph Gilbert 994e0c40b1 - modified insertKey() to set current frame back to 1 instead of redraw the headers 2003-11-13 12:24:18 +00:00
Joseph Gilbert a4aad039aa The new Lattice module for python
- enabled all the Lattice methods in Object.c
- added Lattice types to Types.c
- add Lattice initialization to Blender.c
- updated makefile for new lattice file
- added Lattice.c/Lattice.h
2003-11-13 04:00:59 +00:00
Martin Poirier 0e9dd3060e Fixed a majority of the mirror function bug. AFAIK, the last bug remaining is related to flipping normals.
Also added a couple of undo_push_mesh where they were lacking (mainly Merge, Smooth, Mirror)
2003-11-12 23:34:24 +00:00
Ton Roosendaal c51180b860 fixed two errors in events for knife tool:
- ESC for pupmenu was not handled
- pressing ENTER at pupmenu caused mousetrail call to exit
2003-11-12 22:20:27 +00:00
Ton Roosendaal 3e972a57e9 - added themecolor text for textwindow
- fixed bug introduced by rwenzlaff commit in interface.c
  why replace the defButI call with defButS ? you should have seen the
  compile warning... :)
2003-11-12 21:34:12 +00:00
Ton Roosendaal fcc8aefd48 - fixed safety area for 'floating' popup menus, such as move-to-layer
but also works for toolbox, quit menu, etc.
2003-11-12 21:23:37 +00:00
Ton Roosendaal 1c8ae70249 - further cleanup of window matrix code. Now ALL 2d ortho calls are
using an identical offset; which is 0.375 and official recommended
  by OpenGL.
  This to further investigate the AA font errors on some systems
  with ATI cards.
2003-11-12 21:14:30 +00:00
Ton Roosendaal e9d9a7282e All related to unified render:
- fixed bug in halo rendering combined with spothalo
- fixed bug in no antialiasing with sky with spothalo
- cleaned some weird usage of gamma for spothalo and sky
  (when rendering sky + spothalo, sky got gamma corrected
- removed old test code and #ifdefs for code readability

On test scenes here unified render looks much better. still some minor
issues with antialiasing... cant pin that down yet.
2003-11-12 20:43:01 +00:00
Ton Roosendaal 3a7dc92cd6 - bug fix: alpha wrong in unified render halos with lines or rings 2003-11-12 15:07:04 +00:00
Robert Wenzlaff a0471975d8 Adds Hotspot control to custom cursor. 2003-11-12 13:32:11 +00:00
Stephen Swaney bd993f13d4 unfix previous fix.
Scene and Text don't need their user counts adjusted.
2003-11-12 07:46:07 +00:00
Martin Poirier 2403120f33 Constraint dashed line drawing.
Still one little problem: It draws the line even where there is not constraint target. Guess I'll have to wip a function to check for that if there isn't one already.

Note to Ton: You just need to add the color link to theme
2003-11-11 16:56:51 +00:00
Stephen Swaney 011203c45f fixed the bug Joseph Gilbert found in numerous python files.
newly created data objs had incorrect user counts.
2003-11-11 10:13:04 +00:00
Joseph Gilbert 1018943b3d Fixed some problems with makeParent() 2003-11-11 05:37:28 +00:00
Robert Wenzlaff 516766d089 (Hopefully) Fixed bug that caused non-selected edges to be cut by knife. 2003-11-11 00:58:25 +00:00
Ton Roosendaal 6b6cc8d97a - further tweaking of selecting objects...
I keep forgetting to add 'curarea->win_swap= WIN_FRONT_OK;' after
  drawing in frontbuffer... tsk tsk!
2003-11-10 15:28:48 +00:00
Ton Roosendaal 7763ae9361 - redid buttons in image header, was completely messed up... 2003-11-10 14:49:41 +00:00
Stephen Swaney e00aa5375c fix for bug #285
text buffer not marked as modified after delete operation
2003-11-10 05:51:55 +00:00
Simon Clitherow 20b353a72a - small fix for snprintf() on Win32... MS renamed the function
to _snprintf !?
2003-11-09 12:36:15 +00:00
Ton Roosendaal a149109a5e - added panel backdrop for buttonswin to themes
- made hilite of headers a tinsy bit subtler
- opengl render (icon 3d window) uses theme for backdrop
2003-11-08 23:18:32 +00:00
Ton Roosendaal be68e2b793 - removed options from main header 'render' menu;
render opengl 3d window at this location gave unpredictable results, and
  crashes occasionally. Moved it back to header as icon for now... the
  view pulldown menu in 3d header is too full.
2003-11-08 23:00:55 +00:00
Ton Roosendaal 8fa6cd8c94 - added popup warning when choosing quicktime at OSX.
this to notify that the 'options' button in QT dialog freezes.

  Will ask Apple for hints... no clue why this happens.
2003-11-08 21:00:09 +00:00