Commit Graph

47594 Commits

Author SHA1 Message Date
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
Ton Roosendaal
c3c37b2d88 Bugfix 5726
Tests with 8 threads and many parts reveiled that Blender render could
hang. Brecht found a line of code that should move up to prevent this!
2007-01-21 10:24:41 +00:00
Ton Roosendaal
66ee2962ce bugfix #5755
Render: Vector blur didn't work proper for Ztransp (accidentally was
antialising speed, which should not happen).

Also added speed-pass clearing in render, this to elimate the 'tsk tsk'
print in the Vector Blur node. :)
2007-01-21 10:04:50 +00:00
Joshua Leung
1e4bec7a33 == Action Editor Bugfix ==
DeltaX value now displays correctly when grabbing and snap-to-framestep
is on.
2007-01-21 05:11:46 +00:00
Charlie Carley
557360224f Klockwork (http://www.klocwork.com) report; game engine fixes, related to 'Use Blender Materials'
/source/gameengine/Ketsji/BL_Material.cpp;16;18;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;293;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;314;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;341;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;1264;40;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;1194;40;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;916;30;Critical;1;
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp;257;24;Critical;1;
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp;262;24;Critical;1;
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.cpp;195;24;Error;3;
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp;1209;16;Critical;1;
2007-01-21 04:45:44 +00:00
Erwin Coumans
3917b1af5f bugfix for an incompatibility with ipo actuator in play mode, thanks Malachy for the fix. 2007-01-21 00:56:10 +00:00
Brecht Van Lommel
1ac4b1d5c3 Fix for bug #5709:
Join triangle threshold was initialized for wrong subversion.
2007-01-21 00:09:24 +00:00
Brecht Van Lommel
c0b4d42a53 Attempted fix for bug #5584:
Image painting: in Windows the first pressure value can be too high for
some tablets. Now it ignores that first value if it is >= 0.99. I'm not
sure if this is always the case here, so needs further testing.
2007-01-20 15:13:35 +00:00
Andrea Weikert
38375784df [ #4786 ] if space in the Application path name, system() doesn't work on some platforms
commited temporary fix: executable name is quoted for all platforms except Windows now,
nicely wrapped in #ifdefs. Will be doing nice wrapper function BLI_system for system calls in blenlib
after release.
Please test on all platforms!
2007-01-20 08:01:56 +00:00
Ton Roosendaal
4e03e83a53 Bugfix #5664
Report had a very strange crash, which in the end appeared to be using
a filename of 165 chars long. This gave two bugs;

- the readBlog() function failed on that
- even worse: the struct Global still stored it in G.sce with 160 chars!

This is definitely an important issue... and (for the devs reading the
64 bits discussion) really not something allmighty coders are needed for!
:)
2007-01-19 20:33:00 +00:00
Ken Hughes
727ef00b6b Bugfix for #5487 again:
glDrawArrays() also crashing for some line strips, so replaced with
regular glBegin() and glEnd().
2007-01-19 16:20:58 +00:00
Ton Roosendaal
f75c784434 Bugfix #5685
EditMode text objects: using different text Width didn't draw anything.
2007-01-19 14:25:56 +00:00
Ton Roosendaal
2022c41d6a Bugfix #5750
<sob>the 'time cursor' for bake-render has to go... it is being called
inside of a thread (even whilst thread is mutex locked), but that's not
supported in X11. It might be even instable in OSX/Windows even...

Only way to bring it back is to have the main loop (not in thread) update
the time cursor like each second. Would still mean to add a counter var...
will think it over. First want to have confirmed this is stable.
2007-01-19 13:32:43 +00:00
Ton Roosendaal
d2fd630e0a Bugfix #5748
Composite: when using multiple scene render-nodes, and one of these
scenes got re-rendered (by making scene active temporary), the composite
cache should free the used buffers.

Now, on each render, all scenes in a Blender project are being checked.
2007-01-19 12:43:02 +00:00
Joseph Eagar
048c7879fa =Forward cycling fix=
Commit of patch #5385, to make forward cycling more
user-controllable.  Previously it only worked on one axis,
which was auto-detected from movement.  This allows forward
cycling to work in more situations, such as stair
stepping.
2007-01-19 10:05:17 +00:00
Joshua Leung
6dd01e80c9 This commit fixes the compiler warning from a previous commit (to move visual
keyframing backend stuff to a better place in code).
2007-01-19 07:32:40 +00:00
Nathan Letwory
6b0e6ccd85 * moved the 64bit checking code _after_ the int audio stuff, so msvc compiles happily
again.
2007-01-19 05:23:58 +00:00
Erwin Coumans
00e956477e fix crash in constraint conversion, fix reference frame transformations for generic 6dof constraint 2007-01-19 03:14:51 +00:00
Nicholas Bishop
a78683f08e Partial fix for bug #5749, Modifier redraw problems. The mesh wasn't being flushed properly to show updates when auto creating faces; also added missing undo push and view refresh. 2007-01-19 01:32:47 +00:00
Ton Roosendaal
b8f47f9204 Small fix to prevent people to compile 64 bits blenders, without knowing
it might be harmful.

(It will print warning in console and exits Blender.)
2007-01-18 20:57:08 +00:00
Ton Roosendaal
719964ea8e Bugfix, irc reported
Node shaders, Texture Node, without input connected it did not default to
use "orco" anymore. Was caused by commits that cleaned up render code.
2007-01-18 20:06:48 +00:00
Peter Schlaile
a1cb195343 == Sequencer ==
Fixes bug #5494 reported by Wiebe (halfgaar):
After duplicate, last_seq wasn't correctly updated.
2007-01-18 18:47:06 +00:00
Campbell Barton
6b67ba00bb IDProp, removed reference to self - other EPYDocs dont use this and its confusing.
Differentiated properties and "game properties" in Object docs.

Also the new NLA/Pose key docs were added in the property class instead of Object, tsk tsk.
2007-01-18 18:09:28 +00:00
Ton Roosendaal
1ff93c41f9 Bugfix #5394
Option "Apply Modifier" did not work for meshes with shape keys. Even made
a very bad mess of the Mesh. Added warning in code and prevented apply.
2007-01-18 16:14:37 +00:00
Kent Mein
271b97282f very minnor cleanup of spacing, and modify upperbounds on plugin version #
so 5 is acceptable.  (So texture plugins work when compiled against cvs)

Kent
2007-01-18 15:39:59 +00:00
Ton Roosendaal
634fe56fbe Bugfix #5316
Order of freeing of Blender database is important, but the past year(s)
new database entries were added in wrong places, so freeing could go in
wrong order. In this case it was Groups being freed before Objects. But
there are more errors...

It only shows really in Windows, since it's the OS that is sensitive for
writing data in freed memory. For other OSes it doesn't make Blender more
stable, only mem-frees happened, no mem-allocs.
2007-01-18 15:23:28 +00:00
Ton Roosendaal
53aabe99f8 Part 2 of bugfix #5741
Modifiers; on read file it sets user counter of linked ID data, except
for Object IDs.
2007-01-18 10:59:23 +00:00