Commit Graph

47594 Commits

Author SHA1 Message Date
Campbell Barton
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
Campbell Barton
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
Joseph Eagar
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
Joilnen Leite
6b103057e8 adding python icon on torus in toolbox 2007-05-22 03:13:01 +00:00
Martin Poirier
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
Martin Poirier
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
Martin Poirier
b1e7c76e93 === Bugfix ===
coverity bugfix: Dead Code
2007-05-21 18:45:28 +00:00
Martin Poirier
c702f88e14 old typo in comment 2007-05-21 18:42:47 +00:00
Martin Poirier
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
Campbell Barton
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
Brecht Van Lommel
1e4057f6fd Bugfix: SSS did not work with panorama render. 2007-05-20 19:01:34 +00:00
Ton Roosendaal
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
Alfredo de Greef
8fac5a9aa1 removing test commit comment... 2007-05-20 15:52:29 +00:00
Alfredo de Greef
d4cafe5faf Just testing svn... 2007-05-20 15:47:27 +00:00
Campbell Barton
bd534f8df8 own bad error. calling scene.timeline would crash blender. 2007-05-20 09:02:16 +00:00
Jean-Luc Peurière
c0dcbacd4b post release update of the scons build system for os x powerpc
assume os x 10.4 as defaut
2007-05-19 22:57:28 +00:00
Ken Hughes
4d47e53903 2007-05-19 16:13:20 +00:00
Chris Want
6e9ac0fe97 Disable copying plugins, et al, to the CMake bin directory -- the
.svn directory would get copied and it has some files that are
write protected, which means that the build would fail the second
time you run make. Needs a better solution.
2007-05-18 15:57:40 +00:00
Joshua Leung
42121b6a3d Fixed a few typos in the documentation for Draw module of Python API. 2007-05-18 11:50:04 +00:00
Chris Want
34d7028931 Plumifero's wishlist:
* When duplicating bones that have constraints (edit mode),
duplicate them too with TARGET field updated.

This is code that I wrote a few years ago before the armature
refactor. It is simple code that compiles and seems to work fine,
but should be checked by Ton or somebody else with better knowledge
of the current armature system.

Usage description, (stolen from the first time this code was
committed):

"Duplicating bones in edit mode now also duplicates the constraints
associated with that bone ... if the constraint subtarget bone is
also duplicated the new constraint points to this new bone as it's
subtarget."
2007-05-17 21:28:33 +00:00
Brecht Van Lommel
53b434919b Added highlighting of non-existant names and autocomplete for
specifying the uv layer name in a material.

Also added generic autocomplete_begin/do_name/end functions,
this code was copied five times.
2007-05-17 17:15:22 +00:00
Brecht Van Lommel
33466557fc Disable SSS better for preview rendering, so it does not slow down
other preview renders at all.

Also added a flag to enable/disable SSS per scene. There is no
button for it yet, the Render panel has no space left .. will find
a place for it later.

The subversion number was also increased to enable the flag for
older .blends.
2007-05-17 16:51:09 +00:00
Joshua Leung
3c469b88f5 == Constraints Code ==
Relatively harmless removal of useless code. Also formatted things in a few places.
2007-05-17 06:45:16 +00:00
Matt Ebb
a60f655e25 Added Menu entries for Object Mode Show/Hide hotkeys 2007-05-17 01:18:12 +00:00
Chris Burt
c3355b16a5 This commit sets Python version to 2.5 for Windows/Cygwin/GCC builds. 2007-05-17 01:09:52 +00:00
Joshua Leung
d72d8ed82a == Action Editor ==
Hiding bones in the 3d-view with the (HKEY) now hides the corresponding Action Channels too.
2007-05-17 00:23:24 +00:00
Ben Batt
fc0ee80fc1 Fixed editmode post-modifier normal calculation for the case where there are
only deform modifiers in the stack. This was an old bug: a typo caused quad
face normals to be calculated using the same vertex twice, giving bad normals.
2007-05-16 17:20:02 +00:00
Ben Batt
8bfa253479 Fixed the "Enable modifier during editmode" button for the case when there are
only deform modifiers in the stack. The code that copied the cage mesh to the
final mesh didn't check for vertex coordinates; I have added this check.
2007-05-16 15:19:54 +00:00
Campbell Barton
05dcd05520 Python bugfix reported by reD_Fox1
ob1.shareFrom(ob2) - didnt work with the new type/realtype method of making sure all new objects were emptys until they were linked to data and the realtype is used.
2007-05-16 12:26:17 +00:00
Joshua Leung
26cc8488ea Test-commit/Bugfix #6698:
Wrong hotkey given in for the Remove Doubles entry in the 3d-view toolbox->edit->vertices menu.
2007-05-16 05:03:33 +00:00
Chris Want
70a72d4133 Test commit: Changes to CMake for Python 2.5 under windows
from Eugene.
2007-05-15 21:24:19 +00:00
Ton Roosendaal
7ddc602ebf Second commit, now it should not bother me with passwords, according
to some person... :)
2007-05-14 19:52:21 +00:00
Ton Roosendaal
d90f0b1e16 Testing commit to see how it goes... 2007-05-14 19:50:33 +00:00
Ton Roosendaal
a8a8742f1c Showstoppper... mballs didn't get remade correct after render... it was
showing the orcos (size usally smaller).
2007-05-10 17:27:40 +00:00
Ton Roosendaal
a6b123e198 Part one of 2.44 release commit. 2007-05-10 09:52:44 +00:00
Joshua Leung
3c0348589c Bugfix #6674:
Action Editor: editing of action-channel keys is impossible if shapekeys are present
for that object.

Also, after toggling the 'swimmer' icon in the IPO editor header,on and then off again, then trying to expand/collapse/select/deselect the 'Shape' action channel, Blender would crash.

Not really a showstopper, but still nice to fix. ;-)
2007-05-10 06:51:08 +00:00
Juho Vepsalainen
85b0997d90 Fixed the hotkey of "Hide Selected" found in the menu activated by space. 2007-05-10 05:44:44 +00:00
Brecht Van Lommel
1e31cfed15 Bug reported on irc:
Border select in face select mode was broken.
2007-05-09 21:34:35 +00:00
Ton Roosendaal
f5da767487 bugfix #6672
Object with object-action:
Crash after unlinking an Ipo, and then inserting new key positions in 3d
window.
2007-05-09 16:38:04 +00:00
Brecht Van Lommel
2a94ae8a81 Fix preview rendering for SSS to not show preprocessing pass that
leads to flickering, and a bug that would display parts of the
preview render as black for interrupted preview renders.

(sorry for the late fix, i've triple checked the code ..)
2007-05-09 16:25:58 +00:00
Kent Mein
85cf35f343 another coverity issue.
scriptlinks_pupmenu(ScriptLink *slink) could get passed null and
did not check for it.

Kent
2007-05-09 15:32:33 +00:00
Kent Mein
d6d1334562 Another small cleanup of dead code thanks to coverity.
Kent
2007-05-09 14:57:26 +00:00
Ton Roosendaal
0d51eb6ceb Bugfix #6663 yesterday, error: forgot to put back in if() for freeing data 2007-05-09 14:12:29 +00:00
Ton Roosendaal
c8c8a92ab6 In very rare cases, an offset-bone could not exist, whilst the action
channel does. Then it crashes...

This commit adds a NULL test, but now trying to solve how this case
can happen.
2007-05-09 11:16:32 +00:00
Juho Vepsalainen
f280161709 Bugfix [ #6593 ] Texture panel does not appear as soon as expected
Texture paint mode toggles were missing some redraws.
2007-05-08 19:31:39 +00:00
Ton Roosendaal
e05125b9bd Bugfix #6663
Metaballs, when in editmode, didnt show correct after a render (it was
drawing render resol then).

The code here was confused some... this works, although it will take a
bit more cpu cycles when render resol = display resol. No biggie.
2007-05-08 18:51:40 +00:00
Kent Mein
d50ea1bbe3 another little coverity fix.
unused var doredraw  removed and the call to do a redraw, since
its never called I figured we can remove it and if we need it later
put it back in.  (this is in function winqreadbutspace)

Kent
2007-05-08 16:31:51 +00:00
Kent Mein
2b6813bc0b First fix from coverity, removing one line of dead code.
The if statement above this line makes it so this line will never be
true, so its not needed.

Kent
2007-05-08 16:00:13 +00:00