blender.git
16 years ago- removed an old optimization line from code, which caused stenciling
Ton Roosendaal [Tue, 25 Nov 2003 18:45:05 +0000 (18:45 +0000)]
- removed an old optimization line from code, which caused stenciling
  with multiple bump-mapping channels not to work

16 years ago- forgot to do this... belongs to commit with text:
Ton Roosendaal [Tue, 25 Nov 2003 18:14:00 +0000 (18:14 +0000)]
- forgot to do this... belongs to commit with text:

  bug fix: in background render, the default builtin font was not
  activated for rendering when other fonts were packed too.

16 years ago- bug fix: blender didn't rename temp save file to quit.blend at quit.
Ton Roosendaal [Tue, 25 Nov 2003 17:36:37 +0000 (17:36 +0000)]
- bug fix: blender didn't rename temp save file to quit.blend at quit.
  also reported on linux...

16 years ago- the weird OB and ME buttons in 2nd Panel in MaterialButtons didnt work
Ton Roosendaal [Tue, 25 Nov 2003 16:48:55 +0000 (16:48 +0000)]
- the weird OB and ME buttons in 2nd Panel in MaterialButtons didnt work
  properly. Also the "1 Mat 1" buttons didnt display in all situations.

16 years agoAdded 2 tooltips and fixed the tooltips for stucci Wall In/Wall Out
Kent Mein [Tue, 25 Nov 2003 15:29:20 +0000 (15:29 +0000)]
Added 2 tooltips and fixed the tooltips for stucci Wall In/Wall Out

Kent

16 years ago- moved do_versions stuff for 2.30 release, to also check 2.30 files.
Ton Roosendaal [Tue, 25 Nov 2003 13:44:46 +0000 (13:44 +0000)]
- moved do_versions stuff for 2.30 release, to also check 2.30 files.
  this is safe initialization only.
  based at report from madprof.. he had a 2.30 file without this
  data correctly initialized... but how it happens? tuhopuu files?

  anyhoo, we might think of splitting do_versions in 2 parts:
  1. do_versions initialization of old variables that changed
     like physics properties that need to be scaled or so
  2. do_init for newly created variables that are not allowed to be zero,
     this can safely be done for each file

16 years agoFixed typing mode in resize to allow scaling to 0.0
Martin Poirier [Mon, 24 Nov 2003 23:18:24 +0000 (23:18 +0000)]
Fixed typing mode in resize to allow scaling to 0.0

16 years agoThe debug target was erroneously removed, put it back.
Wouter van Heyst [Mon, 24 Nov 2003 15:42:46 +0000 (15:42 +0000)]
The debug target was erroneously removed, put it back.

Fixes build failure reported by ztonzy

16 years agoBPython: small update to Types.c and the docs, to finish welcoming the new modules.
Willian Padovani Germano [Mon, 24 Nov 2003 03:47:49 +0000 (03:47 +0000)]
BPython: small update to Types.c and the docs, to finish welcoming the new modules.

16 years ago- bug fix: in background render, the default builtin font was not
Ton Roosendaal [Sun, 23 Nov 2003 23:51:18 +0000 (23:51 +0000)]
- bug fix: in background render, the default builtin font was not
  activated for rendering when other fonts were packed too.

16 years ago- bug fix: colorband color sliders didnt update the colorband
Ton Roosendaal [Sun, 23 Nov 2003 23:33:19 +0000 (23:33 +0000)]
- bug fix: colorband color sliders didnt update the colorband
- bug fix: enter editmode from faceselect correctly selects vertices

16 years ago- another hack!
Ton Roosendaal [Sun, 23 Nov 2003 23:04:35 +0000 (23:04 +0000)]
- another hack!
  well... probably OK, got it from a python mailing list.

  When starting from commandline, the window doesnt pop to the front. this
  was really bad for the play function in blender, which opens a new blender
  thread.
  solved with SetFrontProcess()

16 years ago- ALT+N in new texteditor (no text block) will add new text now.
Ton Roosendaal [Sun, 23 Nov 2003 21:31:35 +0000 (21:31 +0000)]
- ALT+N in new texteditor (no text block) will add new text now.

16 years agoFixed two minor warnings
Jacques Guignot [Sun, 23 Nov 2003 21:25:55 +0000 (21:25 +0000)]
Fixed two minor warnings

16 years agoNo line for constraint without target
Martin Poirier [Sun, 23 Nov 2003 20:28:35 +0000 (20:28 +0000)]
No line for constraint without target

Code notes:

The constraint_has_target can be used to test if a constraint has a target at all.

16 years agoProjectfiles fix for new Python module
Martin Poirier [Sun, 23 Nov 2003 20:24:23 +0000 (20:24 +0000)]
Projectfiles fix for new Python module

16 years ago- performance upgrade with the vgroup methods
Joseph Gilbert [Sun, 23 Nov 2003 19:18:04 +0000 (19:18 +0000)]
- performance upgrade with the vgroup methods

16 years ago- fixed glrects and emboss for constraint drawing again...
Ton Roosendaal [Sun, 23 Nov 2003 19:11:04 +0000 (19:11 +0000)]
- fixed glrects and emboss for constraint drawing again...
  there's somewhere something hanging in this code... a weird difference
  in how buttons draw and rect draws?

16 years agoBPython:
Willian Padovani Germano [Sun, 23 Nov 2003 17:58:26 +0000 (17:58 +0000)]
BPython:
-- Blender.Texture doc file, also by Alex Mole.

Three commits where one was enough! I feel stupid!

16 years agoBPython:
Willian Padovani Germano [Sun, 23 Nov 2003 17:46:06 +0000 (17:46 +0000)]
BPython:
-- New module: Blender.Texture, by new developer Alex Mole.
Most of it is done: guess only Ipo, envmap, colorband and plugin were not implemented yet.

16 years agoFixed a crash that would happen if the user tried to faceloop-cut starting at an...
Roel Spruit [Sun, 23 Nov 2003 16:59:54 +0000 (16:59 +0000)]
Fixed a crash that would happen if the user tried to faceloop-cut starting at an edge that didn't belong to any face.

16 years agoAdded all necessary BPY_extern.h include files to the .c files.
Michel Selten [Sun, 23 Nov 2003 14:28:46 +0000 (14:28 +0000)]
Added all necessary BPY_extern.h include files to the .c files.
Updated the Make environment to point to the correct location. The include
paths were still pointing to source/blender/bpython/include while it should be
source/blender/python.
I did not encounter the build problems because I'm always working with the
autoconf build environment.

16 years agoReplaced all references to ..\..\source\blender\bpython\include with ..\..\source...
Roel Spruit [Sun, 23 Nov 2003 14:02:54 +0000 (14:02 +0000)]
Replaced all references to ..\..\source\blender\bpython\include with ..\..\source\blender\python. this because of the old python removal.

16 years ago- fix: switching main Theme didn't update button drawtype for info buttons
Ton Roosendaal [Sun, 23 Nov 2003 13:48:12 +0000 (13:48 +0000)]
- fix: switching main Theme didn't update button drawtype for info buttons

16 years ago- added to Constraint panel the 'Active Bone' or 'Active Object', like
Ton Roosendaal [Sun, 23 Nov 2003 12:22:59 +0000 (12:22 +0000)]
- added to Constraint panel the 'Active Bone' or 'Active Object', like
  previously was drawn in constraint buttons header.
- cleaned up buttons in panels for manual... just nicer aligning.

16 years agoseveral warning fixes, for a bug-free *and* warnings-free 2.31 !
Jacques Guignot [Sat, 22 Nov 2003 23:30:40 +0000 (23:30 +0000)]
several warning fixes, for a bug-free *and* warnings-free 2.31 !
Just moved some declarations, nothing important.

16 years ago- added button aligning code for most other panels... still unfinished
Ton Roosendaal [Sat, 22 Nov 2003 22:22:16 +0000 (22:22 +0000)]
- added button aligning code for most other panels... still unfinished
  next step first is cleaning up design in panels itself.

16 years agoGot rid of many #include "BPY_extern.h"
Chris Want [Sat, 22 Nov 2003 20:21:59 +0000 (20:21 +0000)]
Got rid of many #include "BPY_extern.h"

Homework from Michel: do grep BPY source/blender/src/*
and see if there is anything that needs fixing.

16 years ago- this routine is going to be my waterloo!
Ton Roosendaal [Sat, 22 Nov 2003 18:38:53 +0000 (18:38 +0000)]
- this routine is going to be my waterloo!
  forgot to check null pointer...

16 years agoLast part of removing the old Python API implementation. Removed
Michel Selten [Sat, 22 Nov 2003 18:33:54 +0000 (18:33 +0000)]
Last part of removing the old Python API implementation. Removed
/source/blender/bpython.
To remove the directories on your system, do a:
cvs update -P

16 years agoA couple of files I left in the intern/python dir needed to be removed as
Michel Selten [Sat, 22 Nov 2003 17:29:46 +0000 (17:29 +0000)]
A couple of files I left in the intern/python dir needed to be removed as
well.
To remove the directories on your system, do a:
cvs update -P

16 years agoFirst action of removing the old Python API stuff from cvs. Removed the
Michel Selten [Sat, 22 Nov 2003 17:28:05 +0000 (17:28 +0000)]
First action of removing the old Python API stuff from cvs. Removed the
/intern/python stuff.
To remove the directories on your system, do a:
cvs update -P

16 years ago- added check before freeing a font pointer... dunno if its needed, but
Ton Roosendaal [Sat, 22 Nov 2003 16:59:54 +0000 (16:59 +0000)]
- added check before freeing a font pointer... dunno if its needed, but
  better do this anyway!
  theres a 0.01% chance errors with AA goes away now on some platforms...
  but i doubt!

16 years ago- made calloc for clear mverts in subsurf-mesh conversion
Ton Roosendaal [Fri, 21 Nov 2003 20:52:27 +0000 (20:52 +0000)]
- made calloc for clear mverts in subsurf-mesh conversion

16 years ago fix for description of UI_BLOCK_RET_1.
Ton Roosendaal [Fri, 21 Nov 2003 13:16:04 +0000 (13:16 +0000)]
 fix for description of UI_BLOCK_RET_1.

16 years ago- Fix: the MKEY 'movetolayer' option doesnt close anymore on numeric
Ton Roosendaal [Fri, 21 Nov 2003 13:14:50 +0000 (13:14 +0000)]
- Fix: the MKEY 'movetolayer' option doesnt close anymore on numeric
  input. Somewhere in end  NaN period this was changed... weird.

  Now you can set layers with numeric buttons, including using ALT for
  numbers larger than 10, and using SHIFT for extend-select buttons.

  for the UI diehards who like to know; when you create a menu block, you
  can provide two flags to control behaviour on keyboard input:
  UI_BLOCK_RET_1  == return on any keypress (not mouse)
  UI_BLOCK_ENTER_OK  == return on Enter key

  this was not correct in the doc/interface_API.txt , which will be fixed.

16 years ago- fixed another oldie... displaylists for MBall was generated FAR too often.
Ton Roosendaal [Fri, 21 Nov 2003 12:30:15 +0000 (12:30 +0000)]
- fixed another oldie... displaylists for MBall was generated FAR too often.
  even for each redraw! Now its all smooth & fast again.

  introduced new kernel API call: int is_basis_mball(ob), this provides a
  quick check of the object is the actual basis for the displaylist and
  polygonization.

16 years agoFixed it so that "Parent Armature->Name Groups" puts the mesh in a state
Chris Want [Fri, 21 Nov 2003 04:07:45 +0000 (04:07 +0000)]
Fixed it so that "Parent Armature->Name Groups" puts the mesh in a state
that is ready for weight paint.

16 years agonewline conversion speed up by intrr
Martin Poirier [Thu, 20 Nov 2003 22:22:48 +0000 (22:22 +0000)]
newline conversion speed up by intrr

16 years ago- fixed an oldie! When using a spotlamp in 'potato' textured drawmode, the
Ton Roosendaal [Thu, 20 Nov 2003 17:51:37 +0000 (17:51 +0000)]
- fixed an oldie! When using a spotlamp in 'potato' textured drawmode, the
  normal opengl light didnt work proper anymore.

16 years ago- bug fix: when moving an object to not-visible layer, and selecting an
Ton Roosendaal [Thu, 20 Nov 2003 17:41:46 +0000 (17:41 +0000)]
- bug fix: when moving an object to not-visible layer, and selecting an
  other object, the moved one was drawn in 3d window...
  Hopefully the last error caused be me cleaning up frontbuffer draw... :/

16 years agoFix for bug #238 and #435 (same bug difference effect).
Martin Poirier [Thu, 20 Nov 2003 01:54:34 +0000 (01:54 +0000)]
Fix for bug #238 and #435 (same bug difference effect).

I've tested pretty much everything, but please proof read the code, the fonction calls and IFDEF could be used elsewhere (especially the IFDEFs, I wasn't sure if I had to enclose the whole function or whatnot.

16 years ago- bug fix: subdiv level 0 and drawtype 'optim' caused mesh not drawing
Ton Roosendaal [Wed, 19 Nov 2003 22:38:19 +0000 (22:38 +0000)]
- bug fix: subdiv level 0 and drawtype 'optim' caused mesh not drawing
  in editmode...

16 years ago- fixed warning by not prototyping something a couple of commits ago...
Ton Roosendaal [Wed, 19 Nov 2003 22:13:53 +0000 (22:13 +0000)]
- fixed warning by not prototyping something a couple of commits ago...

16 years agoFix for undo... it didn't do the UV coords (tface) nor the vertexpaint
Ton Roosendaal [Wed, 19 Nov 2003 22:00:14 +0000 (22:00 +0000)]
Fix for undo... it didn't do the UV coords (tface) nor the vertexpaint
colors. This because of the pretty weird (ab)use of load & make editmesh...

For each added undo step, the load_editmesh was fed with an empty mesh
to assign data to, without knowledge of what was in the original mesh.
That way UV and color data got lost.

Solved it in 2 steps:

1. removing the ->tface pointer from EditVlak, and make TFace a builtin
  struct inside EditVlak. This didnt cost much extra mem, since it already
  stored UV and color. This enabled some pretty cleanup in editmesh.c as
  well, storing tface pointers was cumbersome.
2. for each undo step, it then generates always a tface and mcol block to
  link to the undo Mesh.
  Even when it wasn't in the actual Mesh, at exit editmode the original
  Mesh is used as reference anyway, and undo-meshes are freed correctly.

The enormous commit is because I had to change the BLI_editVert.h file, and
found it was included in about every file unnecessary. I removed it there.
ALso found out that subsurf has code ready (unfinished) to make UV coords for
the displaylist in EditMode as well, nice to know for later...

16 years ago- fix: keys couldnt have more than 32k vertices. Just made a short into an
Ton Roosendaal [Wed, 19 Nov 2003 17:07:17 +0000 (17:07 +0000)]
- fix: keys couldnt have more than 32k vertices. Just made a short into an
  int in the key struct.
  warn: this recompiles dna!

16 years ago- Fixes hidden vertices for undo. They are now stored in mvert->flag and
Alexander Ewering [Wed, 19 Nov 2003 16:21:37 +0000 (16:21 +0000)]
- Fixes hidden vertices for undo. They are now stored in mvert->flag and
  thus also preserved over exiting/entering editmode (is this desirable?)
  Can be turned off easily ...

- "Half-fixes" lost UV info problem with undo. I couldn't get it to
  crash or lose UV info anymore, but we now have a memory leak (me->tface).

  Ton, please check this!

16 years ago- fixed reported bug with constraints... somehow someone managed to save
Ton Roosendaal [Wed, 19 Nov 2003 15:20:18 +0000 (15:20 +0000)]
- fixed reported bug with constraints... somehow someone managed to save
  a follow-path constraint in 2.28c without data assigned.
  this patch checks for proper data in a constraint, if not available
  it will turn the type into CONSTRAINT_TYPE_NULL
- i will forward the demo file to theeth for further check

16 years ago- fixed bug caused by changing order of drawing buttons in material panel 2
Ton Roosendaal [Wed, 19 Nov 2003 12:43:21 +0000 (12:43 +0000)]
- fixed bug caused by changing order of drawing buttons in material panel 2
  the 'OB' and 'ME' buttons were not visible in all situations anymore...

16 years ago- further small alignment errors...
Ton Roosendaal [Tue, 18 Nov 2003 21:16:24 +0000 (21:16 +0000)]
- further small alignment errors...
- 'unlink set' button from f10 menu only draws when set is linked
- 'copy sound' in sound buttons only draws when sound is available

16 years agoWhile I'm at it, loopselect/cut also didn't update vertexcount :)
Roel Spruit [Tue, 18 Nov 2003 14:26:42 +0000 (14:26 +0000)]
While I'm at it, loopselect/cut also didn't update vertexcount :)

16 years agoedge select: bad selected vert count (fixes bug #681)
Roel Spruit [Tue, 18 Nov 2003 14:18:00 +0000 (14:18 +0000)]
edge select: bad selected vert count (fixes bug #681)

16 years ago- changed evaluation order for drawing pulldowns in 3d header. In editmode
Ton Roosendaal [Tue, 18 Nov 2003 11:52:28 +0000 (11:52 +0000)]
- changed evaluation order for drawing pulldowns in 3d header. In editmode
  it didnt show the 'Mesh' options when 'vertex paint' mode was still on.

16 years ago- removed temporal patch from myortho2() in mywindow.c, and changed
Ton Roosendaal [Tue, 18 Nov 2003 11:22:17 +0000 (11:22 +0000)]
- 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: ----------------------------------------------------------------------

16 years ago- added color for constraint dashed line
Ton Roosendaal [Mon, 17 Nov 2003 22:33:11 +0000 (22:33 +0000)]
- added color for constraint dashed line

16 years ago- fix: vpaint and weightpaint and texturepaint allow drawmode wire-extra
Ton Roosendaal [Mon, 17 Nov 2003 21:10:18 +0000 (21:10 +0000)]
- fix: vpaint and weightpaint and texturepaint allow drawmode wire-extra
  again.

16 years ago- bug fix: moved vertex group buttons to first panel (F9 editing buts).
Ton Roosendaal [Mon, 17 Nov 2003 20:20:14 +0000 (20:20 +0000)]
- 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: ----------------------------------------------------------------------

16 years ago- added vgrouping methods for renaming headers
Joseph Gilbert [Mon, 17 Nov 2003 17:12:58 +0000 (17:12 +0000)]
- added vgrouping methods for renaming headers

16 years ago- finished some minor drawing stuff which i couldnt complete last friday:
Ton Roosendaal [Mon, 17 Nov 2003 14:31:25 +0000 (14:31 +0000)]
- 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!

16 years ago- bug fixes:
Ton Roosendaal [Mon, 17 Nov 2003 12:11:42 +0000 (12:11 +0000)]
- 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

16 years ago- added vgrouping methods for renaming to documentation
Joseph Gilbert [Mon, 17 Nov 2003 07:22:29 +0000 (07:22 +0000)]
- added vgrouping methods for renaming to documentation

16 years ago- added vgrouping methods for renaming a vertex group and returning all vgroup names
Joseph Gilbert [Mon, 17 Nov 2003 07:13:27 +0000 (07:13 +0000)]
- added vgrouping methods for renaming a vertex group and returning all vgroup names

16 years agoFixed the fix for constraint loop :P
Martin Poirier [Mon, 17 Nov 2003 02:25:33 +0000 (02:25 +0000)]
Fixed the fix for constraint loop :P

Everything works properly now

16 years agoFix for bf-bug #389 (endless loop when creating constraint)
Chris Want [Sun, 16 Nov 2003 21:29:12 +0000 (21:29 +0000)]
Fix for bf-bug #389 (endless loop when creating constraint)

16 years agoFixed the material window crash
Martin Poirier [Sun, 16 Nov 2003 21:02:45 +0000 (21:02 +0000)]
Fixed the material window crash

Thanks to Meino from the mailing list and MadProf

16 years agodelimiters are you friends
Martin Poirier [Sun, 16 Nov 2003 00:31:27 +0000 (00:31 +0000)]
delimiters are you friends

fixed a silly bug with merge and mirror

16 years agoFixed compiler errors. The new function uiBlockBeginAlign() has been updated to
Michel Selten [Sat, 15 Nov 2003 18:40:51 +0000 (18:40 +0000)]
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.

16 years ago- Bug fix: at osx, default AA font couldnt be written in .b.blend
Ton Roosendaal [Fri, 14 Nov 2003 15:49:26 +0000 (15:49 +0000)]
- 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

16 years ago- fixed 2 drawing errors because of new align code.
Ton Roosendaal [Fri, 14 Nov 2003 12:32:32 +0000 (12:32 +0000)]
- fixed 2 drawing errors because of new align code.
  thanks ztonzy for report!

16 years agoFixed edge select shift modifier
Martin Poirier [Fri, 14 Nov 2003 12:29:05 +0000 (12:29 +0000)]
Fixed edge select shift modifier

16 years agoFixed typing mode for Warp
Martin Poirier [Fri, 14 Nov 2003 01:34:13 +0000 (01:34 +0000)]
Fixed typing mode for Warp

16 years ago- Lattice documentation
Joseph Gilbert [Fri, 14 Nov 2003 01:10:59 +0000 (01:10 +0000)]
- Lattice documentation

16 years agoProjectfile update for the Lattice module
Martin Poirier [Fri, 14 Nov 2003 01:02:18 +0000 (01:02 +0000)]
Projectfile update for the Lattice module

16 years ago- Added button align code:
Ton Roosendaal [Fri, 14 Nov 2003 00:44:48 +0000 (00:44 +0000)]
- 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'.

16 years agoFixed the lag with Follow Path and optimized constraint loops with Track To and Lock...
Martin Poirier [Thu, 13 Nov 2003 23:04:46 +0000 (23:04 +0000)]
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.

16 years agoFixed the last bug with Mirror and removed it from the Wkey menu (it seemed to confus...
Martin Poirier [Thu, 13 Nov 2003 22:57:42 +0000 (22:57 +0000)]
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.

16 years agoBPython: fixing a few warnings
Willian Padovani Germano [Thu, 13 Nov 2003 17:24:47 +0000 (17:24 +0000)]
BPython: fixing a few warnings

16 years ago- found one other wrong ortho2... causing wrong ortho2 matrices in
Ton Roosendaal [Thu, 13 Nov 2003 14:55:13 +0000 (14:55 +0000)]
- found one other wrong ortho2... causing wrong ortho2 matrices in
  3d window...

16 years agoThe Quicktime-Options-Button-Freeze warning is only nescessary on OSX
Rob Haarsma [Thu, 13 Nov 2003 14:13:48 +0000 (14:13 +0000)]
The Quicktime-Options-Button-Freeze warning is only nescessary on OSX
machines. The problem doesn't occur on windows platforms.

16 years ago- bug fix #694
Ton Roosendaal [Thu, 13 Nov 2003 12:44:34 +0000 (12:44 +0000)]
- 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. :)

16 years ago- modified insertKey() to set current frame back to 1 instead of redraw the headers
Joseph Gilbert [Thu, 13 Nov 2003 12:24:18 +0000 (12:24 +0000)]
- modified insertKey() to set current frame back to 1 instead of redraw the headers

16 years agoThe new Lattice module for python
Joseph Gilbert [Thu, 13 Nov 2003 04:00:59 +0000 (04:00 +0000)]
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

16 years agoFixed a majority of the mirror function bug. AFAIK, the last bug remaining is related...
Martin Poirier [Wed, 12 Nov 2003 23:34:24 +0000 (23:34 +0000)]
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)

16 years agofixed two errors in events for knife tool:
Ton Roosendaal [Wed, 12 Nov 2003 22:20:27 +0000 (22:20 +0000)]
fixed two errors in events for knife tool:
- ESC for pupmenu was not handled
- pressing ENTER at pupmenu caused mousetrail call to exit

16 years ago- added themecolor text for textwindow
Ton Roosendaal [Wed, 12 Nov 2003 21:34:12 +0000 (21:34 +0000)]
- 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... :)

16 years ago- fixed safety area for 'floating' popup menus, such as move-to-layer
Ton Roosendaal [Wed, 12 Nov 2003 21:23:37 +0000 (21:23 +0000)]
- fixed safety area for 'floating' popup menus, such as move-to-layer
  but also works for toolbox, quit menu, etc.

16 years ago- further cleanup of window matrix code. Now ALL 2d ortho calls are
Ton Roosendaal [Wed, 12 Nov 2003 21:14:30 +0000 (21:14 +0000)]
- 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.

16 years agoAll related to unified render:
Ton Roosendaal [Wed, 12 Nov 2003 20:43:01 +0000 (20:43 +0000)]
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.

16 years ago- bug fix: alpha wrong in unified render halos with lines or rings
Ton Roosendaal [Wed, 12 Nov 2003 15:07:04 +0000 (15:07 +0000)]
- bug fix: alpha wrong in unified render halos with lines or rings

16 years agoAdds Hotspot control to custom cursor.
Robert Wenzlaff [Wed, 12 Nov 2003 13:32:11 +0000 (13:32 +0000)]
Adds Hotspot control to custom cursor.

16 years agounfix previous fix.
Stephen Swaney [Wed, 12 Nov 2003 07:46:07 +0000 (07:46 +0000)]
unfix previous fix.
Scene and Text don't need their user counts adjusted.

16 years agoConstraint dashed line drawing.
Martin Poirier [Tue, 11 Nov 2003 16:56:51 +0000 (16:56 +0000)]
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

16 years agofixed the bug Joseph Gilbert found in numerous python files.
Stephen Swaney [Tue, 11 Nov 2003 10:13:04 +0000 (10:13 +0000)]
fixed the bug Joseph Gilbert found in numerous python files.
newly created data objs had incorrect user counts.

16 years agoFixed some problems with makeParent()
Joseph Gilbert [Tue, 11 Nov 2003 05:37:28 +0000 (05:37 +0000)]
Fixed some problems with makeParent()

16 years ago(Hopefully) Fixed bug that caused non-selected edges to be cut by knife.
Robert Wenzlaff [Tue, 11 Nov 2003 00:58:25 +0000 (00:58 +0000)]
(Hopefully) Fixed bug that caused non-selected edges to be cut by knife.

16 years ago- further tweaking of selecting objects...
Ton Roosendaal [Mon, 10 Nov 2003 15:28:48 +0000 (15:28 +0000)]
- further tweaking of selecting objects...
  I keep forgetting to add 'curarea->win_swap= WIN_FRONT_OK;' after
  drawing in frontbuffer... tsk tsk!

16 years ago- redid buttons in image header, was completely messed up...
Ton Roosendaal [Mon, 10 Nov 2003 14:49:41 +0000 (14:49 +0000)]
- redid buttons in image header, was completely messed up...

16 years agofix for bug #285
Stephen Swaney [Mon, 10 Nov 2003 05:51:55 +0000 (05:51 +0000)]
fix for bug #285
text buffer not marked as modified after delete operation

16 years ago- small fix for snprintf() on Win32... MS renamed the function
Simon Clitherow [Sun, 9 Nov 2003 12:36:15 +0000 (12:36 +0000)]
-  small fix for snprintf() on Win32...  MS renamed the function
   to _snprintf !?

16 years ago- added panel backdrop for buttonswin to themes
Ton Roosendaal [Sat, 8 Nov 2003 23:18:32 +0000 (23:18 +0000)]
- added panel backdrop for buttonswin to themes
- made hilite of headers a tinsy bit subtler
- opengl render (icon 3d window) uses theme for backdrop