Commit Graph

66005 Commits

Author SHA1 Message Date
bcc3143119 more memory leak fixes, though only a few are likely to happen 2007-05-27 21:33:48 +00:00
d9e85385fd === Patch ===
[#6666] Updates to UV layout export script

Moving from NMesh API to Mesh
2007-05-27 14:42:17 +00:00
10e3667f6e BMesh Branch
Non backbuffered (z-clipped) edge selection now works. 
Transforms unfortunately do not, I'm having a little trouble
figuring out why my code isn't working :/
2007-05-27 07:00:40 +00:00
e6fe5214b9 drawmesh.c - change from mal_CanDo that makes lighting work the same as in blender 2.44.
header_view3d.c - smoothview wasnt working with the camera menu
2007-05-26 17:52:35 +00:00
deffce3c19 Key.c/h - Removed unneeded functions. and ipo in struct wasnt being used.
Lattice.c - removed warning
Mesh.c - (own error) when running me.update(key="...") didnt update the right keyframe.

mesh_cleanup.py - Bugfix from a report by plumiferos that started uncovering all the memory leaks.
Removing NAN verts didnt work with mesh keyframes.
2007-05-26 12:58:46 +00:00
30dd4fafd1 More memory leaks fixed - in IDProp, Bone.head, tail, matrix, ob.DupObjects (my fault) and in Effect module as well as a few others.
Also stopped using Py_BuildValue for strings, ints and floats.
2007-05-26 04:39:31 +00:00
Ken Hughes
ea9b3dc387 Fix segfault in PyBonesDict_FromPyArmature() caused by uninitialized memory. 2007-05-25 20:54:48 +00:00
Nathan Letwory
769615aed2 * playback of image sequence now also for OpenEXR images (but not multilayer). 2007-05-25 17:32:41 +00:00
Nathan Letwory
6849af7a3b * fix for #6714
- don't handle images with ffmpeg, blender knows itself perfectly fine how to do that. This fix is done as per Qt handling (skip non-Qt files).
2007-05-25 17:11:24 +00:00
f231bd0d57 Many long standing memory leaks fixed in the BPY api.
Data from Armature.c and logic.c still leaks.

Mostly todo with PyList_Append adding a refcount and the bpython api not decrefing.

Also added some features needed to fix a bug in mesh_clean.py (ob.pinShape and ob.activeShape)
2007-05-25 16:43:25 +00:00
a21f8292d9 Bugfix #6735:
Removed the error that showed up when trying to paste a pose onto protected proxy bones. By definition, you shouldn't be able to keyframe/pose protected proxy bones, but nothing obeys that currently.
2007-05-25 11:48:27 +00:00
810867b6d8 'Hack' to fix bug #6718:
The Outliner didn't refresh after adding loading a new image from disk for use as an image texture.
2007-05-25 11:14:58 +00:00
1f3d1b10f0 Fixed following issues:
*if a vertex group was renamed in the outliner, the name was not updated 
correctly in visible buttons window
*certain buttons in Render panel didn't update other buttons windows in 
case their value was changed
*same goes for Logic context of the Buttons Window
*also cleaned up unnecessary code from Logic context and made Timer 
field to work correctly when pressed with left mouse button
2007-05-25 06:08:13 +00:00
0f2ce08a0d BMesh Branch
Got the drawing stuff for editmode to work a little better.  
There is a problem where the transparent overlay for 
non-backbuffered select in solid mode isn't drawing
transparent.  I need to find a way to force opengl vertex
arrays to draw transparent.

Generalized the new opengl vertex array drawing API a
little bit.  Added drawEditVerts/FacePoints to
DerivedMesh.  Note that the opengl vertex array system is
an optional thing that DerivedMeshes can use, the actual
DerivedMesh drawing stuff is still used for drawing.

Also got non-backbuffered vertex select to work. Wahoo!  
Unfortunately the code for bmesh to work with transforms
isn't working, despite being one of the first things I 
converted.
2007-05-24 23:02:01 +00:00
Ken Hughes
617200a01a Python API
==========
Bugfix #6682: some Mesh.Primitive default values didn't match UI values.
2007-05-24 15:00:10 +00:00
f917cb0e75 BMesh Branch
=Drawing Update=
Edges are now drawn in editmode.  Still haven't started
recoding the findnearest stuff yet, so nothing is
selectable.  

Also the derivedmesh backend for bmesh is
being remade every frame for some reason; since it uses
opengl vertex arrays this is actually slower then before.
Need to track down just what is remaking the derivedmesh each
frame :/
2007-05-24 03:21:03 +00:00
c60f0064aa BMesh Branch
=Typo Fix=
Case error in spelling of BLI_GHash.h, should be BLI_ghash.h.
2007-05-24 02:44:57 +00:00
be53487f9e BMesh Branch
=Drawing Updates=

Bmesh editmode now draws solid faces and (non-selectable) vertex points.  Object mode now draws correctly.  There's still some bugs though, especially in the conversion of vertex normals.
2007-05-24 01:08:08 +00:00
390526f508 === Bugfix ===
[ #6690 ] Shift and widget translation cause an uncontrolled move in side or front view

There was a tentative fix for that earlier, but the limit used was too low. This fixes it and ensures sane output.
2007-05-23 23:09:57 +00:00
9bf34ef8b5 Didn't realize that the editmesh*** files in src/ were still there. 2007-05-23 19:09:36 +00:00
0907a0dba5 Bugfix #6739
Vector blur error in Ztransp: sometimes black lines (on edges) appeared,
which didn't get blurred away. Caused by zero-init of speed vectors in
sample buffers. (Zero speed -> no motion).

Error in Blender since vblur was added.
2007-05-23 15:27:34 +00:00
80914f22ae == Action Editor ==
Now Action/IPO-Curve/Constraint Channels draw so that they open downwards. The only noticeable differences are that when expanding/collapsing channels, all the channels above won't get shunted out of the way again. Also, on loading some older files, all the channels may be out of view (TODO: make version patch for this...)
2007-05-23 09:21:32 +00:00
2a63a47a56 == OOPS Editor ==
Hardly anyone uses it, so until now, no-one has noticed that selection is broken. Just a simple variable typo caused bug #6738. Fixed.
2007-05-23 04:42:18 +00:00
Nathan Letwory
f7c3e24bfc * Applying [ #6730 ] Fixing in-Blender displaying of GE bitmap text by Mal Duffin (mal_CanDo) 2007-05-22 23:15:27 +00:00
Nathan Letwory
475d4ce227 * svn+ssh test 2007-05-22 22:20:35 +00:00
41bc6f0c29 Part two of branch creation: add new files 2007-05-22 20:03:24 +00:00
c23e44b40f Creation of BMesh branch. Note: this is NOT usable. It does compile, but the massive derivedmesh/mesh DNA changes have just begun, and wacky things may befall the uninitiated :) .
Current status: Editmesh code is now completely gone.  All references to editmesh functions have either been rewritten or commented out with //EDITBMESHGREP to enable easy grepping of things left to do.

Mesh DNA has been changed to handle ngons with two new structures, MLoop and MPoly (MFace is deprecated).  Old files are converted on load in do_versions(), however this is a little buggy.

Changes to DerivedMesh have also been made; all the MFace functions are still there, but in addition functions for dealing with MPolys and MLoops has been added.

No functionality for bmesh have been made other then the bare basic derivedmesh/conversion stuff, and even those are still incomplete/buggy.
2007-05-22 19:57:11 +00:00
d6cbdabfe1 Bugfix for python Image.save()
[ #6702 ] Image doesn't get saved after painting & packing
IMB_saveiff - (general saving function), does not write a file when the image is packed.
so write a file with writePackedFile for packed files.
2007-05-22 19:40:11 +00:00
Ken Hughes
5d1c012c0d 2007-05-22 17:41:32 +00:00
26e60db6b5 option to limit the size of textures loaded into GL memory, usefull when a scene's models wont fit into GFX memory. 2007-05-22 14:20:18 +00:00
Nathan Letwory
bc2ad537ed * remove very confusing comments. We will *not* 'fase into' MTC_*. 2007-05-22 10:58:30 +00:00
9ac39d2e99 =ID Properties=
The code for preserving ID properties was apparently not
working.  Fixed that by adding a new function,
IDP_ReplaceInGroup, that automatically handles overriding a
property in a group while preserving the property order.

Its odd though that the previous fix I had wasn't
working :/
2007-05-22 04:41:21 +00:00
6b103057e8 adding python icon on torus in toolbox 2007-05-22 03:13:01 +00:00
c4f6ac80df === Bugfix ===
Coverity bugfix (missing NULL check) and ref counting errors. (on module constants, so not really leaking, just not good.)
2007-05-21 19:42:11 +00:00
21bc08a0bb === Bugfix ===
Fix potential problem with Matrix initializer (can't call Matrix_Identity on non square matrices).
2007-05-21 19:41:14 +00:00
b1e7c76e93 === Bugfix ===
coverity bugfix: Dead Code
2007-05-21 18:45:28 +00:00
c702f88e14 old typo in comment 2007-05-21 18:42:47 +00:00
5faddf5703 === Bugfix ===
Fix float error in Transform Contraint with planar constraints when the plane was perpendicular to the viewport. This could cause some weird erratic behavior.
2007-05-21 18:15:24 +00:00
7df1d78a99 renaming to match JMS's names 2007-05-21 16:01:49 +00:00
ae5c665abe updated rvk1_torvk2 from JMS and added GPL headers 2007-05-21 15:26:50 +00:00
e176e471f1 =IDProperty Script GPL Update=
ID Property browser script updated to have a GPL license block.
Heh I can't believe I forgot this. :)
2007-05-20 21:40:57 +00:00
3e8acb4c53 closing bug #6680 - This feature didnt work as advertised.
When setting the filename for export foo_#_bar would not be renamed to foo_00001_bar, It only worked when # what the last char of the name.

removed the text from --help that says this is supported.
2007-05-20 21:30:29 +00:00
1e4057f6fd Bugfix: SSS did not work with panorama render. 2007-05-20 19:01:34 +00:00
3efeff7666 adding GPL headers 2007-05-20 17:30:30 +00:00
fbbc038cb6 Fix provided by Mal:
- 3D Window, textured drawmode shows lighted again for non-textured faces
- Engine: faces show lighted again when 3d windows was Solid draw mode

Example:
http://www.candointeractive.com/blender/BlenderViewport.jpg
2007-05-20 15:55:49 +00:00
8fac5a9aa1 removing test commit comment... 2007-05-20 15:52:29 +00:00
d4cafe5faf Just testing svn... 2007-05-20 15:47:27 +00:00
c81fbce399 I added a duplicate script, not realizing "Python Reference" was refering to "Blender Python API"
removign the other one anyway since it would make URL's including subversions and I dont think we want that.
2007-05-20 12:29:19 +00:00
bd534f8df8 own bad error. calling scene.timeline would crash blender. 2007-05-20 09:02:16 +00:00
02893ff5ae Blenders installs where the scripts dir was not writable could not load the console. This should fix it. 2007-05-20 07:41:21 +00:00