Commit Graph

4296 Commits

Author SHA1 Message Date
daa248ff0c == Sequencer ==
Bugfixes:
- Effect dependencies sometimes went wrong. seq3 was always calculated,
  even if the effect already told the upper layer, that there is an early
  out available...
- On render, only free _all_ buffers, if memory usage is above the memcache
  limit. This made my render times drop from 17 hours to only 4 hours on
  a 2 hour movie.

  Ton: I don't want to start an edit war at this point, but if you really
  need the old behaviour, just use a very low, non-zero memcache limit in the
  preferences. (In most cases, the default of 32 Mb _is_ very low ;-)
2007-02-04 09:18:15 +00:00
a1a7a65b46 == Retopo ==
Partial fix for bug #5766

* Moved the retopo call used during transforms to above the call to clip the transform (for the mirror modifier.) This stops retopo from moving a vertex across the axis.
2007-02-04 00:42:23 +00:00
a55c7cd99e Bugfix #5908
After conversion of Curve to Mesh, modifiers should be removed.
2007-02-03 13:17:05 +00:00
a30b9251a2 Cosmetic tweaks to the 'Armature' editing panel again. 2007-02-02 06:26:10 +00:00
Ken Hughes
ccf72a2e26 Tools
---------------
Bugfix #5898: buffer overrun by sprintf() in v3d_editvertex_buts() caused a
crash.  Changed to snprintf().
2007-02-01 20:25:24 +00:00
785dab5d54 Move the screw button so it lines up with the clockwise button.
(now that clockwise only works for screw)

http://www.cs.umn.edu/~mein/blender/screw.jpg  if your wondering

Kent
2007-02-01 15:56:44 +00:00
5cda9df149 Bugfix #5897
Using multiple levels deep referenced groups (group in group) messed up the
add-group menu in toolbox
2007-02-01 14:14:07 +00:00
8bc234cbff Bugfix for #5896 - Array constant offset not behaving as expected
This is not a bug, but rather a misunderstanding of the relationship between object scaling and the Array modifier's constant offset.

The Array modifier's constant offset is specified in local coordinates. In the supplied blend file, the object is scaled up in the x direction by 2.45, and the offset is a constant 2.5 in the x direction. Thus, the final world space offset is 2.45 * 2.5 = 6.125 units in the object's local x direction, as can be seen in the blend file.

I have updated the tooltips for the Array modifier to indicate that offsets are given in local coordinates. I will investigate providing a "Use World Coordinates" toggle button after release.
2007-02-01 03:34:09 +00:00
53150249e9 ==Sequencer==
Bugfix [ #5886 ] Crash when duplicate audiostream.
Just make duplicate of hddaudio more intelligent and do less ;-)
2007-02-01 00:59:53 +00:00
9eb240282b Bugfix, report from studio Manos;
This tweaks the dependency rules for Scenes/Objects a bit. Here is the
rule:

- Each Scene has own dependency graph, and only solves dependencies for
  objects in the scene

- However, when using multiple linked Scene-sets, the *current* scene is
  allowed to have dependencies to objects in a 'set'.
  This works by first calculating the sets, then the current scene.

Example: the current scene can have lights with a track/location
constraint to a character in a set.
2007-01-31 10:59:39 +00:00
9ce5dd4cc4 == Multires ==
Fixed bug #5815, Multires mesh UVs get lost (or crashes!) when adding additional UV layers

* Switching to Face Select mode adds a UV layer automatically, was missing code there to add the layer to multires as well
* Adding/Deleting a customdata layer on a multires mesh should update the multires data first
2007-01-30 23:07:57 +00:00
3be758d1db == Armature Path-Drawing ==
This adds a little paranoia check for some values used by path drawing
which may be uninitialised in older-files causing an infinite loop.
2007-01-30 21:43:01 +00:00
65f00ae3e0 == Retopo ==
Removed a retopo line that could cause a crash on freeing editmesh.
2007-01-30 21:22:46 +00:00
531dc2d2b6 === Transform Snap ===
Missing distance calculation in Snap Closest when only one element was selected made it not work correctly for rotations.
2007-01-30 16:07:54 +00:00
ff75e7d302 === UV Transform ===
[ #5880 ] Crash on editing UVs

Caused by late check for 3d view in transform snap.
2007-01-30 15:48:09 +00:00
a42c8533aa Bugfix for #5843 - Wave modifier wont run with negative speed
This is mainly a problem with the interface - it's not clear what effect the
"Time sta:" (more correctly, the time offset) value will have when the speed
is negative. I have updated the UI to change the "Time sta:" button to "Time
end:" when the speed is negative.
2007-01-30 11:11:20 +00:00
9c1ae55017 Bugfix:
Calculate Paths for Armatures didn't work if called from the WKEY menu
before doing so from the Armature Visualisations panel. Was caused by
the absence of version-patches for older-files where the settings used for
path calculation were uninitialised.
2007-01-30 01:04:39 +00:00
25d017b338 bugfix #5872
Crash when in sculptmode, add armature, switch to object mode.
2007-01-29 19:26:11 +00:00
1f35fd7929 = Addendum to UVProject's multiple UV handling - "Override Image" button =
* Added an "Override Image" button to the UVProject modifier; this overrides
  faces' currently assigned image with the one given in the modifier panel.
  This provides some of the functionality previously provided by the "Add UVs"
  button - you still need to add a UV layer manually, but you only need to
  change the image in one place.
* Note that the "Override Image" option uses the bit position previously used
  by the "Add UVs" option, so old files which had "Add UVs" enabled will now
  have "Override Image" enabled.
2007-01-29 16:28:11 +00:00
2a47217cba = Updating the UVProject modifier to handle multiple UV layers =
* Removed the "Add UVs" option from the UVProject modifier
* Added a UV layer menu to the UVProject modifier
* Refactored the Displace modifier UV layer menu code to allow the UVProject
  modifier to share it
* Added two CustomData functions to facilitate getting layers by name
2007-01-29 15:10:55 +00:00
2d361fca0d Bugfix #5873
3D texture paint crashed when no Image window was opened... the damn global
variables!
2007-01-29 14:49:15 +00:00
73a0e8c75e == IPO Transform Bugfix ==
When scaling in the IPO-editor, axis-clamping was not respected still
(in order to preserve the old behaviour of flipping over the x/y axis).
However, now there is a mirroring tool for IPO curves, so the old
behaviour is no longer needed.This makes things more consistent.
2007-01-29 05:09:14 +00:00
aa8b917587 == Retopo ==
Added a missing undo push for CKEY in retopo paint.
2007-01-28 21:26:39 +00:00
47d3624439 Fix for bug #5861:
Minimize stretch incorrectly stitched together UVs.
2007-01-28 18:37:12 +00:00
c92fae004a === Transform Snap ===
Replace references to "Gears" in the header by "Grid". This is more consistant with the rest of the UI and even if I like gears better, grid, I think, is what people expect.
2007-01-28 15:41:11 +00:00
d34cd388b8 Changed Displace modifier UV layer selection UI code to use a temporary
variable in the DisplaceModifierData structure, rather than a global variable.
This fixes a bug in layer selection when more than one Displace modifier is
applied to an object.
2007-01-28 14:48:38 +00:00
378a28fee4 == Sequencer ==
Bugfix: when ipo-frame-locking is turned off, make the ipo cursor show up
 at the correct position and set CFRA correctly, if changed within IPO.
 (avoids very annoying snapping...)
2007-01-28 13:43:46 +00:00
d5da8ea1c7 bugfix #5865
IpoWindow: panel properties didn't show the "Visible curves" box values
unless you clicked curve once.
2007-01-28 13:43:22 +00:00
c7718d2bcd - bugfix in Sculpt (irc reported): using a Texture Brush, and then unlink
the texture (in texture buttons) crashed painting. Reason was reading
  a NULL pointer.

- fix for bufix: commit by Ken Hughes accidentally deleted a bugfix
  (yafray render doesn't support bake, and should return)

- tooltip fix
2007-01-28 12:20:07 +00:00
8b157988a0 ==Tooltip Adjustment==
Minor tweaks to a few of the material buttons tooltips.
2007-01-27 18:47:46 +00:00
5d4b81b688 == Retopo ==
Fixed bug #5829, Exiting editmode with TAB key toggles RETOPO

* Moved the retopo_mode setting to ToolSettings.
* Renamed the other retopo_mode to the (more accurate) retopo_paint_tool
2007-01-27 18:11:07 +00:00
3a60699429 == Multires ==
Fixed bug #5820, changing multires in edit mode turns the mesh black

* Added a call to recalc_editnormals when building an editmesh from a multires mesh.
2007-01-27 17:45:23 +00:00
735b426344 Two fixes:
- when rendering a scene, all composite trees of other trees should get
  signalled the render output changed. This only happened with a composite
  active in render.

- the Mix node "A" option only works in Composite, as accidentally visible
  for shader trees.
2007-01-27 10:08:16 +00:00
c7b50435da == Multires ==
* Switching levels in editmode should flush selection changes so that face selection is drawn correctly.
2007-01-26 23:35:37 +00:00
4494b829b0 =Displace modifier fix=
This commit fixes displace modifier to propery support arbitrary uv
layers.  This seemed like a fairly big usability bug,
as displace modifiers would use the active UV layer (and thus could change when
you changed the active layer).  The modifier UI code now uses a menu for browsing
the uv layers, however only the uv layer name is actually stored, so that 
adding/deleting layers won't mess up displace modifiers.  

Whenever a displace modifier has an invalid UV name (for whatever reason) the 
UV name is set to the active layer.  This is checked both in the UI code and 
in the modifier exec code, so all bases are covered. For deleting a layer, this 
required upgrading the layer delete code in the UI to properly preserve the 
active layer, to prevent unwanted behaviour. I hope this is an ok solution.

Brecht, Ben you might want to look over and make sure I didn't break anything.  I don't
think I did, I tested as thouroughly as I could.
2007-01-26 21:06:49 +00:00
Ken Hughes
40d49dec02 Bugfix for render baking: preserve AO and Ray trace settings when doing
Ambient Occlusion, and check that world is enabled.
2007-01-26 20:35:57 +00:00
1dbbbe4077 == Interface ==
* Cleaned up the sculpt and multires palettes a bit to make them work correctly with the Rounded theme.
* Moved the DelLower/DelHigher buttons above the Level slider; necessary for some reason to render the rounded corners correctly.

One error is still visible, the Size slider in the Sculpt palette has an incorrectly-rounded corner below the Airbrush button, no idea why.
2007-01-26 18:52:34 +00:00
064bcdbb31 Bugfix #5827
Preview render in buttons was not refreshed when changes in a material
happened, without preview visible. (like editbuttons, active mat index).

Now on re-entering material buttons, a re-render happens in these cases.
2007-01-26 15:34:32 +00:00
ff78aacec8 =FSAA fix=
This commit gets rid of the #ifdef WIN32 I did for the FSAA code.
However it still manually defines the constant (if it's not already defined)
for FSAA, as I'm not sure which platforms have glext.h and I don't want to risk
breaking platforms before release.

Joe
2007-01-26 14:30:43 +00:00
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
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
8de165ff56 Bugfix #5832
Bake-render crashed when renderer was not "Intern".
2007-01-25 20:48:06 +00:00
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
8c2af0a5d0 Fix for patch provided bt Diego, one NULL check too many! 2007-01-25 14:49:28 +00:00
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
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
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
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
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