Commit Graph

1091 Commits

Author SHA1 Message Date
6210905316 - new .b.blend
- no start 4 split anymore, split 3d win in 3rd screen instead
  - print of name active object in 3d window
  - added a theme in the file, for manual demo
  - no scrub/sync set
  - removed text files
  - auto save on (per 5 minutes)
  - no standard osa rendering
  - and i might have forgotten some
All for getting a manual compatible version. but the 4 split in start for
2.30 release caused quite some annoyed reactions.
2003-11-26 17:48:31 +00:00
4a3e78fcda Updated Python documentation for the Texture module. Done by Alex. 2003-11-26 17:35:29 +00:00
a017e08d60 - version upped to 2.31 2003-11-26 17:33:51 +00:00
d14e86564d When no text file is open in the text editor, ALT-O did not work.
Fixed it.
We really should look at the entire event system there for the key selections.
Can be cleaned up a bit - not important right now.
2003-11-25 21:38:37 +00:00
9bcf2dcd1c Douglas Bischoff's Fix for Plugins on OSX.
Kent
2003-11-25 20:10:06 +00:00
efa0a97dfb - removed an old optimization line from code, which caused stenciling
with multiple bump-mapping channels not to work
2003-11-25 18:45:05 +00:00
595e0e51fd - 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.
2003-11-25 18:14:00 +00:00
af12043677 - bug fix: blender didn't rename temp save file to quit.blend at quit.
also reported on linux...
2003-11-25 17:36:37 +00:00
4501069c27 - 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.
2003-11-25 16:48:55 +00:00
5f0704c4f5 Added 2 tooltips and fixed the tooltips for stucci Wall In/Wall Out
Kent
2003-11-25 15:29:20 +00:00
e0c13fcb44 - 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
2003-11-25 13:44:46 +00:00
4b2e1c3245 Fixed typing mode in resize to allow scaling to 0.0 2003-11-24 23:18:24 +00:00
856e33cefc BPython: small update to Types.c and the docs, to finish welcoming the new modules. 2003-11-24 03:47:49 +00:00
8307f2f5fe - bug fix: in background render, the default builtin font was not
activated for rendering when other fonts were packed too.
2003-11-23 23:51:18 +00:00
a2387c352b - bug fix: colorband color sliders didnt update the colorband
- bug fix: enter editmode from faceselect correctly selects vertices
2003-11-23 23:33:19 +00:00
4cd72d69c1 - ALT+N in new texteditor (no text block) will add new text now. 2003-11-23 21:31:35 +00:00
5a5ab62336 Fixed two minor warnings 2003-11-23 21:25:55 +00:00
d3563d23b7 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.
2003-11-23 20:28:35 +00:00
18e5674ad7 - performance upgrade with the vgroup methods 2003-11-23 19:18:04 +00:00
fb36f4c944 - 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?
2003-11-23 19:11:04 +00:00
e33b297a41 BPython:
-- Blender.Texture doc file, also by Alex Mole.

Three commits where one was enough! I feel stupid!
2003-11-23 17:58:26 +00:00
5e7f9dfa08 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.
2003-11-23 17:46:06 +00:00
511b098c81 Fixed a crash that would happen if the user tried to faceloop-cut starting at an edge that didn't belong to any face. 2003-11-23 16:59:54 +00:00
90541541c3 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.
2003-11-23 14:28:46 +00:00
558f06f791 - fix: switching main Theme didn't update button drawtype for info buttons 2003-11-23 13:48:12 +00:00
de77f47ac7 - 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.
2003-11-23 12:22:59 +00:00
86a236b029 several warning fixes, for a bug-free *and* warnings-free 2.31 !
Just moved some declarations, nothing important.
2003-11-22 23:30:40 +00:00
fbc58ed007 - added button aligning code for most other panels... still unfinished
next step first is cleaning up design in panels itself.
2003-11-22 22:22:16 +00:00
Chris Want
e7d3e24a0e 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.
2003-11-22 20:21:59 +00:00
5af2e7ac25 - this routine is going to be my waterloo!
forgot to check null pointer...
2003-11-22 18:38:53 +00:00
2b59d04f96 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
2003-11-22 18:33:54 +00:00
abe3881a19 - 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!
2003-11-22 16:59:54 +00:00
3c60f8778a - made calloc for clear mverts in subsurf-mesh conversion 2003-11-21 20:52:27 +00:00
dfc72b3f90 - 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.
2003-11-21 13:14:50 +00:00
71500a2df1 - 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.
2003-11-21 12:30:15 +00:00
Chris Want
94496ca80f Fixed it so that "Parent Armature->Name Groups" puts the mesh in a state
that is ready for weight paint.
2003-11-21 04:07:45 +00:00
b70171c5bc newline conversion speed up by intrr 2003-11-20 22:22:48 +00:00
711af5cf5e - fixed an oldie! When using a spotlamp in 'potato' textured drawmode, the
normal opengl light didnt work proper anymore.
2003-11-20 17:51:37 +00:00
763cf2d69f - 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... :/
2003-11-20 17:41:46 +00:00
81d309e68e 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.
2003-11-20 01:54:34 +00:00
487fd93a2b - bug fix: subdiv level 0 and drawtype 'optim' caused mesh not drawing
in editmode...
2003-11-19 22:38:19 +00:00
f83a7dfc11 - fixed warning by not prototyping something a couple of commits ago... 2003-11-19 22:13:53 +00:00
4a5ae4a55f 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...
2003-11-19 22:00:14 +00:00
4347b1a752 - fix: keys couldnt have more than 32k vertices. Just made a short into an
int in the key struct.
  warn: this recompiles dna!
2003-11-19 17:07:17 +00:00
Alexander Ewering
79f753531e - 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!
2003-11-19 16:21:37 +00:00
ffd7fc9005 - 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
2003-11-19 15:20:18 +00:00
ab9e6f69a0 - 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...
2003-11-19 12:43:21 +00:00
76766ed969 - 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
2003-11-18 21:16:24 +00:00
c6b7148487 While I'm at it, loopselect/cut also didn't update vertexcount :) 2003-11-18 14:26:42 +00:00
b043165fb6 edge select: bad selected vert count (fixes bug #681) 2003-11-18 14:18:00 +00:00