Commit Graph

7720 Commits

Author SHA1 Message Date
Chris Burt
c1bf780dd7 joeedh (Joe Eagar) found a problem with blur node where image offsets
from translate node (and others I assume) were not preserved. I commit
because his node_composite.c is tainted with pynode stuff. Thanks Joe!
2007-01-26 00:24:49 +00:00
Joseph Eagar
61c8471ebd =FSAA fix=
This commit fixes problems with FSAA (full-screen video card antialiasing) with selection.
It turns off FSAA for the backbuffered select drawing function.

Since opengl's extension system is incomphrehensible to me (at least not without committing glew), I've
basically done a little hack that detects if the value we need for glDisable (MULTISAMPLE_ARB) is defined,
and if not defines it.  Also, this commit only works on windows, because glx sadly seems to not support
arb_multisample at all, and in all likelihood neither does osx.

Joe
2007-01-25 22:47:47 +00:00
Ton Roosendaal
497b028a33 Two fixes:
- Previous fix (commit today) for outliner-selecting and mode disabling
  forgot to do this for texture paint.

- outliner: theme color drawing for background was using char with overflow
  possibility.
2007-01-25 21:43:49 +00:00
Ton Roosendaal
8de165ff56 Bugfix #5832
Bake-render crashed when renderer was not "Intern".
2007-01-25 20:48:06 +00:00
Ken Hughes
148a74988e Python API
----------
Replacing locally-declared function prototype with included one.
2007-01-25 19:31:39 +00:00
Ton Roosendaal
13ac854e62 Bugfix #5796
Selecting objects using Outliner should also end modes, especially when not
provided (like sculpt mode on lamps).
2007-01-25 16:54:59 +00:00
Kent Mein
6446c23447 Needed an extra header to find offsetof
Kent
2007-01-25 16:21:11 +00:00
Joseph Gilbert
ea8189389c Bug fix for:
[ #5000 ] Changin EditMode in Script wrecks memory

Armatures create weakreferences in __main__.__dict__.  When Window.Editmode is called, the weaklist it iterated over and armatures are updated.
2007-01-25 15:19:28 +00:00
Ton Roosendaal
8c2af0a5d0 Fix for patch provided bt Diego, one NULL check too many! 2007-01-25 14:49:28 +00:00
Kent Mein
d7de954b1e A couple of null checkes needed, patch provided by Diego Borghetti of
Plumiferos

patch tracker:
https://projects.blender.org/tracker/index.php?func=detail&aid=5825&group_id=9&atid=127

Kent
2007-01-25 14:02:51 +00:00
Ton Roosendaal
d473b4b17d Plumiferos-reported Proxy bug:
Appending a scene (i.e. "make local") didn't set the correct library
tag in linked proxy. That caused file saving to ignore the proxy object.
2007-01-25 11:59:29 +00:00
Ton Roosendaal
84b8e5b97b IRC reported bug: sometimes menu entries showed a name like "%l", caused
by imporper handling of separators in menus.
2007-01-24 20:51:33 +00:00
Ton Roosendaal
18fc6ca762 Small tweak in clipping code for irregular shadow buffers 2007-01-24 16:10:37 +00:00
Ton Roosendaal
06826d27d4 Bugfix #5818
OpenEXR MultiLayer: line order DECREASING_Y (openexr spec) crashes newer
openexr libs in windows... ???
Removed it, since tests reveiled the line order is still bottom-top
2007-01-24 15:03:20 +00:00
Ton Roosendaal
4175460d85 Bugfix #5816
Render pipeline: setting option "Single layer render" and having the active
layer disabled, crashed blender. It's a non-option anyway, so on a single
layer render, that layer is enabled by default now.
2007-01-24 09:13:40 +00:00
Nathan Letwory
bb0dc4ffc9 * remove HAVE_CONFIG_H stuffy. Like... what? 2007-01-24 05:06:32 +00:00
Nathan Letwory
1d2a1da763 * add proper header for chdir(). 2007-01-24 05:04:48 +00:00
Nathan Letwory
35bb9dff1d * remove warning about add_only_object 2007-01-24 04:44:49 +00:00
Matt Ebb
6b179bc2e0 Simple fix for [ #5808 ] Z Combine node accepts only one Z output 2007-01-24 02:37:35 +00:00
Nicholas Bishop
28e049cb3e == Multires ==
Fixed bug #5799, Multires mesh modifications get reset by rendering

This bug can cause some nasty data loss (was introduces with my commit for using orco with multires.) Fixed by making sure to do multires_update_levels before applying modifiers.
2007-01-24 01:34:05 +00:00
Andrea Weikert
20940c562d === BUGFIX ===
[ #5802 ] Blender crash when trying "Append or Link" with long directory names
- was copying bytes past the end of allocated string
2007-01-23 20:41:43 +00:00
Chris Want
2cd4fca2ef I need to use the 64-bit Linux blender, but I don't want to accidentally
commit creator.c, so if this file is compiled and the macro YESIAMSTUPID
is defined, the executable will run, with a mean warning printed to stdout.
Enable in cmake by setting YESIAMSTUPID to On, or with make by putting
"export NAN_YESIAMSTUPID=true" in user-def.mk.
2007-01-23 20:08:23 +00:00
Campbell Barton
702defaa81 use add_only_object to add a new object with defailts. 2007-01-23 16:51:14 +00:00
Martin Poirier
5ab2f9f51d === Transform ===
Make manipulator compatible with snapping. At first, I thought this would have been a bad idea, but after talking to some people, it seem more confusing than not to have it act differently, so I'm bringing it in line.
2007-01-23 15:39:35 +00:00
Jiri Hnidek
46d7b91be0 == Verse Bug Fix ==
- several checks for NULL pointer
2007-01-23 14:19:28 +00:00
Charlie Carley
56a4f529fd Two errors caused by previous commit;
One related to extension handling on Linux, the other is a fix for compiling with Irix and STL
2007-01-23 13:25:20 +00:00
Ton Roosendaal
39d1d30350 Bugfix #5786
Shaded drawmode, objects with negative scale, did not draw correct.
Error already since 2.37 (commit of may 2005)
2007-01-23 10:03:45 +00:00
Matt Ebb
43b390c936 Fix for [ #5785 ] standard bezier curve resolution doesn't show correctly in 3d
view: Just made the initial curve resolution consistent between curve parts'
resolution and curve object's resolution.
2007-01-22 23:11:18 +00:00
Ken Hughes
42ef81d88b Python API
----------
Bugfix #3233: throw an IOError exception in Library.Open() if the specified
library file cannot be opened.

This had been changed to a "feature request" but should have been a bug, even
though it worked as documented (or rather, the documentation described what
the function did).
2007-01-22 22:59:34 +00:00
Matt Ebb
5dd1a39288 == Interface ==
Added new icons by 'jendrzych' for sculpt mode and transform snapping. I'll be
doing a lot more on this in the next release cycle, but I'm bringing these icons
over now since they're new features and we don't really have any icons for them
at the present.
2007-01-22 22:26:03 +00:00
Kent Mein
c778c7f286 Paprmh's fix for the blur plugin.
Kent
2007-01-22 17:43:36 +00:00
Ken Hughes
f80ff6c7da Python API
----------
Fix minor typo in Mesh API docs.
2007-01-22 16:13:01 +00:00
Ton Roosendaal
a0cd868f14 Bugfix #5784
Buttons: Missing linked-library lock reset in code could invoke error menu

Bugfix #5770

Renamed option "Clear Pose" to "Clear User Transform" to indicate that this
differs from rest-pose. This option clears all Pose channel transforms, but
leaves Action values in pose unchanged. Means that when you do this, an
'insert key' won't change the animation.

Own fix:

Missing test for NULL pointer could crash Image Properties panel for linked
Image data.
2007-01-22 12:21:41 +00:00
Campbell Barton
a03c8ba8a0 creating new objects from
ob = scn.objects.new(arm_data)
didnt work.

Also added docs to Pose - that make an armature, add an action and add pose keyframes
2007-01-22 11:26:55 +00:00
Nathan Letwory
22eeaadab7 * move two expressions after declarations in their blocks. Compiles again with MSVC.
GCC users should always check this. No actions before any declarations.
2007-01-22 09:24:52 +00:00
Nicholas Bishop
d58cc7b9e6 == Multires ==
Partial fix for bug #5771, Multires tool deletes crease flags on edges

* Modified the edge flags code to support all of the edge flags (not just seams.)
* Added a new array to the Multires struct to store creases.
* For Mark Sharp, Clear Sharp, and Crease, displays an error if applied to a multires mesh not on level 1.
2007-01-22 08:34:53 +00:00
Alfredo de Greef
cbbd736a9d bug #5772, now whenever the 'no zbuffer' option is enabled (which shouldn't
have been in this particular case anyway), the blur radius will automatically
be limited to half the width or height of the image.

Nothing to do with this bug, but also now skips image region outside
borders when border rendering is enabled.
2007-01-22 06:08:19 +00:00
Ken Hughes
1ff94bec38 Bugfix: imb_savepng() didn't deallocate memory under some error conditions. 2007-01-22 05:07:16 +00:00
Brecht Van Lommel
da84ec90ae Fix for bug #5770:
"Clear Pose" in the Pose menu acted as "Clear Position", had wrong
event number.
2007-01-22 04:30:22 +00:00
Campbell Barton
33e8d4b3e2 Made scene.currentFrame(val) call scene_update_for_newframe if the scene being modified was G.scene
Before this, calling scene.currentFrame(val) would not work to update object displists where Blender.Set('curframe', val) did work.
Also used less python BuildValue calls.
2007-01-22 03:59:52 +00:00
Brecht Van Lommel
9ba6bd556f Fix for bug #5778:
Crash entering faceselect mode in shaded mode.

The cause here is the new system that only preserves data through the
modifier stack as needed. The DerivedMesh and shaded colors could get
freed while still being used elsewhere.
2007-01-22 03:57:41 +00:00
Nicholas Bishop
9692614bd8 == Multires ==
Fixed part 2 of bug #5749, Modifier redraw problems?

* Added an object flush after changing the Edge level on a multires mesh so the edges update when a Subsurf modifier is active.
  Note that "Optimal Draw" must be turned on in the Subsurf options, otherwise it draws all edges.
2007-01-22 01:33:18 +00:00
Nicholas Bishop
c82c2419e2 == Retopo ==
Fixed bug #5774, retopo - when using retopoall should give visual hint of what viewport is used for retopo

* Added a call to select_area so that clicking Retopo All will offer the user a choice of what viewport to use.
2007-01-22 01:17:17 +00:00
Nicholas Bishop
26e787dc9f == Retopo ==
Fixed bug #5773, retopo - if in wireframe mode should give an error/warning

* Show error message for Retopo All button if view is in wireframe mode
* When toggling view shading, update view depth data if shading isn't set to wireframe
2007-01-22 00:48:53 +00:00
Nicholas Bishop
fef73f2b92 == Retopo ==
Fixed bug #5776, retopo - Retopo doesn't work with bezier curves

* Added check for 2D curves, since those obviously can't be wrapped onto a 3D surface
* Added check for bezier curves, those get processed in the same way as other curves now
* Added an object flush so that curves get redrawn properly after "Retopo All" is used
* Added retopo paint tooltip from ideasman
2007-01-22 00:30:00 +00:00
Campbell Barton
25372193f5 Looking to see why SGI wont compile this.
fixed some getsetattr args that wernt cast to (void *)
this is now consistant with Object.c - but Im not sure why SGI has trouble.
2007-01-22 00:04:13 +00:00
Nicholas Bishop
a9cd5b808c = Multires =
Fixed bug #5756, Rendering artifacts when MRM is not set to maximum

Several changes were made:
* Added function multires_level_n to get the nth level from a multires mesh
* Removed the changes I made some time ago to init_render_mesh for multires meshes. Previously it was making a full copy of the mesh object in order to be able to apply deformations to the Pin level and propagate them to the Render level.
* Added two functions to DerivedMesh.c, multires_render_pin and multires_render_final. These two functions work together in the mesh_create_derived_*_render functions to apply all modifiers to the Pin level, then create the DerivedMesh from the Render level, and lastly restore the mesh to its original (undeformed) state.
* Added a check in multires_del_lower and multires_del_higher to ensure that level indices are properly clipped to the actual range of available levels.
2007-01-21 23:46:00 +00:00
Joseph Eagar
a38c82c614 =Fesh FKEY fix=
FKEY wasn't calling recalc_editnormals(); this could result in
bad vert normals when adding new faces.
2007-01-21 16:44:49 +00:00
Brecht Van Lommel
ca56c87312 Addition to fix for bug #5709:
Needed to move the check one subversion further, because files with the
current subversion could already be saved with the wrong value.
2007-01-21 16:08:34 +00:00
Ton Roosendaal
abdc138acc Bugfix #5734
Inserting keys (using Ikey in 3d window) could crash if you have objects
selected, but no active.
2007-01-21 13:03:46 +00:00