Commit Graph

491 Commits

Author SHA1 Message Date
Chris Want
8fc1ad5d2e Added a UI_BLOCK_ENTER_OK flag to the uiBlock in button()
(this alleviates the problem where using the enter key
effects the widget under the mouse cursor instead of
doing an 'OK' (symptom: getting the wrong number of verts
when adding a mesh circle).
2003-03-19 05:29:07 +00:00
Daniel Dunbar
9ef2426be6 Remainder of the vc7 projectfiles. 2003-03-19 00:55:52 +00:00
Daniel Dunbar
8003eb8628 Creator portion of VC7 projectfiles, put in make/msvc_7_0 for consistency w/ intern
projectfiles organization.
2003-03-19 00:49:28 +00:00
Daniel Dunbar
8768fdf08f Update to use <iostream> vs <iostream.h> 2003-03-18 23:21:31 +00:00
Daniel Dunbar
f8f1591442 Killed MT_Scalar to float conversion warnings (should be
explicit cast anyway).
2003-03-18 23:20:10 +00:00
Daniel Dunbar
ccf7749594 Added string.h include (for memcpy, memcmp, strcpy, strlen, etc.) 2003-03-18 23:17:09 +00:00
Daniel Dunbar
6ba07fd730 Avoid calling blenderqread on dummy event. (This patch
courtesy of VS.NETs magic new prevent-use-of-unitialized-data
debugging feature).
2003-03-18 22:15:30 +00:00
Michel Selten
3a0725d4aa * Moved the code to retrieve an object by name to a seperate function in
gen_utils.c (GetObjectByName).
* Blender.link, Blender.bylink and Blender.event should work. Somehow the
  only event coming through now is only REDRAW.
* Added include path to /intern/guardedalloc

Michel
2003-03-18 20:21:26 +00:00
Daniel Dunbar
465229e4d6 Rest of the VC7 intern projectfiles. 2003-03-18 19:38:36 +00:00
Daniel Dunbar
f06ca3e196 First set of VC-7 project files. Also first my first commit in the free
world, what hath hell wrought.
2003-03-18 19:27:13 +00:00
Chris Want
2d5f4ed51b Fixed Goofster's merge menu (added the merge at center option) 2003-03-16 21:31:30 +00:00
Chris Want
731222799c removed a line to test cvs mailout 2003-03-15 22:30:18 +00:00
Chris Want
0d03537699 added an extra line to test the cvs commit mailout 2003-03-15 22:28:00 +00:00
Michel Selten
b6b9c648bc * Removed datablock.[ch]
* Object.Get("") should work.
* Many variables from module Object are implemented.
* Updated build environment to generate more warnings (-Wall)

Michel
2003-03-15 19:14:16 +00:00
Simon Clitherow
a0c1e2bd3d updated intern project files to suit the lib dir move. 2003-03-12 22:45:34 +00:00
Simon Clitherow
ab05ef7618 - updated MSVC project files to suit the lib dir move - better late than never!
- blenderplayer and the web plugin now compile again (now using OpenAL)
2003-03-12 21:40:56 +00:00
Michel Selten
f08719cfc6 Swig is unfortunately not an option anymore. This means implementing all
wrapper functionality by hand.

* Removed the swig files (*.i and *_wrap.c)
* Created initial datablock functionality. Most of it has been copied from
  the old implementation.
* Created some general functions in gen_utils.[ch]
* Blender.Get(), Blender.Set() and Blender.Redraw functions should work in a
  script now.
* Started implementation on an Event function call (BPY_do_pyscript)

Michel
2003-03-08 18:10:20 +00:00
Simon Clitherow
cf741a99a9 Applied curve editing bugfix submitted by Klaus Stengel (nathanel)
http://projects.blender.org/tracker/index.php?func=detail&aid=100&group_id=9&atid=127
2003-03-02 14:14:03 +00:00
Simon Clitherow
7a4196a86d - removed files no longer created during freeze.
- removed '-2.26' prefix from the blender exe.
2003-03-02 13:46:07 +00:00
Michel Selten
4b825fddc7 Implemented enough functionality to actually execute Python from within
Blender.
* Moved api2_2x/interface.c to ./BPY_interface.c
  This will be the general api layer from which all variants of the Blender
  api. Currently only the 2.2x variant is initialised.
* Used swig (www.swig.org) to create Python wrappers for a couple of dummy
  functions.
* Started implementation of the Blender and Blender.Object modules.

Michel
2003-02-26 19:22:24 +00:00
Frank van Beek
8c5f949cb2 - python include path is now taken from nan_definitions.mk 2003-02-24 19:04:20 +00:00
Hans Lambermont
de3c6488f7 lib/ just moved to ../ 2003-02-23 19:57:52 +00:00
Kent Mein
40d710f35d zel365 showed me this bug with deleting nla keys...
If I had to guess REMAKEIPO is kind of miss named.
since what it does it free up memory it almost looks like it should be a part of
REMAKEALLIPO we both felt a little overwhelmed by the code though and opted for
just calling both of them in delete_nlachannel_keys
I also added in         allqueue (REDRAWVIEW3D, 0);
since things could probably change around since your recalcing the ipo's...

Kent
2003-02-21 18:42:56 +00:00
Kent Mein
4afacdd9c3 Added Goofsters alt-m menu for merging verts while in edit mode menu.
Kent
2003-02-21 16:40:29 +00:00
Kent Mein
763da870b6 The first two files enables building of plugins under macosx.
The third is for actually loading the plugins in blender.
For some reason its not identifying the plugins correctly,
but it compiles and runs so I'm including it hoping someone else
might see where I've messed things up...

I have a simple example at http://www.cs.umn.edu/~mein/test.tgz that
works, if anyone is interested in playing with it.

Kent
2003-02-21 15:37:55 +00:00
Michel Selten
ad12d5ce67 Added flag '--enable-exppython' to the auto* build environment.
Using this flag the following component is build:
  source/blender/python
and the following components are not build:
  intern/python
  source/blender/bpython

Without specifying the flag, things act as they used to do.
Also created a dummy interface.c file and created the directories
which will contain the replacement code for:
- intern/python
- source/blender/bpython

Michel
2003-02-19 19:20:11 +00:00
Simon Clitherow
6c5404431c Fixed a typo in my addy (of all places!) ;) 2003-02-19 18:55:31 +00:00
Hans Lambermont
ad625dd508 - fix 'debug' target
- add ID and copyrights to top level makefile
2003-02-17 16:51:16 +00:00
Rob Haarsma
8ff3cfe8b0 fixed mousewheel behaviour in editmode 2003-02-17 12:30:11 +00:00
Chris Want
3fc3a9473f It turns out that the "Pressing AKEY to deselect all objects still
leaves one object center pink" bug was actually designed by somebody
to mark the active object (which need not necessarily be selected).
I've added a couple of source comments to explain this so the next
person trying to fix this doesn't bother.
2003-02-16 00:12:06 +00:00
Chris Want
8956af99ab gcc 3.2.1 seems to have problems casting a double like 32772.0 to
a short, so we cast to an int first, then to a short when a button that
modifies a short value is pressed. (Allieviates the bug where the
Unified Renderer button modifies the values of a bunch of other buttons).
2003-02-15 04:18:22 +00:00
Chris Want
5cc0dcc970 I decremented the 'user' of the deleted ipo,
but it had already been decremeted elsewhere.

Thanks to zel365 for the head's up.
2003-02-14 15:29:24 +00:00
Chris Want
877a4859d6 Fix to make plugins work on windows (last system error code for
the thread wasn't getting reset). Somebody with more windows
saavy might want to check that this doesn't break other stuff.
2003-02-14 03:24:45 +00:00
Chris Want
76396efb14 This modification removes a bone's
action channel from the cooresponding
action when the bone's IPO is deleted
from the IPO window (the old behavior
was to set the channel's ipo to NULL
without removing it from the action).
This is to alleviate the problem that
there is a lot of action channel code
that tries to access the channel's ipo
(chan->ipo) without testing whether
it is NULL or not (resulting in a
segfault).

This seems to be the best way to
solve this problem ... unless there
is a reason why it might be useful
to have an action channel with no
ipo attached to it?

Thanks to zel365 for uncovering this
problem.
2003-02-13 23:30:51 +00:00
Chris Want
8729dfb134 Some small de-optimizations :)
Reverting this file to it's original
version fixed a bug involving particles
and lattices.
2003-02-13 16:56:42 +00:00
Hans Lambermont
bf2e5762dc - glue top level makefile and release one together
- fix 8 spaces problem in release/Makefile
2003-02-11 12:35:18 +00:00
Maarten Gribnau
8efc08db91 pointed PB to the frozen files in the obj tree
removed old splash and added the new 2.26 screen (beautiful as always)
maarten
2003-02-10 22:26:32 +00:00
Frank van Beek
68aae6f032 - add GPL-license to installer
- add options in installer to create desktop icon and register .blend files
2003-02-10 17:43:41 +00:00
Frank van Beek
49da5dc516 - change GPL_license to dos text 2003-02-10 17:41:47 +00:00
Chris Want
9163759665 Changes to deal with the single splash file 2003-02-10 15:01:54 +00:00
Chris Want
cb43eff2ff Another change to replace fmod with OpenAL 2003-02-10 14:59:10 +00:00
Ton Roosendaal
20993d3245 - GPL license text now included in the binary distros as well. 2003-02-10 14:36:25 +00:00
Ton Roosendaal
8fed5676c1 - As promised, the listing with names of people who have sponsored
to make the sources open. It adds another 180k to the download, but
  luckily only once!
2003-02-10 14:23:09 +00:00
Rob Haarsma
0f09f68e53 patched default wheellinescroll usersetting 2003-02-10 14:14:35 +00:00
Rob Haarsma
19a8c2eae4 removed default wheellinescroll usersetting (didnt work here) 2003-02-10 14:13:51 +00:00
Frank van Beek
a88302de00 - removed debug line from windows/specific.sh
- deinstalling Blender now also removes "%PROGRAMFILES%\Blender Foundation"
  if it's empty
2003-02-10 11:50:07 +00:00
Frank van Beek
f1f2bf85aa - mixed up python version and blender version ;-) 2003-02-10 11:41:49 +00:00
Frank van Beek
e42e6dc888 - display Blender version number in title of installer 2003-02-10 11:30:12 +00:00
Frank van Beek
3ae7008d09 - windows/specific.sh now creates a custom NSIS configuration file for this
release and executes NSIS to build the Blender intaller
2003-02-10 11:07:14 +00:00
Frank van Beek
00aa396c2c - export VERSION so specific.sh can use it
- made remove in the final directory a bit more specific
2003-02-10 10:44:26 +00:00