blender-staging.git
13 years agoPatch #6264
Ton Roosendaal [Thu, 15 Mar 2007 08:59:29 +0000 (08:59 +0000)]
Patch #6264

Pointer check added to prevent "Jkey" (swap render display buffers) to
crash in cases. Patch by Diego Borghetti.

13 years agoremoved unneeded dealloc functions
Campbell Barton [Thu, 15 Mar 2007 01:47:53 +0000 (01:47 +0000)]
removed unneeded dealloc functions

13 years agoremoved duplicate functionality, macro's and functions existed to check a PyObjects...
Campbell Barton [Thu, 15 Mar 2007 01:09:14 +0000 (01:09 +0000)]
removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's

13 years ago== Sculpt Mode ==
Nicholas Bishop [Wed, 14 Mar 2007 20:00:01 +0000 (20:00 +0000)]
== Sculpt Mode ==

* Added new brush, "Flatten". This brush pushes vertices along the normal defined by the average normal of each vertex within the brush area. The vertices are pushed towards the plane defined by vertices towards the edge of the brush. Essentially, this means that the direction of flattening is dependent on the surface beneath the brush.

* In order to make space for the flatten brush, the controls inside the Sculpt palette were widened to 268. (Note that the panel width didn't change, so it still fits properly in the vertical layout.)

* Todo: it would probably make sense to make the "View" slider available under the Brush tab available for the Flatten brush (currently it's only used for the Draw brush.)

13 years agoattempted fixage for gcc warnings with Python 2.5
Stephen Swaney [Wed, 14 Mar 2007 16:38:58 +0000 (16:38 +0000)]
attempted fixage for gcc warnings with Python 2.5

13 years agofix gcc warnings about no newline at end of file
Stephen Swaney [Wed, 14 Mar 2007 16:09:12 +0000 (16:09 +0000)]
fix gcc warnings about no newline at end of file

13 years agomany menu items would crash blender if there was no 3d view. added checks.
Campbell Barton [Wed, 14 Mar 2007 09:08:41 +0000 (09:08 +0000)]
many menu items would crash blender if there was no 3d view. added checks.

13 years agoapply the 3ds matrix to the mesh, This fixes some 3ds files and breaks others, but...
Campbell Barton [Wed, 14 Mar 2007 06:01:59 +0000 (06:01 +0000)]
apply the 3ds matrix to the mesh, This fixes some 3ds files and breaks others, but it seems to follow the 3ds format. for the files it messes up, just remove transformation.

13 years agomade all python types that can do .__copy__(), also do .copy()
Campbell Barton [Wed, 14 Mar 2007 03:01:24 +0000 (03:01 +0000)]
made all python types that can do .__copy__(), also do .copy()
added copy function to lamp, texture and ipo types

13 years agodisabled Object.Duplicate() in background mode bacause it needs the 3d view, added...
Campbell Barton [Wed, 14 Mar 2007 02:11:42 +0000 (02:11 +0000)]
disabled Object.Duplicate() in background mode bacause it needs the 3d view, added a note in the docs.

13 years ago==== MSVC 7.1 projectfiles ====
Andrea Weikert [Tue, 13 Mar 2007 18:23:05 +0000 (18:23 +0000)]
==== MSVC 7.1 projectfiles ====
- small update, added missing files.

13 years ago[ #6214 ] Select object of the same group.
Campbell Barton [Tue, 13 Mar 2007 16:15:59 +0000 (16:15 +0000)]
[ #6214 ] Select object of the same group.
rewritten to find the groups that an object is apart of only once (less listbase searching).
with the limitation of 24 maximum in the menu.

13 years agorenamed norepeatX/Y to ClampX/Y
Campbell Barton [Tue, 13 Mar 2007 12:50:36 +0000 (12:50 +0000)]
renamed norepeatX/Y to ClampX/Y

13 years agoBugfix #6211
Ton Roosendaal [Tue, 13 Mar 2007 12:20:55 +0000 (12:20 +0000)]
Bugfix #6211

Group nodes with animation nodes inside (like Time) did not get updated
correctly.

I also noticed that with time Nodes,  the hotkey "E" (execute) fails to do
a composite after frame changes, fixed that too.

13 years agoadded back videoscape for python
Campbell Barton [Tue, 13 Mar 2007 11:54:53 +0000 (11:54 +0000)]
added back videoscape for python

13 years agoremoved videoscape support, a format from 1988 that nobody uses anymore.
Campbell Barton [Tue, 13 Mar 2007 10:00:27 +0000 (10:00 +0000)]
removed videoscape support, a format from 1988 that nobody uses anymore.

13 years agoexiting editmesh when in face select mode could result in hidden and selected faces.
Campbell Barton [Tue, 13 Mar 2007 03:05:12 +0000 (03:05 +0000)]
exiting editmesh when in face select mode could result in hidden and selected faces.

13 years agopatch [#6213] msvc had problems with GL_CLAMP_TO_EDGE being undefined
Kent Mein [Tue, 13 Mar 2007 00:06:37 +0000 (00:06 +0000)]
patch [#6213]   msvc had problems with GL_CLAMP_TO_EDGE being undefined
on some systems.  If its undefined define it.

Kent

13 years agoPython API
Ken Hughes [Mon, 12 Mar 2007 19:45:42 +0000 (19:45 +0000)]
Python API
----------
Chris Want on IRC pointed out a grammatical error in the Bpy doc file.  While fixing
it, I found about a dozen more.

13 years agoBugfix #6167
Ton Roosendaal [Mon, 12 Mar 2007 16:27:20 +0000 (16:27 +0000)]
Bugfix #6167

Metaball delete could crash, if selected/active ball is not the 'mother'
ball.

13 years agoBugfix #6181
Ton Roosendaal [Mon, 12 Mar 2007 14:25:44 +0000 (14:25 +0000)]
Bugfix #6181

An acos() getting a negative value caused 'ray trace shadow bias' to go
wrong (and object render entirely black). Only in very rare cases... but
nevertheless a nice discovery fixing other unpredictable issues.
(Symptom: entire object renders black)

13 years agoBugfix #6183
Ton Roosendaal [Mon, 12 Mar 2007 13:31:47 +0000 (13:31 +0000)]
Bugfix #6183

Option "Align view to selected face(s)" (shift+v) did not work for non-
uniform scaled objects.

13 years agoBugfix #6173
Ton Roosendaal [Mon, 12 Mar 2007 10:30:39 +0000 (10:30 +0000)]
Bugfix #6173

Dupliverts + shaded mode did not work; patch provided by Riku Palomäk
(tonttu)

13 years agopython api
Campbell Barton [Mon, 12 Mar 2007 06:21:58 +0000 (06:21 +0000)]
python api
removed most custom add_*data* wrappers from Main.c
removed makeCurrent() from Text.c (was never in a release), use "bpy.texts.active = text" now
clamp new image sizes
made add_empty_action accept a string rather then a blocktype since the blocktype was only being used to choose one of 3 strings anyway.

13 years agoadded no-xtile and no-ytile to the images realtime properties and python api.
Campbell Barton [Mon, 12 Mar 2007 01:43:11 +0000 (01:43 +0000)]
added no-xtile and no-ytile to the images realtime properties and python api.

13 years agoFix for bug #6127:
Brecht Van Lommel [Mon, 12 Mar 2007 00:30:46 +0000 (00:30 +0000)]
Fix for bug #6127:
Import scripts could create meshes with old style edgecodes.

13 years agoPython API
Ken Hughes [Sun, 11 Mar 2007 18:20:55 +0000 (18:20 +0000)]
Python API
----------
Fixed some broken/disabled Texture attributes after Image refactor.
Added texture.autoRefresh attribute.

13 years agoRemove gcc compiler warnings from various files.
Ken Hughes [Sun, 11 Mar 2007 17:31:27 +0000 (17:31 +0000)]
Remove gcc compiler warnings from various files.

13 years agomade all data adding functions accept a name such as add_mesh or add_curve, previousl...
Campbell Barton [Sun, 11 Mar 2007 16:25:17 +0000 (16:25 +0000)]
made all data adding functions accept a name such as add_mesh or add_curve, previously only some datatypes adding functions accepted a name.
also updated the Bpy.py epydocs

13 years agoDocumentation for the new automatically imported "bpy" module. (was Blender.Main)
Campbell Barton [Sun, 11 Mar 2007 12:35:01 +0000 (12:35 +0000)]
Documentation for the new automatically imported "bpy" module. (was Blender.Main)

13 years ago=Cineon Bug=
Joseph Eagar [Sun, 11 Mar 2007 12:27:57 +0000 (12:27 +0000)]
=Cineon Bug=

In my attempts to get cinepaint's cineon code to work with files in memory,
I accidently rewrote something that should have been left as it is.  This
causes images whose image buffers didn't start right after the cineon header to
become "shifted" to the left.

The DPX code looks correct, though.

13 years agoBugfix #6201
Ton Roosendaal [Sun, 11 Mar 2007 12:14:50 +0000 (12:14 +0000)]
Bugfix #6201

Shape key drivers were not copied correctly, when choosing the option
"ADD NEW Scene -> Full copy".

13 years agoAction Editor - Remove unused code.
Joshua Leung [Sun, 11 Mar 2007 04:39:19 +0000 (04:39 +0000)]
Action Editor - Remove unused code.

Nothing ever called that part of code, and that code was
'not implemented' anyway.

13 years agomoved python functions that deal with blender libdata into gen_library.c from gen_uti...
Campbell Barton [Sun, 11 Mar 2007 04:05:45 +0000 (04:05 +0000)]
moved python functions that deal with blender libdata into gen_library.c from gen_utils and BPY_interface
small cleanup, removed unused functions and explicetly cast pointers..

13 years agoPyApi: fix for own bad bug, obdata was having a user removed when the object was...
Campbell Barton [Sat, 10 Mar 2007 12:37:03 +0000 (12:37 +0000)]
PyApi: fix for own bad bug, obdata was having a user removed when the object was removed with (scene.objects.unlink(ob))

13 years agoremoved python oops access, (was unreliable and nobody used it)
Campbell Barton [Sat, 10 Mar 2007 11:47:24 +0000 (11:47 +0000)]
removed python oops access, (was unreliable and nobody used it)
oops data access need to be done differently.

Blender.sys fix for win32 path bug 6193

13 years agoMain
Campbell Barton [Sat, 10 Mar 2007 09:43:43 +0000 (09:43 +0000)]
Main
* Added bpy.*.new() - works for all except sound and font types
* Added bpy.*.load() - works for sound, font and image types

Text3d - removed unneeded check.

13 years agoadded "bpy" as a module imported by default to replace Blender.Main as a new way...
Campbell Barton [Sat, 10 Mar 2007 06:33:19 +0000 (06:33 +0000)]
added "bpy" as a module imported by default to replace Blender.Main as a new way to access blender data
gen_utils was missing some type checks that made assigning a objects DupGroup and meshes texcomesh not work.

13 years agoPython API
Ken Hughes [Fri, 9 Mar 2007 22:21:23 +0000 (22:21 +0000)]
Python API
----------
Added Image.source attribute, so image type can be get/set for still, movie,
sequence or generated images.

13 years agoPython API
Ken Hughes [Fri, 9 Mar 2007 21:48:47 +0000 (21:48 +0000)]
Python API
----------
Rearrange includes, remove dead code to fix gcc warnings.

13 years ago-> Fix for bug #6150
Geoffrey Bantle [Fri, 9 Mar 2007 19:54:05 +0000 (19:54 +0000)]
-> Fix for bug #6150

Missing call to update despgraph caused merge tools to crash
when called from toolbox or header menus.

13 years ago-> Small bug fix for modifiers and info header stats
Geoffrey Bantle [Fri, 9 Mar 2007 15:36:21 +0000 (15:36 +0000)]
-> Small bug fix for modifiers and info header stats

Small but very annoying issue with  modifiers meant that G.totvert/totedge/totface
were updated to reflect the effects of a subsurf modifier in object mode but all other
modifier types were ignored. This was not only inconsistent, but also made it very
difficult to keep track of poly budgets. Now in order to obtain accurate counts
object_handle_update is called immediatly after adding a modifier and precedes  a call
to countall() which has been modified to query the final derived mesh directly
using dm->getNumVerts/Edges/Faces callbacks. Editmode behaviour is unchanged.

13 years ago* Visualise material 'Shadeless' a bit better in the 3D View solid mode.
Matt Ebb [Fri, 9 Mar 2007 04:19:59 +0000 (04:19 +0000)]
* Visualise material 'Shadeless' a bit better in the 3D View solid mode.
  Now it draws as if Ref = Emit = 1.0 - not as accurate as shaded mode,
  but it's better than before, and at least it allows transparency.

13 years agoPython API
Ken Hughes [Fri, 9 Mar 2007 00:11:02 +0000 (00:11 +0000)]
Python API
----------
Fix bug with variable declaration in middle of function.

13 years agoBPython API
Campbell Barton [Thu, 8 Mar 2007 14:37:34 +0000 (14:37 +0000)]
BPython API
added a function - GenericLib_assignData for assigning blender data, to assign an ipo to a camera or world to a scene for instance.
Using this function removed ~300 lines of code.
also fixes user count error in some places that didnt check.

also made it possible to clear the colorband by setting it to []

13 years agobugfix, material copy wasnt increasing the lighting groups user count, but removing...
Campbell Barton [Thu, 8 Mar 2007 13:43:59 +0000 (13:43 +0000)]
bugfix, material copy wasnt increasing the lighting groups user count, but removing the lighting group decreased it.

13 years agoBugfix #6176
Ton Roosendaal [Thu, 8 Mar 2007 12:22:50 +0000 (12:22 +0000)]
Bugfix #6176

Matrix cache for particles was read out of bounds. Fix found by Ken Hughes.

13 years agoBugfix #6190
Ton Roosendaal [Thu, 8 Mar 2007 12:05:34 +0000 (12:05 +0000)]
Bugfix #6190

Composite: renderlayer nodes were not tagged 'changed' when rerendered,
causing a composite to skip them. (only for nodes having another scene)

13 years agoAdded python access to material and texture colorbands.
Campbell Barton [Thu, 8 Mar 2007 06:35:01 +0000 (06:35 +0000)]
Added python access to material and texture colorbands.
mat.colorbandDiffuse
mat.colorbandSpecular
tex.colorband

gen_utils - removed unused func

13 years ago== Multires ==
Nicholas Bishop [Thu, 8 Mar 2007 05:54:39 +0000 (05:54 +0000)]
== 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.)

13 years agoWas missing a define for intern_pos_update, somehow GCC didnt complain but MSVC did.
Campbell Barton [Thu, 8 Mar 2007 03:04:17 +0000 (03:04 +0000)]
Was missing a define for intern_pos_update, somehow GCC didnt complain but MSVC did.

13 years agoAdded a guard to prevent more than one texture to be generated per image.
Charlie Carley [Thu, 8 Mar 2007 03:00:33 +0000 (03:00 +0000)]
Added a guard to prevent more than one texture to be generated per image.

13 years agomade alloc_sequence accept a linkedList so it can be used from Python.
Campbell Barton [Wed, 7 Mar 2007 14:58:29 +0000 (14:58 +0000)]
made alloc_sequence accept a linkedList so it can be used from Python.
the start/end points for new strips were not set properly.

13 years agoBugfix (forum report):
Brecht Van Lommel [Wed, 7 Mar 2007 14:57:01 +0000 (14:57 +0000)]
Bugfix (forum report):
Texture space copy (ctrl+c) crashed.

13 years agoCompositor/assorted nodes fixes:
Matt Ebb [Wed, 7 Mar 2007 11:09:03 +0000 (11:09 +0000)]
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.

13 years agoDNA_meta_types.h - had a max element type defined that wasnt used anywhere, and some...
Campbell Barton [Wed, 7 Mar 2007 09:53:40 +0000 (09:53 +0000)]
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

13 years agoType header_seq.c - Reassing Inputs -> Reassign Inputs
Campbell Barton [Wed, 7 Mar 2007 08:53:26 +0000 (08:53 +0000)]
Type header_seq.c - Reassing Inputs -> Reassign Inputs

Mesh.c added new function to mesh - mesh.pointInside(vec)

13 years agoTools
Ken Hughes [Wed, 7 Mar 2007 06:19:15 +0000 (06:19 +0000)]
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.

13 years agoPython API
Ken Hughes [Wed, 7 Mar 2007 00:56:09 +0000 (00:56 +0000)]
Python API
----------
Add some missing Py_DECREF() calls.

13 years agoPython API
Ken Hughes [Tue, 6 Mar 2007 18:55:35 +0000 (18:55 +0000)]
Python API
----------
Converted CurNurb module to tp_getseters.
Added patch #5761 to provide read access to NURB knot vectors.

13 years agoPython API
Ken Hughes [Tue, 6 Mar 2007 18:35:03 +0000 (18:35 +0000)]
Python API
----------
Bugfix #6166: Mesh.getFromObject() didn't accept three parameters.

13 years agoPython API
Ken Hughes [Tue, 6 Mar 2007 16:50:58 +0000 (16:50 +0000)]
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.

13 years agoUses the bglFlush() and is_a_really_crappy_intel_card() hacks to give
Ed Halley [Tue, 6 Mar 2007 03:39:15 +0000 (03:39 +0000)]
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.

13 years agoextra space in CCFLAGS was causing problems on some systems.
Kent Mein [Mon, 5 Mar 2007 20:50:36 +0000 (20:50 +0000)]
extra space in CCFLAGS was causing problems on some systems.
reported on irc... by bdiego

Kent

13 years agoSmall silly feature: menus in blender now scroll with mouse wheel. :)
Ton Roosendaal [Mon, 5 Mar 2007 20:49:04 +0000 (20:49 +0000)]
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.

13 years agobugfix #6163
Ton Roosendaal [Mon, 5 Mar 2007 20:47:59 +0000 (20:47 +0000)]
bugfix #6163

Dupligroup: the recursive option did not check for the button (flag) to
be set, only for the pointer ->dupli_group

13 years agoadding experemental sequencer module, This may change or be removed before next release.
Campbell Barton [Mon, 5 Mar 2007 15:26:03 +0000 (15:26 +0000)]
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.

13 years agomesh_skin - syntax error stopped ths script from working.
Campbell Barton [Mon, 5 Mar 2007 13:07:31 +0000 (13:07 +0000)]
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.

13 years ago=== SCons ==
Nathan Letwory [Mon, 5 Mar 2007 06:38:30 +0000 (06:38 +0000)]
=== SCons ==
* fix by Malcolm Tredinnick for #6148
* some other misc changes by myself.

13 years agoTools
Ken Hughes [Mon, 5 Mar 2007 04:36:48 +0000 (04:36 +0000)]
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.

13 years agoPython API
Ken Hughes [Mon, 5 Mar 2007 03:44:48 +0000 (03:44 +0000)]
Python API
----------
Conversion of Curve module to tp_getseters.

13 years agoPython API
Ken Hughes [Mon, 5 Mar 2007 03:38:41 +0000 (03:38 +0000)]
Python API
----------
Removed prototype for recently-removed Blender_RemoveFakeuser().

13 years agoPython API
Ken Hughes [Mon, 5 Mar 2007 03:34:40 +0000 (03:34 +0000)]
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.

13 years agomade it possible to set a modifiers object to None to remove the object
Campbell Barton [Sun, 4 Mar 2007 11:48:37 +0000 (11:48 +0000)]
made it possible to set a modifiers object to None to remove the object
added initial support for the displacement modifier

13 years agoAdded functions to Text3d that allow modifying of text frames
Campbell Barton [Sat, 3 Mar 2007 14:05:36 +0000 (14:05 +0000)]
Added functions to Text3d that allow modifying of text frames
* .addFrame()
* .removeFrame(index)

getseters
* .activeFrame
* .totalFrames
* .frameWidth
* .frameHeight
* .frameX
* .frameY

13 years ago==== MSVC 7.1 project files ====
Andrea Weikert [Sat, 3 Mar 2007 11:28:15 +0000 (11:28 +0000)]
==== 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.

13 years agoBugfx #6138
Ton Roosendaal [Sat, 3 Mar 2007 10:40:44 +0000 (10:40 +0000)]
Bugfx #6138

Raytraced transparent shadow: did not respect lamp option "Layer".

13 years agoPose.c - added option not to update IPO's when adding a keyframe to a bone.
Campbell Barton [Sat, 3 Mar 2007 01:29:22 +0000 (01:29 +0000)]
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.

13 years ago* Compo:
Matt Ebb [Fri, 2 Mar 2007 22:02:40 +0000 (22:02 +0000)]
* Compo:
Added the curve options buttons (clipping, vector handles, etc)
to the time node

13 years agoInterface:
Willian Padovani Germano [Fri, 2 Mar 2007 18:15:41 +0000 (18:15 +0000)]
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)").

13 years agovector.c - bugfix, vec.w accessed vec[4] not vec[3]! (probably my fault)
Campbell Barton [Fri, 2 Mar 2007 09:48:04 +0000 (09:48 +0000)]
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.

13 years agoBugfix:
Joshua Leung [Fri, 2 Mar 2007 07:30:52 +0000 (07:30 +0000)]
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.

13 years agomade libdata iterator types use existing function from BPY_interface - ID_asPyObject...
Campbell Barton [Fri, 2 Mar 2007 05:47:14 +0000 (05:47 +0000)]
made libdata iterator types use existing function from BPY_interface - ID_asPyObject(*id)

13 years agovarious warnings fixes - mostly casting and initialization issues
Joseph Gilbert [Thu, 1 Mar 2007 21:30:48 +0000 (21:30 +0000)]
various warnings fixes - mostly casting and initialization issues

13 years agoupdating vc7 projectfiles to link to python2.5
Joseph Gilbert [Thu, 1 Mar 2007 20:49:44 +0000 (20:49 +0000)]
updating vc7 projectfiles to link to python2.5

13 years agoown error, missing braces.
Campbell Barton [Thu, 1 Mar 2007 15:40:13 +0000 (15:40 +0000)]
own error, missing braces.

13 years agoScene.c - world could not be set to None, added "cursor" attribute.
Campbell Barton [Thu, 1 Mar 2007 13:22:26 +0000 (13:22 +0000)]
Scene.c - world could not be set to None, added "cursor" attribute.
Scene.py - added docs for new scen attributes.
meshtools.c - typo

13 years agoadded face sorting from the distance to cursor. (near to far and far to near)
Campbell Barton [Thu, 1 Mar 2007 10:51:28 +0000 (10:51 +0000)]
added face sorting from the distance to cursor. (near to far and far to near)

13 years ago* Fix for Bug #6091:
Matt Ebb [Thu, 1 Mar 2007 10:22:16 +0000 (10:22 +0000)]
* Fix for Bug #6091:
Ambient Occlusion baking uses hidden objects

13 years agonew script seams from islands, adds seams at the boundries of existing UV islands.
Campbell Barton [Thu, 1 Mar 2007 05:32:06 +0000 (05:32 +0000)]
new script seams from islands, adds seams at the boundries of existing UV islands.

uvcalc_smart_project - needed to import Main

13 years ago=== SCons ===
Nathan Letwory [Thu, 1 Mar 2007 05:00:24 +0000 (05:00 +0000)]
=== 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.

13 years agoquake map exporter, supports lamps, cubes as brushes, complex meshes face per brush...
Campbell Barton [Thu, 1 Mar 2007 02:25:20 +0000 (02:25 +0000)]
quake map exporter, supports lamps, cubes as brushes, complex meshes face per brush, nurbs surfaces as a patch
texture mapping dosnt work yet.

13 years agofixes to this script pointed out by JMS
Campbell Barton [Wed, 28 Feb 2007 22:49:20 +0000 (22:49 +0000)]
fixes to this script pointed out by JMS

13 years ago=== Misc ===
Martin Poirier [Wed, 28 Feb 2007 22:04:37 +0000 (22:04 +0000)]
=== Misc ===

Removing leftover debugging printfs.

13 years ago=== bugfix ===
Andrea Weikert [Wed, 28 Feb 2007 21:37:14 +0000 (21:37 +0000)]
=== 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!

13 years ago== Sculpt Mode ==
Nicholas Bishop [Wed, 28 Feb 2007 21:10:41 +0000 (21:10 +0000)]
== Sculpt Mode ==

When switching scenes, turn Sculpt Mode off (same as for other special modes.)

13 years ago=== bugfix ===
Andrea Weikert [Wed, 28 Feb 2007 20:11:10 +0000 (20:11 +0000)]
=== 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

13 years agoFix for bug #6136:
Brecht Van Lommel [Wed, 28 Feb 2007 17:50:15 +0000 (17:50 +0000)]
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.

13 years ago=== Transform Snap ===
Martin Poirier [Wed, 28 Feb 2007 17:16:17 +0000 (17:16 +0000)]
=== 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)

13 years ago=== Transform Snap ===
Martin Poirier [Wed, 28 Feb 2007 15:29:18 +0000 (15:29 +0000)]
=== Transform Snap ===

[ #6131 ] Vertex snapping broken in shaded face + edge select mode

The problem was trying to use the OGL optimisation when vertex selection was turned off. Added a check for that in all the find_nearest functions (vert, edge, face) so nobody falls in that trap again.

The offshot is that snapping in shaded view without vertex select on can snap to occluded vertice.