Commit Graph

9518 Commits

Author SHA1 Message Date
Nicholas Bishop
4bd5ab628b == Multires ==
Fixed bug #6153, Blender Crash during rendering (internal) with object selected in edit mode.

* Added a render parameter to several of multires's functions. If render==true, multires won't push data onto the undo stack, and regular Mesh data is always used (as opposed to EditMesh data.)
2007-03-08 05:54:39 +00:00
Campbell Barton
f361c49d70 Was missing a define for intern_pos_update, somehow GCC didnt complain but MSVC did. 2007-03-08 03:04:17 +00:00
Charlie Carley
f56fca448a Added a guard to prevent more than one texture to be generated per image. 2007-03-08 03:00:33 +00:00
Campbell Barton
9e2081a5fc made alloc_sequence accept a linkedList so it can be used from Python.
the start/end points for new strips were not set properly.
2007-03-07 14:58:29 +00:00
Brecht Van Lommel
c5a1582801 Bugfix (forum report):
Texture space copy (ctrl+c) crashed.
2007-03-07 14:57:01 +00:00
Matt Ebb
37308c01ca Compositor/assorted nodes fixes:
* Auto-create compbufs for first socket of alphaover and set alpha nodes.
This allows you to eg. plug something into the second socket of an
alphaover node, and choose a solid colour in the first empty socket for
the image to be superimposed over.

Previously I had to create a bunch of extra nodes to (for example) mix
100% black over my render, just to get a black compbuf of the right size
that I could plug in. Not nice.

The Mix node already works this way, and these two should have, but
didn't.

* Allow the 'Fac' value to be used on RGB curves when there is no input
image. This lets you easily fade the changes in and out to check it
against the original, or to tone down the effect of the colour correction.
2007-03-07 11:09:03 +00:00
Campbell Barton
d79f21eba7 DNA_meta_types.h - had a max element type defined that wasnt used anywhere, and some metaballs alredy use more then 1024 elements.
Metaball - added metaball.update attribute and constants Mataball.Update.ALWAYS, NEVER, HALFRES and NEVER
2007-03-07 09:53:40 +00:00
Campbell Barton
37c7d4d385 Type header_seq.c - Reassing Inputs -> Reassign Inputs
Mesh.c added new function to mesh - mesh.pointInside(vec)
2007-03-07 08:53:26 +00:00
Ken Hughes
4e5ad50079 Tools
-----
Bugfix #6174: files larger than (2^31)-1 bytes were reported with negative
sizes in file manager windows.  Added a cast to unsigned int before doing
conversions for the UI.
2007-03-07 06:19:15 +00:00
Ken Hughes
69dc499ee7 Python API
----------
Add some missing Py_DECREF() calls.
2007-03-07 00:56:09 +00:00
Ken Hughes
b68ecc9f8b Python API
----------
Converted CurNurb module to tp_getseters.
Added patch #5761 to provide read access to NURB knot vectors.
2007-03-06 18:55:35 +00:00
Ken Hughes
e85228cfd9 Python API
----------
Bugfix #6166: Mesh.getFromObject() didn't accept three parameters.
2007-03-06 18:35:03 +00:00
Ken Hughes
67e1188eb7 Python API
----------
Forgot to put sentinel at end of Curve_getseters, probably the cause of
crashes on OSX (thanks Stephen!).  Also add doc strings for attributes, add
missing "taperob" attribute to python docs.
2007-03-06 16:50:58 +00:00
Ed Halley
3927ee214c Uses the bglFlush() and is_a_really_crappy_intel_card() hacks to give
better support on low-end Macintoshes with integrated Intel graphics
chipsets.  Patch received from "UncleZiev" on #blendercoders, but I
adjusted it so other video chipsets and platforms are unaffected.

The only visual difference is that on MacBook and iMac machines, the box
select outline is drawn with solid, not dashed lines like other platforms
and not invisible as they were previously.
2007-03-06 03:39:15 +00:00
Kent Mein
8d95e59fea extra space in CCFLAGS was causing problems on some systems.
reported on irc... by bdiego

Kent
2007-03-05 20:50:36 +00:00
Ton Roosendaal
ee79b599ea Small silly feature: menus in blender now scroll with mouse wheel. :)
Note that activiting it works as if you used arrow keys, not with mouse.
2007-03-05 20:49:04 +00:00
Ton Roosendaal
bf5dfc651e bugfix #6163
Dupligroup: the recursive option did not check for the button (flag) to
be set, only for the pointer ->dupli_group
2007-03-05 20:47:59 +00:00
Campbell Barton
69a46946e1 adding experemental sequencer module, This may change or be removed before next release.
scene.sequence - This is an iterator that loops over strips, metastrips are intern iterable.
currently has support for dealing with scene strips and metastrips, generic strip options and moving strips about.
2007-03-05 15:26:03 +00:00
Campbell Barton
aa33c4fad7 mesh_skin - syntax error stopped ths script from working.
svg2obj.py update from JMS
 - Exec was removed from the collect_ATTRIBUTS function .
 - Other uses was evaluated.
2007-03-05 13:07:31 +00:00
Nathan Letwory
b3d8c7a97a === SCons ==
* fix by Malcolm Tredinnick for #6148
* some other misc changes by myself.
2007-03-05 06:38:30 +00:00
Ken Hughes
ef900ced64 Tools
-----
Bugfix #6156: Fluid simulation crashed on meshes with no vertices.  Add a
check for mesh->totvert==0 and print a message in that case.
2007-03-05 04:36:48 +00:00
Ken Hughes
5dfd59239b Python API
----------
Conversion of Curve module to tp_getseters.
2007-03-05 03:44:48 +00:00
Ken Hughes
e276a6f748 Python API
----------
Removed prototype for recently-removed Blender_RemoveFakeuser().
2007-03-05 03:38:41 +00:00
Ken Hughes
5ddf565d66 Python API
----------
Fix potential problem with tex.evaluate(); calling multitex_ext() with
non-zero integers instead of pointers.  Campbell, double-check that this fix
is correct, otherwise take another look at what it should do.
2007-03-05 03:34:40 +00:00
Campbell Barton
0a227f5e20 made it possible to set a modifiers object to None to remove the object
added initial support for the displacement modifier
2007-03-04 11:48:37 +00:00
Campbell Barton
ffab782e4c Added functions to Text3d that allow modifying of text frames
* .addFrame()
* .removeFrame(index)

getseters
* .activeFrame
* .totalFrames
* .frameWidth
* .frameHeight
* .frameX
* .frameY
2007-03-03 14:05:36 +00:00
Andrea Weikert
d1b17f8c30 ==== MSVC 7.1 project files ====
- fix for 3DPlugin compile
- cleanup of bullet path
- removed PHY_ODE project from 3D plugin too, not used anymore

Now all configurations should build again, let me know of any problems!

Not been able to test if the 3DPlugin is actually working,is job for another day ;)
Also the 3DPlugin is compiled without OpenExr, this needs to be looked into once too.
2007-03-03 11:28:15 +00:00
Ton Roosendaal
73545179a3 Bugfx #6138
Raytraced transparent shadow: did not respect lamp option "Layer".
2007-03-03 10:40:44 +00:00
Campbell Barton
8437b84c45 Pose.c - added option not to update IPO's when adding a keyframe to a bone.
bvh_import.py
- delaying IPO updates gives a significant speedup.
- IPO's use linear interpolation now
- Added an option to loop the animation.
- fix for own bug, importing to empties never worked.
2007-03-03 01:29:22 +00:00
Matt Ebb
88ed461ef4 * Compo:
Added the curve options buttons (clipping, vector handles, etc)
to the time node
2007-03-02 22:02:40 +00:00
Willian Padovani Germano
cf75e5b78c Interface:
Added option "Load Factory Settings" in the "File" menu.

With this, users don't have to remove .B.blend if they want to load the default data stored in Blender. Thanks Ton for ok'ing it and suggesting a better place in the menu (I had put it as "New (factory defaults)").
2007-03-02 18:15:41 +00:00
Campbell Barton
b2acdd69b0 vector.c - bugfix, vec.w accessed vec[4] not vec[3]! (probably my fault)
Texture.c - added "val = tex.evaluate(vec)" so you can find the color/intensity at a given loaction for a texture.
2007-03-02 09:48:04 +00:00
Joshua Leung
b5343551ac Bugfix:
Removed the ability to change the name of a constraint or vertex group
to "" as it was causing problems. Anyway, it shouldn't be allowed.
2007-03-02 07:30:52 +00:00
Campbell Barton
335f3424ca made libdata iterator types use existing function from BPY_interface - ID_asPyObject(*id) 2007-03-02 05:47:14 +00:00
Joseph Gilbert
585edac6d2 various warnings fixes - mostly casting and initialization issues 2007-03-01 21:30:48 +00:00
Joseph Gilbert
ccefcc8a79 updating vc7 projectfiles to link to python2.5 2007-03-01 20:49:44 +00:00
Campbell Barton
8e306366ef own error, missing braces. 2007-03-01 15:40:13 +00:00
Campbell Barton
69eb4eefb5 Scene.c - world could not be set to None, added "cursor" attribute.
Scene.py - added docs for new scen attributes.
meshtools.c - typo
2007-03-01 13:22:26 +00:00
Campbell Barton
e966aa549e added face sorting from the distance to cursor. (near to far and far to near) 2007-03-01 10:51:28 +00:00
Matt Ebb
dafdc0e836 * Fix for Bug #6091:
Ambient Occlusion baking uses hidden objects
2007-03-01 10:22:16 +00:00
Campbell Barton
52f105b32e new script seams from islands, adds seams at the boundries of existing UV islands.
uvcalc_smart_project - needed to import Main
2007-03-01 05:32:06 +00:00
Nathan Letwory
3aaea833b9 === SCons ===
Copy the Python 2.5 dll on windows, not 2.4. Also commented out the copying of the
 python24.zip and zlib.pyd. I'm under the impression there is a concensus we want
 users to install py25 if they want to use it.
2007-03-01 05:00:24 +00:00
Campbell Barton
d53570e44c quake map exporter, supports lamps, cubes as brushes, complex meshes face per brush, nurbs surfaces as a patch
texture mapping dosnt work yet.
2007-03-01 02:25:20 +00:00
Campbell Barton
488b317265 fixes to this script pointed out by JMS 2007-02-28 22:49:20 +00:00
Martin Poirier
1c2b52ab21 === Misc ===
Removing leftover debugging printfs.
2007-02-28 22:04:37 +00:00
Andrea Weikert
c7ad7cd1b0 === bugfix ===
[ #6077 ] Scripts in sub-sub-folders of Blender's scripts folder won't run.
[ #5572 ] Scripts in sub-folders of Blender's scripts folder won't run
- I've added a function in blenlib to join two strings with a path separator in between.
- Willian, Campbell, please check if commit in BPY_menus is ok and test - thanks!
2007-02-28 21:37:14 +00:00
Nicholas Bishop
a734d3cc27 == Sculpt Mode ==
When switching scenes, turn Sculpt Mode off (same as for other special modes.)
2007-02-28 21:10:41 +00:00
Andrea Weikert
e53c5058b4 === bugfix ===
filename and path issues:
[ #6107 ] Animation crashes when ouput folder does not exist
- using the Windows drive as default and only then degrading to the
  Blender installation drive and then the first valid drive.
- in case of degrading added error message print to console to make it
  transparent
[ #6106 ] fluids - no default path
- setting the default path to U.tempdir where Blender stores temporary files
2007-02-28 20:11:10 +00:00
Brecht Van Lommel
b58d1f9ba0 Fix for bug #6136:
Yafray rendering with 2 or cameras linked crashes. Iterating over and
erasing from STL map at the same time wasn't being done correct.
2007-02-28 17:50:15 +00:00
Martin Poirier
f6ebfd6f80 === Transform Snap ===
Snapping to other meshes from edit mode.

This commit adds the capacity to snap to vertice of other selected meshes. (This is for sanity reasons, big scenes would kill the speed)
So, if you want to snap to another mesh, just add it to the selection and you're done.

NOTE: Priority is given to vertice inside the current mesh (if they overlap with outside verts)
2007-02-28 17:16:17 +00:00