blender.git
15 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.

15 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.

15 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.

15 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.

15 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

15 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.

15 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... :/

15 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.

15 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...

15 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...

15 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...

15 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!

15 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!

15 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

15 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...

15 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

15 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 :)

15 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)

15 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.

15 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: ----------------------------------------------------------------------

15 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

15 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.

15 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: ----------------------------------------------------------------------

15 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

15 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!

15 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

15 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

15 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

15 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

15 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)

15 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

15 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

15 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.

15 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

15 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!

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

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

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

15 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

15 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'.

15 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.

15 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.

15 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

15 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...

15 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.

15 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. :)

15 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

15 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

15 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)

15 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

15 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... :)

15 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.

15 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.

15 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.

15 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

15 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.

15 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.

15 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

15 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.

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

15 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.

15 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!

15 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...

15 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

15 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 !?

15 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

15 years ago- removed options from main header 'render' menu;
Ton Roosendaal [Sat, 8 Nov 2003 23:00:55 +0000 (23:00 +0000)]
- 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.

15 years ago- added popup warning when choosing quicktime at OSX.
Ton Roosendaal [Sat, 8 Nov 2003 21:00:09 +0000 (21:00 +0000)]
- 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.

15 years ago- zooming in for action window increased 5 fold.
Ton Roosendaal [Sat, 8 Nov 2003 19:04:50 +0000 (19:04 +0000)]
- zooming in for action window increased 5 fold.
  (bug report #679). Also corrects old files for it.

15 years ago- fix bug #682
Ton Roosendaal [Sat, 8 Nov 2003 18:46:50 +0000 (18:46 +0000)]
- fix bug #682
  button wrong size...

15 years ago- another fix because of the stricter 'qualifier key' checking;
Ton Roosendaal [Sat, 8 Nov 2003 18:37:28 +0000 (18:37 +0000)]
- another fix because of the stricter 'qualifier key' checking;
  ctrl+mouseclick didnt work to select objects in editmode, needed for
  making vertex parents.

15 years ago- fixed drawing in frontbuffer of selected object... the previous
Ton Roosendaal [Sat, 8 Nov 2003 17:51:32 +0000 (17:51 +0000)]
- fixed drawing in frontbuffer of selected object... the previous
  fix for selecting multiple objects reveiled this error...

15 years ago- bug fix #304
Ton Roosendaal [Sat, 8 Nov 2003 16:57:23 +0000 (16:57 +0000)]
- 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.

15 years ago- fix bug #294
Ton Roosendaal [Sat, 8 Nov 2003 14:41:56 +0000 (14:41 +0000)]
- 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.

15 years ago- fixed bug #253
Ton Roosendaal [Sat, 8 Nov 2003 13:36:16 +0000 (13:36 +0000)]
- 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.

15 years ago- removed hack in initrender code that allowed 'border render' in a
Ton Roosendaal [Sat, 8 Nov 2003 12:50:40 +0000 (12:50 +0000)]
- 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

15 years ago- bug fix #74 (oldie!)
Ton Roosendaal [Sat, 8 Nov 2003 10:59:59 +0000 (10:59 +0000)]
- 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.

15 years ago- removed all buttons to choose for 'image selector'. where loading images
Ton Roosendaal [Sat, 8 Nov 2003 10:47:50 +0000 (10:47 +0000)]
- 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

15 years ago- fixed bug #384
Ton Roosendaal [Sat, 8 Nov 2003 10:02:30 +0000 (10:02 +0000)]
- 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

15 years agoBPython:
Willian Padovani Germano [Sat, 8 Nov 2003 02:19:09 +0000 (02:19 +0000)]
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

15 years ago- fixed layout of curve panel (f9 menu)
Ton Roosendaal [Fri, 7 Nov 2003 22:26:15 +0000 (22:26 +0000)]
- fixed layout of curve panel (f9 menu)
- changed 'curve' to 'path' in ipo types menu for ipowindow

15 years ago- bug #670
Ton Roosendaal [Fri, 7 Nov 2003 21:12:43 +0000 (21:12 +0000)]
- bug #670
  input in ipowindow NKey menu went wrong for vertices... buttons were
  accidentally created double, resulting in double actions. uh!

15 years agoUpdated so that Default Vars button will reset envmap data, if it exists.
Kent Mein [Fri, 7 Nov 2003 21:03:58 +0000 (21:03 +0000)]
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

15 years ago- fixed bugreport intrr about shadeless UV texture face having wrong
Ton Roosendaal [Fri, 7 Nov 2003 19:23:13 +0000 (19:23 +0000)]
- 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.

15 years agoMiddle mouse emulation fix.
Martin Poirier [Fri, 7 Nov 2003 01:52:31 +0000 (01:52 +0000)]
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

15 years agoFixed Ctrl-Shift-F3 to capture the whole screen.
Martin Poirier [Fri, 7 Nov 2003 01:51:01 +0000 (01:51 +0000)]
Fixed Ctrl-Shift-F3 to capture the whole screen.

15 years agoRaised the numbot upper limit for DupSta and DupEnd.
Martin Poirier [Fri, 7 Nov 2003 01:50:14 +0000 (01:50 +0000)]
Raised the numbot upper limit for DupSta and DupEnd.

15 years ago- fixed specularity for sun lights
Ton Roosendaal [Thu, 6 Nov 2003 22:38:41 +0000 (22:38 +0000)]
- fixed specularity for sun lights

15 years ago- made shadowbuffer button into normal num but.
Ton Roosendaal [Thu, 6 Nov 2003 22:10:33 +0000 (22:10 +0000)]
- made shadowbuffer button into normal num but.
  sliders should be reserved for more limited ranges like 0.0-1.0 and so
  reason was it wasnt readable at all!

15 years agoFixed my blunder with Default Vars button.
Kent Mein [Thu, 6 Nov 2003 22:07:41 +0000 (22:07 +0000)]
Fixed my blunder with Default Vars button.
It was causing plugins not to accept changes to buttons.
Now it works correctly, defaults are set only when you press the button.

Kent

15 years ago- zoom in/out in rendered image always includes zoom level 1.0 now.
Ton Roosendaal [Thu, 6 Nov 2003 21:31:47 +0000 (21:31 +0000)]
- zoom in/out in rendered image always includes zoom level 1.0 now.

15 years ago- selecting multiple objects at same location had error. was caused by
Ton Roosendaal [Thu, 6 Nov 2003 19:20:56 +0000 (19:20 +0000)]
- selecting multiple objects at same location had error. was caused by
  new code that manages multiple matrices for 'overlay' buttons.
  just forgot to add call persp(PERSP_VIEW);

15 years agosetControlPoint() had incorrect argument list.
Stephen Swaney [Thu, 6 Nov 2003 18:17:05 +0000 (18:17 +0000)]
setControlPoint() had incorrect argument list.
also some minor reformatting.

15 years ago- little new feature; 'hide' vertices/edges/faces works in editmode
Ton Roosendaal [Thu, 6 Nov 2003 17:22:39 +0000 (17:22 +0000)]
- little new feature; 'hide' vertices/edges/faces works in editmode
  for subsurf

15 years agonla strips were not updating the reference counts of actions they
Chris Want [Thu, 6 Nov 2003 17:17:52 +0000 (17:17 +0000)]
nla strips were not updating the reference counts of actions they
were using.

15 years ago- fixed order in addmenu pulldown
Ton Roosendaal [Thu, 6 Nov 2003 16:35:15 +0000 (16:35 +0000)]
- fixed order in addmenu pulldown
- added 'add bones' for in editmode armatures in toolbox

15 years ago-fixed bug; ALT+LeftMouse emulates MiddleMouse again.
Ton Roosendaal [Thu, 6 Nov 2003 15:28:40 +0000 (15:28 +0000)]
-fixed bug; ALT+LeftMouse emulates MiddleMouse again.

15 years agobug fix: audio hangs on OSX when playback with ALT+A
Ton Roosendaal [Thu, 6 Nov 2003 14:13:49 +0000 (14:13 +0000)]
bug fix: audio hangs on OSX when playback with ALT+A

reason: mixbuffer size was not correctly initialized in .blend. Doing this
for struct UserData has some extra quirks, so better not do it with
checking for version (if version<2.27 etc) but always (if U.mix==0 etc).

I mail this to committers list as well.

15 years ago- fixed bug: removing a window edge (join areas) sometimes found the wrong
Ton Roosendaal [Thu, 6 Nov 2003 11:59:36 +0000 (11:59 +0000)]
- fixed bug: removing a window edge (join areas) sometimes found the wrong
  edge.
  this code error was very old... wonder how this error could exist so long

15 years agoDiscovered I never remapped RMB to cancel in get_mouse_trail(). Done now.
Robert Wenzlaff [Thu, 6 Nov 2003 01:57:49 +0000 (01:57 +0000)]
Discovered I never remapped RMB to cancel in get_mouse_trail().  Done now.