Commit Graph

119 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
4afacdd9c3 Added Goofsters alt-m menu for merging verts while in edit mode menu.
Kent
2003-02-21 16:40:29 +00:00
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
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
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
0f09f68e53 patched default wheellinescroll usersetting 2003-02-10 14:14:35 +00:00
19a8c2eae4 removed default wheellinescroll usersetting (didnt work here) 2003-02-10 14:13:51 +00:00
b2250c07f8 added new splash screen 2003-02-10 01:08:56 +00:00
e3f1ae0d9e added a disabled notice when pressing PKEY and building without game engine. 2003-02-09 19:34:22 +00:00
892b8b4459 disabled "Start Game" menu entry and button when building without
gameengine
2003-02-09 19:20:18 +00:00
b68c3527e8 added default variable (3) for the wheellinescroll usersetting 2003-02-09 17:55:49 +00:00
c8a89ad6ad fixed mousewheel linescrolling. 2003-02-09 15:51:20 +00:00
614f2d6483 - upped BLENDER_VERSION to 226 2003-02-09 15:43:45 +00:00
000b0efb7d prevented loading of .dotfiles as an image,
bugfix added for illegal avi/anim handling.
2003-02-09 15:16:36 +00:00
0841582d0b disabled loading of bmp files :( 2003-02-09 12:47:43 +00:00
aaa47ced53 small patch to disable new drawingroutines on sgi 2003-02-09 11:31:17 +00:00
948638f140 don't close the render window on OS X 2003-02-08 13:51:55 +00:00
1896f151cb added mousewheel for zooming circleselect 2003-02-08 12:59:25 +00:00
b131098d04 added filetype for python (.py) scripts
(orange square in front of the name)
2003-02-06 14:04:47 +00:00
d8a909905b added filetype for python (.py) scripts 2003-02-06 14:03:51 +00:00
6b65e39a44 Revert to the FUTURE_PYTHON_API, this means:
- switching the define on in buildsystems (NaN, auto and msvc are done)
- again import _Blender, which is the C module, from the Python modules
2003-02-06 03:30:25 +00:00
b133cb7c8b minor (2.26 release) cleanup 2003-02-04 12:30:52 +00:00
4709eced07 added simple shaded+wire and solid+wire drawmodes. It basically draws
the wireframe after drawing the model in solid/shaded/textured mode.
The user can set this per object using the "Wire" button in the
edit buttons window.
2003-02-01 08:25:09 +00:00
d1d3969d7d added mousewheel support for UV Image window 2003-01-31 17:22:20 +00:00
fefaf2ff0f added mousewheel support 2003-01-31 17:21:29 +00:00
f41a178ae9 opps had a typo...
Kent
2003-01-30 20:05:04 +00:00
9475bf9e29 Modified checks for defined __FreeBSD__ to also include defined (__OpenBSD__)
From: http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=840

Kent
2003-01-30 18:51:05 +00:00
96cb7d1629 added NTSC preset (Image size - 720x480, Aspect ratio - 10x11, 30 fps)
PAL and PAL 16:9 presets set frs_sec to 25

I know 30 fps isn't quite correct for NTSC, but it's close :)
2003-01-30 14:20:08 +00:00
2df139c572 added "fake user" button (basically a shortcut for pressing Shift+F4 and F) 2003-01-30 13:19:26 +00:00
Chris Want
eca167fbca Extra selection support for the action window, including:
- border select initiated in the channel names border
    selects the channels and constraint channels.
  - right click or border select initiated in the horizontal
    scroll causes blender to select all keys for the selected
    frames.
  - right click or border select in the vertical scroll
    causes blender to select all keys for the channel or
    constraint channels that are to the left of the selection.
2003-01-30 06:19:49 +00:00
a8f7197054 added win32 style ctrl keystrokes for cut/copy/paste/undo/redo 2003-01-29 13:49:25 +00:00
744913e654 fixed error message, bmp header wasn't included 2003-01-29 12:18:25 +00:00
10a8183b7e added loading of bmp images. (bmp code was already present in blender) 2003-01-29 11:29:06 +00:00
768603383e added iff, lbm and bmp filetypes to the fileselect. added loading of bmp images,
modified drawing of the imageselect, and a bugfix for popups.
2003-01-29 11:28:15 +00:00
Chris Want
fbcfbb96ca Full screen by default under Unix (patch by sgefant) 2003-01-29 04:42:25 +00:00
Chris Want
57b03cba73 CKEY in the action window scrolls the window so that the current frame
is in the center.
2003-01-28 19:54:19 +00:00