Commit Graph

150077 Commits

Author SHA1 Message Date
Willian Padovani Germano
446e1fae7c ** Note: two new files added, projectfiles will need an update.
Scripts:
  Campbell Barton (Ideasman, thanks) updated his Wavefront OBJ importer.
BPython:
- Finally committed pending contributions:
    Chris Keith wrote the Blender.Sound module -- still some testing to do this week;
    Joseph (joeedh) added the OnLoad scene script event;
    Satish Goda added 6 GLU functions to Blender.BGL.  Great additions, thanks all!
- Small changes to Blender.Load (leave editmode as Blender wants) and Window.EditMode (allow definition of "undo string");
- Fixed bug #1539: Window.RedrawAll() crashed Blender if an empty spacescript was available while using it in a gui-less script.
- doc updates.
2004-08-17 04:26:00 +00:00
Nathan Letwory
5a39312392 Objects will be autoselected on Append. There's a button to toggle this behaviour, by default it's enabled.
Feature requested by Bastian Salmela.
2004-08-16 06:46:41 +00:00
Martin Poirier
f9acfa722d Renamed get_constraint_target in constraint kernel file to get_constraint_target_matrix since that's what it really does
Moved get_con_target from editconstraint to constraint kernel file and renamed to get_constraint_target

Make scene.c use constraint functions from kernel instead of doing the switch itself (regrouping specific constraint code in one file).

Add LockTrack as an option in the Make Track menu (Ctrl-T)

Adding fun for vortex forces in 3D window, the representation now match the orientation and direction of the force (this is code will need optimisation). I'll probably be slapped for mixing two things in one commit but some function calls needed to be fixed for the new spelling and since this is really isolated code I didn't feel like wasting time getting a fresh copy, doing the changes and then readded this after commiting.

Fixed some warning regarding implicit casts and constants (this last one is a MSVCism where you need to explicitely tell the compiler to use floats with an f. AFAIK, it doesn't affect/bother other compilers).

Removed a useless commented piece of code in readfile (there was an uncommented copy a couple of lines before)
2004-08-16 01:14:18 +00:00
Hans Lambermont
0ce1304e1b Theodore Schundler's patches to add FreeBSD support to the scons build
system.
2004-08-15 18:09:37 +00:00
Nathan Letwory
2ea5ce017e Fix two problems in my code as reported on Forums and in release article thread on frontpage:
* Quaternion action ipos accidently got swapped in the Ipo module
* Ipos not editable if not linked to a datablock (was possible in 2.33a)

Also fixed a typo in Object.getMatrix(): localespace -> localspace

And I add:

* channels Key 32 through Key 63 for relative vertex keys
2004-08-14 09:20:38 +00:00
Alfredo de Greef
012854ae93 Fixed bug discovered by dotblend, parented empty's were mistakenly
included in the duplicate objects list.
Added support for spherelight 'dummy' mode when used with global photonmap.
It now behaves the same as arealight when used with gpm.
2004-08-11 23:32:13 +00:00
Kester Maddock
9bbc1e9c0a Clear the Python error flag between 'overloaded' Python methods. 2004-08-10 11:35:38 +00:00
Kester Maddock
47c5b8ff26 Fix blenderplayer command line option parsing.
Fix stereo rendering in vertex array mode.  Added sidebyside & anaglyph stereo modes.
2004-08-10 11:34:12 +00:00
Nathan Letwory
7c9b4e6f9a Fix for #1509
Running the system info script with a text window (empty) open caused dereferencing of a null-pointer with obviously unwanted results.

Catching the possible situation before it happens.
2004-08-09 18:25:08 +00:00
Nathan Letwory
266a1c1041 Fix typo in documentation 2004-08-07 14:14:55 +00:00
Matt Ebb
89ba6db7bd Small tweak to the colour picker - make the palette
buttons rectangular, even in the rounded theme
2004-08-05 12:40:20 +00:00
Ton Roosendaal
dcc24c09f0 typo in view3d menus; Warp should be shift+w, not ctrl+w 2004-08-05 11:37:54 +00:00
Ton Roosendaal
75e89167f4 Little showstopper; the fix for enabling typing (3d) text in 3d window
with 'emulate numpad' disabled plus/minus hotkey in imagewindow for zoom.

Added it also for oops. More problems with it for other spaces makes it
important te review for next release. But this is for people who use
laptops or minimalistic keyboards... :)
2004-08-05 10:54:00 +00:00
Matt Ebb
0219276da7 Fix for crash in select_parent() - check for OBACT
Thanks to Campbell for the last minute report!
2004-08-05 00:03:53 +00:00
Ton Roosendaal
aae6039583 Slightly improved clipping of rgb colors in HSV picker, to prevent the Hue
slider in bottom to block on colors 0,0,0 or 1,1,1

This is not scientific yet, but could be released :)
2004-08-04 23:19:57 +00:00
Nathan Letwory
924cd728e2 This commit prepares for 2.34:
* LarstiQ patched SConstruct to have it name tarballs and zips better for 'scons release'
* bump version numbers to 234
* added splash.jpg and datatoc'ed version
* add release notes

People can now do still some final tests. Can you feel the heat?
2004-08-04 22:00:41 +00:00
Stephen Swaney
0e4cfa3fcf pidhash noticed some discrepancies in the bpy doc between getMode(), getFlag(),
getType() and their associated setters.  I changed the doc to match the
implementation.

Also did a little spellcheck.
2004-08-04 20:52:55 +00:00
Stephen Swaney
fa6d79b277 updated docs 2004-08-04 08:03:39 +00:00
Matt Ebb
002af38739 Fix for some bad code that MSVC choked on. Thanks
jesterking for pointing it out, I think I'd better go sleep
or something...
2004-08-04 08:02:44 +00:00
Matt Ebb
d1322bfaa8 Tweak to the colour picker after conversation with Ton.
Moved the buttons to the side, so it's:
* consistent with the layout of the floating panel version
and consistent with the vertical R/G/B sliders layout
* using real number fields instead of abused menus :)
2004-08-04 06:52:41 +00:00
Willian Padovani Germano
c8ef5b7d27 Forgot to add the last script, tex2uvbaker.py to the 00.blender.nsi file.
BTW, thanks Simon, Nathan and Martin (am I forgetting anyone?) for your help keeping things in sync : ).
2004-08-04 06:24:21 +00:00
Willian Padovani Germano
452c8cf838 Done.
Scripts:
- Jean-Michel Soler probably lost some hours of sleep since Sunday,
  but he managed to send me the updated path import scripts a few
  hours ago.  My tests with Inkscape .svg and .ps and Gimp worked fine.
  He also tested a lot and sent me info about what is already
  supported.  I'll send Ton a doc about bundled scripts including this
  info.  Importers: .ai, .svg, .eps/.ps, Gimp 1-1.2.5 / 2.0.

- Jean-Michel also contributed his Texture Baker script.

- Campbell Barton contributed two new scripts: a mesh cleaner and a
  vloop skinning / lofting script.  He also sent updates to his obj
  import / export ones.

- A Vanpoucke (xand) contributed his Axis Orientation Copy script.

And that makes 8 last minute additions.  Thanks a lot to the authors
and special thanks to JMS and Campbell for their hard work : ).

BPython:

- tiny addition (I'm forced to call it a showstopper bug ;) so JMS's
path import scripts (that actually convert to obj and make Blender
load the .obj curves) can use Blender.Load() and not rename G.sce,
the default filename.  Blender.Load(filename, 1) doesn't update G.sce.
Nothing should break because of this, Load(filename) still works fine.

- Made Blender complain again if script is for a newer Blender version than the one running it.
2004-08-04 06:16:46 +00:00
Ton Roosendaal
54e1f40024 Showstopper bug... found out while preparing demos for siggraph;
WHen you select the yellow keylines in iposwindow (camera.blend regression
suite) it should update 3d window; that didnt work... fixed with simple
redraw.
2004-08-03 21:58:07 +00:00
Ton Roosendaal
05a87bc925 do_version for 2.34; sets outline select by default on on older
files. (testers; note that you cannot save 2.34 yet!)
2004-08-03 21:42:37 +00:00
Johnny Matthews
248404e7a2 This commit changes the sweep effect to be called 'Wipe' in both UI and in backend variable naming. 2004-08-03 19:36:17 +00:00
Wouter van Heyst
d1bbaf18ca - Fix build failure on Linux sparc
Checks for operating systems should be that, and not checks for hardware.
Linux/sparc is a valid combination, using sparc to check for Solaris thus
results in problems on non-Solaris.
2004-08-03 17:05:03 +00:00
Ton Roosendaal
6e7800e349 Fix for 1488
IKEY in buttons window, Editing context, Camera; didn't give the menu.
Just moving an if statement down...
2004-08-02 21:36:44 +00:00
Matt Ebb
060db9e94a Smallest commit ever: Make the OB: text entry field in
transform properties floating panel maximum 19 characters rather than 18, to bring it in line with the
similar field in buttons_editing.c
2004-08-02 13:06:09 +00:00
Nathan Letwory
d3a9eae00d * make sure all contents of bpydata are included in installer and archives 2004-08-02 11:02:14 +00:00
Jean-Luc Peurière
4b495e5e7b OS X fix:
those who work with visible dock where experimenting slowdown of UI  when
 blender window was overlapping dock.

now :
     - check available space excluding dock
     - create window with a 10 pixels border
     - maximised mode is only 1 click away

This code is fixing only. Will review that when consensus will be found
about how we should create the window.
2004-08-01 22:28:56 +00:00
Alfredo de Greef
c11bb5b7ad Values for spherelight sampling were using incorrect blender lamp parameter. 2004-08-01 22:21:22 +00:00
Simon Clitherow
2a749931ba - added missing py scripts to the non-sconsered NSIS installer script
- uninstall files now done semi-automatic for 'scons wininst'
2004-08-01 21:13:41 +00:00
Nathan Letwory
f1fdc6d608 Under certain circumstances a null-pointer could get dereferenced. Disabling 'dynamic' on an object was one of the situations. Now checking before using.
NULL->m_mass never works, of course :)

Ryan Showalter spotted and located the problem.
2004-08-01 09:00:36 +00:00
Matt Ebb
59765b488e Tiny tweak to the selection mouse button prefs- put the
'left mouse' button on the left side, and vice versa :)
2004-08-01 03:07:56 +00:00
Willian Padovani Germano
d362e27fbc Script kloputils:
- translated tooltips from Spanish to English.
2004-08-01 01:07:28 +00:00
Ton Roosendaal
8224b1b164 - calculation of position within HSVCUBE button (picker) had wrong Y
coordinate, only noticable in Panel versions of picker

- the fix to give Transform properties new name "Paint" can't
  work with this code... this due to fact that panel positions are saved
  in files or looked up on re-open based on their names. Giving the Panel
  a new new name then causes it jump to another position, and back on end
  of painting.
  Needs to be solved in another way. Not feasible for 2.34...
2004-07-31 22:05:46 +00:00
Ton Roosendaal
8c1b11286c Fixed small annoyances with drawing selection circle and paint brush.
With glflush() change as committed before, updates weren't that good
anymore. Solution is actually just flipping drawing order.
2004-07-30 13:59:09 +00:00
Matt Ebb
d2a424b814 Menu item for the sequence editor properties panel wasn't
showing in some circumstances - fixed and simplified.
2004-07-30 10:53:10 +00:00
Ton Roosendaal
fc94d2908c Moved the drawing of size and diagonal of border select into the chunk
that draws the XOR border as well, this prevents unnecessary updates, and
makes sure all drawing uses a single glFlush()

Should solve redraw errors as reported by Goofster
2004-07-30 10:07:47 +00:00
Ton Roosendaal
f73d81377a Added a line in 'make release' that moves the .blender directory to the
MacOS directory.
2004-07-30 09:55:47 +00:00
Willian Padovani Germano
7ce069850f First of all thanks Kent Mein for committing the fix to space.c and Peter den Bak for reporting and testing it.
- making Blender not warn about 2.34 scripts, as Ton requested.  Will turn this on again before release;
- small fix to the new helpwebsites and helpsystem additions in BPy_menus.c, should solve problem reported by Jean-Luc Peurière about empty menus on startup;
- updated version info of a few scripts to 2.34, since they use recently added bpython api functions.
2004-07-30 05:18:14 +00:00
Jean-Luc Peurière
4f278a78d4 python scripts are not found if they are not placed in a .blender folder
inside MacOs folder of bundle.

their previous location (ressource folder) would however be more logical.
2004-07-29 23:21:05 +00:00
Ton Roosendaal
c726751760 Attempt #3 (or so) to solve the "weird buggy" hardness slider updates. :) 2004-07-29 20:50:13 +00:00
Kent Mein
cfbe0f3119 Willian's patch for enabling the menus again.
Kent
2004-07-29 19:10:52 +00:00
Alfredo de Greef
425cfa10eb Reflection caustics did not work, fixed.
Note to users: even when you only want reflection caustics (metals/mirrors)
you have to set a IOR value higher than 1, similar to glass materials.
The higher, the brighter the caustics.

That should be it...
2004-07-29 18:51:17 +00:00
Matt Ebb
6bcf9d5139 Panel layout tweaks courtesy of Chris 'Desoto' Burt, and
Emilie 'hmetalcowgirl' McDavid
2004-07-29 14:12:30 +00:00
Ton Roosendaal
295989f42a Circle select (B+B) had drawing error, a missing segment in the circle. 2004-07-29 13:57:59 +00:00
Matt Ebb
3b29759bbf And the necessary scripts. 2004-07-29 12:13:35 +00:00
Matt Ebb
28f0f2d048 Help menu!
Thanks to Willian for integrating the webbrowser module.

Some of the URLs (Python reference, Release notes) will
need to be updated upon release. These are contained in
http://www.blender3d.org/Help/index.php
2004-07-29 12:12:20 +00:00
Stephen Swaney
7ed803f6a8 some code cleanup. minor bug fixage: don't try to free null ptrs.
accidentally ran CurNurb.c thru indent utility  Doh!
2004-07-29 12:00:34 +00:00