Commit Graph

974 Commits

Author SHA1 Message Date
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
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
Ton Roosendaal
27ddef2ad5 - zooming in for action window increased 5 fold.
(bug report #679). Also corrects old files for it.
2003-11-08 19:04:50 +00:00
Ton Roosendaal
95791c0b81 - fix bug #682
button wrong size...
2003-11-08 18:46:50 +00:00
Ton Roosendaal
b4c25d241b - another fix because of the stricter 'qualifier key' checking;
ctrl+mouseclick didnt work to select objects in editmode, needed for
  making vertex parents.
2003-11-08 18:37:28 +00:00
Ton Roosendaal
602fe19b6f - fixed drawing in frontbuffer of selected object... the previous
fix for selecting multiple objects reveiled this error...
2003-11-08 17:51:32 +00:00
Ton Roosendaal
7be1d02919 - bug fix #304
Wire rendering gave errors with parts.
  This due to the fact the lines are clipped exactly at the pixel
  centers of the image edge. For polys (triangles) that works fine, but
  in wireframe you see the lines ending at the edge.

  Solved by adjusting clipping routine for wires just a tinsy bit.
2003-11-08 16:57:23 +00:00
Ton Roosendaal
96403dc309 - fix bug #294
removed some code of someone in NaN who tried to fix
  prototypes... just solved by introducing a correct cmat[3][3] instead
  of using weird new matrix code.
2003-11-08 14:41:56 +00:00
Ton Roosendaal
75997db19f - fixed bug #253
from NaN period, someone just commented out a piece of code... this to
  prevent the curve itself being converted (as edges) next to the 3d filled
  faces. but for 3D curves there are no filled faces.
2003-11-08 13:36:16 +00:00
Ton Roosendaal
c04eb56983 - removed hack in initrender code that allowed 'border render' in a
previously rendered image. it was just screwing up memory in some cases.
  for it to work quite more elaborate coding is needed.
- when selecting border in camera view (SHIFT+B) the associated render
  option is set automatic
- fixed some mallocs to become callocs in renderloop, to prevent garbish
  when border rendering
- also enables closing bug #179
2003-11-08 12:50:40 +00:00
Ton Roosendaal
b18d1109ea - bug fix #74 (oldie!)
rendering uses data as set in active 3d window again. meaning it renders
  localview or 'unlocked layers' correctly again.
  in background render it uses the scene layers by default.

  was disabled in 2.24 in NaN period... can't find the reason for it.
2003-11-08 10:59:59 +00:00
Ton Roosendaal
185ea29d2a - removed all buttons to choose for 'image selector'. where loading images
is meant, a ctrl+click will invoke image selector still.
- this as discussed a while ago at meeting; the image selector is highly
  unstable, and causes bug reports for each release we do.
- removed reference to 'save runtime' from file menu.
- added icons to fileselect buttons in f10 menu
2003-11-08 10:47:50 +00:00
Ton Roosendaal
9caa2fee8e - fixed bug #384
browsing new texture for lamp in texturebuttons (f6) only gave 'add new'
  option.
- saving images in texturepaint mode saves in same format only. this is
  far from an easy fix to use the scene settings, so it indicates with
  saving clearly its in the same type now
2003-11-08 10:02:30 +00:00
Willian Padovani Germano
c11eb86112 BPython:
- Fixed uninitialized NMFace.mode var in NMesh.c
- Incref'ed a couple Py_None's in Object.c
- Minor update in the docs, changed required version to 2.30
2003-11-08 02:19:09 +00:00
Ton Roosendaal
85e8812c9f - fixed layout of curve panel (f9 menu)
- changed 'curve' to 'path' in ipo types menu for ipowindow
2003-11-07 22:26:15 +00:00
Ton Roosendaal
7ef6e6889e - bug #670
input in ipowindow NKey menu went wrong for vertices... buttons were
  accidentally created double, resulting in double actions. uh!
2003-11-07 21:12:43 +00:00
Kent Mein
b7debeb792 Updated so that Default Vars button will reset envmap data, if it exists.
doesn't do object its tied to but does everything else for envmaps
now. (clipsta, depth, etc...)

Kent
2003-11-07 21:03:58 +00:00
Ton Roosendaal
21c2e8f74f - fixed bugreport intrr about shadeless UV texture face having wrong
brightness... it had one multiplication too many...

- found 3 month old error: the fix i committed for ESC during render
  was undone partially by a commit from guignot one week later. I already
  *thought* ESC reacted so slow... but i had fixed it, not!? :-)

  Now its still fast and instantly reacts to ESC again.
2003-11-07 19:23:13 +00:00
Martin Poirier
7390acc2b4 Middle mouse emulation fix.
I know Ton fixed this already, but I modified it to be more in accordance with what we decided to do in Space.c
2003-11-07 01:52:31 +00:00
Martin Poirier
71978017cb Fixed Ctrl-Shift-F3 to capture the whole screen. 2003-11-07 01:51:01 +00:00