Commit Graph

11211 Commits

Author SHA1 Message Date
Nicholas Bishop
9efe5e5b23 Fixed bug #7981, Crash with multires
Caused by incorrect handling of multires with orco mapping
2007-12-23 03:03:54 +00:00
Campbell Barton
6f730601af Text draw assumed curarea->spacedata.first was always a text space - which in some cases is not correct.
This fixes a crash where python changing screens then raising an error would cause a crash.
2007-12-22 17:16:06 +00:00
Geoffrey Bantle
a000473d9d -> Alpha Clip Tweak
Apparently on some cards/drivers setting alpha clip to 1.0 will make every 
pixel get clipped out regardless of its associated alpha value being 1.0. 
Added a fix for this.
2007-12-22 12:05:27 +00:00
Campbell Barton
849b929c25 small cleanup for sequencer drawing,
text isn't drawn for strips when too narrow and some improvements to the strip draw loop.
2007-12-22 10:30:50 +00:00
Joshua Leung
8eb44b8fcc Bugfix #7854: Adding Meta/Text Object causes Blender to go into EditMode (setting disabled)
This was caused by a few missing checks for this setting in the appropriate places.
2007-12-22 03:47:19 +00:00
Brecht Van Lommel
276e056912 Bugfix for strand simplification, without random distribution enabled.
Bugfix (hopefully) for missing strands on render bug, probably related
to preview render.
2007-12-21 10:57:02 +00:00
Campbell Barton
3d24160231 -m64 somehow made opengl headers have conflicting values when compiling. 2007-12-21 09:30:37 +00:00
Martin Poirier
1a475f0dfc == Transform feature test ==
Related to bug [#7792] ("Around Selection" user preference doesn't work for linked objects), this commit makes Linked objects be considered in Transform.

This has a couple of effects:
Linked objects are used to calculate the center of transformation and such but are skipped during the actual transformation.
Linked objects can be used as orbiting targets (see previously mentionned bug).

The offshot is that selecting a linked object and hitting G doesn't cancel immediately as it did before (this could eventually be worked around, but I don't think it's that much of a problem. Disagreeing people should express themselves).
2007-12-21 01:53:55 +00:00
Kent Mein
6135f97105 Need to propigate -m64 flags to compile verse.
Kent
2007-12-20 19:39:21 +00:00
Nicholas Bishop
801c0799c1 == Sculpt Mode ==
Applying Stephan Kassemeyer's patch (#6750) to add a curve modifier for sculpting.

A few changes from the patch:
* The default curve is closer to the old behavior
* Fixed loading files already saved in sculpt mode
* Changed the interface; split the brush texture controls off into a third sculpt tab, and put the curve (and curve reset) into the Brush tab.
2007-12-20 19:07:47 +00:00
Martin Poirier
1d8fdff909 Reset GL lights are reloading defaults with Ctrl-X.
GL Lights defaults are read back from the file, they just weren't applied until the next recalc call.
2007-12-20 18:41:11 +00:00
Nathan Letwory
381e8b16b4 A little christmas present for the lazy coders.
In your user-config.py you can now set BF_FANCY='false' and enjoy the... lack of colors
2007-12-20 17:52:57 +00:00
Brecht Van Lommel
c805d35c40 Bugfix for strand simplification commit, made child particles
from particles crash.
2007-12-20 17:08:17 +00:00
Brecht Van Lommel
26b0261a53 Particle Edit Mode
==================

- Added a Remove Doubles tool, to remove two particles with the
  same root position.
2007-12-20 17:04:10 +00:00
Brecht Van Lommel
0f2b2e3c60 Strand Render Simplification
============================

- Strand render now has options to remove child strands as
  the object's faces becomes smaller, in the Simplification
  particle panel.
- "Reference Size" is the approximate size of the object on
  screen, after which simplification starts.
- "Rate" is how fast strands are removed.
- "Transition" is the percentage of strands being faded out as
  they are removed.

- Another "Viewport" option removes strands on faces that are
  outside of the viewport. "Rate" again controls how fast these
  are removed.

- Strand render in Blender Units now has an adjustable minimum
  width. Below this minimum width, strands start fading out
  instead of getting smaller.
2007-12-20 16:35:27 +00:00
Campbell Barton
2e48a4af57 change default solaris gcc args, use -m64 for 64bit arch, use -O2 rather then -O1 2007-12-20 16:33:45 +00:00
Campbell Barton
846e4027ce hopefully fix compiling on win32 2007-12-20 12:37:15 +00:00
Campbell Barton
a637aca44a make relative paths wasnt working, also disallowed it when the blend file isnt saved 2007-12-20 10:52:56 +00:00
Campbell Barton
9b89abaa8b BLI_makestringcode dosnt need the first value to be a copy of G.sce since its a "const char"
Removed own script release/scripts/image_find_paths.py since last commit replaced its functionality.
2007-12-20 10:38:01 +00:00
Campbell Barton
5925fe36e0 Render-farm and file utils for dealing with external data.
Useful to use before sending blend files to the renderfarm.

* Make all Paths Relative - makes any absolute paths relative.
* Report Missing Files - creates a textblock listing all missing files.
* Find Missing Files - searches a directory recursively for filenames that dont exist at their current path.

Added a path looper type and functions that currently loop on image, sound, font and external library paths.
2007-12-20 10:27:13 +00:00
Joshua Leung
0a682cb50f == Action Editor - Show Hidden Channels ==
This option (found in the View menu) shows all Action Channels, regardless of whether the data they represent is visible or not. 
It's better than having to have multiple pinned Action Editors open to be able to move all keyframes of all bones at once (when blocking for example).


Also, fixed some compile errors caused by previous commit...
2007-12-19 23:29:42 +00:00
Peter Schlaile
2a43932a74 == Imbuf ==
The TIFF reader did error handling with assert which is a pretty bad
idea (tm).

This fixes the assert-crash, that the TIFF reader triggers, if one tries
to open a RAW-DV file within the compositor. (File extension is only
two characters long, which is enough for an assert... EVEN IF IT ISN'T
A TIFF FILE, WE ARE GOING TO OPEN. GRMBL)

Removed all other assertions and added proper error handling.
(using STDERR, where it belongs.)
2007-12-19 23:14:14 +00:00
Joshua Leung
361d23224c == Action Editor - Copy/Paste ==
Now the Copy/Paste functionality stores more info about where keyframes came from. This allows users to copy full poses in the Action Editor and paste them in another action. 

Peach request/bugfix for William.
2007-12-19 22:37:38 +00:00
Ken Hughes
b8ca87a0ba Rendering
--------
Bugfix #4863: AVI jpg would crash on really small images (less than 16x16).
Change it to pop up an error dialog and abort.
2007-12-19 18:17:56 +00:00
Brecht Van Lommel
39a99b1b05 Bugfix: prevention of redraw of the 3d view or other windows while
rendering to the image editor missed one case, could result in
modifiers and particles being evaluated with G.rendering == 1 but
still showing in the viewport.
2007-12-19 13:11:54 +00:00
Brecht Van Lommel
42f80b3037 Bugfix for hinge bone transform for multiple selected bones: now
only transforms the children too if they are connected, otherwise
they get transformed twice.
2007-12-19 12:12:38 +00:00
Joshua Leung
da22572e4c == Action Editor - Long Keyframes ==
Now Long-Keyframes in the Action Editor (yellow/pink strips between keyframes) take into account whether the keyframe handles which help control the interpolation between the two keyframes stay at the same value as the keyframes do. 
This way, long keyframes are not drawn when the keys have the same value, but there's still movement between them.
2007-12-19 10:52:26 +00:00
Joshua Leung
bbc7894dd8 == Action Editor - Pinned Actions Bugfix ==
When using a pinned action, "Add New" now makes a new action. This new action is only assigned to the current Action Editor (i.e. not to any active object, as one might not exist, or might not be the object that the action is related to).
2007-12-19 10:03:54 +00:00
Joshua Leung
ef4fa972ba Changed the default hotkeys for playing animations to be more useful IMO (ported from AnimSys branch):
* Alt-A now only plays the animation in the active space, if that space is a 3D-view. Otherwise, it plays the animation in all spaces. The old behaviour simply didn't make sense for animation editors, where you'd simply see the current-frame marker moving...

* Alt-Shift-A now plays the animation in all spaces regardless of whether they are active (including 3d-views)
2007-12-19 08:48:41 +00:00
Campbell Barton
b3ff38cacd Problem with OBJ import found by Mark Ivey - would not import an obj if all verts were int values. 2007-12-19 07:44:37 +00:00
Diego Borghetti
0b66838f40 Add support for stampinfo to the JPEG format.
This is the review of the patch:
	[#5485] Invisibly stamp render information into jpg and png files.
		by Rob Hausauer (paprmh)

NOTE: I split this patch in 3 part:
	1) jpeg support
	2) python api
	3) sequence plugin

This is the first part, hope finish with the other two tomorrow night.
2007-12-19 05:37:57 +00:00
Nicholas Bishop
592ed2c812 Fixed bug #7960, Sculpt Mode: Crash after Scaling brush to 1 ("Tile" mode)
Division by zero fix
2007-12-18 23:27:26 +00:00
Nicholas Bishop
5518aaaace Fixed bug #6711, Retopo problem when maximizing 3d view and still painting
Caused by some incorrect usage of the current v3d during updates
2007-12-18 21:56:17 +00:00
Brecht Van Lommel
84b58f8653 Particles
=========

- The render and realtime button for the particle system modifier
  and the enabled button for particles now work seperate again,
  made a bad design decision to tie them together. Now with only
  the render button and not realtime enabled it renders.
- Fix for bug #7948: particle mode crash while constraining axis.
- Fix for bug #7945: crash loading effector groups from an old file.
- Fix for bug #7942: crash for reactor particles emitting from particles.
2007-12-18 16:55:09 +00:00
Brecht Van Lommel
f4e1c89b20 Bugfix: the transform of a particle system in a dupli-group was wrong. 2007-12-17 21:19:17 +00:00
Brecht Van Lommel
25a434fd25 Threaded Shadowbuffers Creation
===============================

- One shadowbuffer per thread.
- Added more break tests in shadow buffer code.
- Removed R.clipcrop global, solution is not nice yet, but at
  least threadsafe.
- Fixed bug in strand render shadow buffer code.
2007-12-17 21:04:22 +00:00
Martin Poirier
5dfef1ae35 Reverting to 2_2x BPY
I was careful in selectively rolling back revisions, but if you've committed changes unrelated to BPY mixed with BPY changes, I might have reverted those too, so please double check.
2007-12-17 20:21:06 +00:00
Brecht Van Lommel
293c91c305 Bugfix: with a lot of child particles (1500 per parent), some faces
would get no particles at all. Issue turns out to be precision of
floats for incrementing a number between 0 and 1, now uses doubles..
2007-12-17 16:25:15 +00:00
Brecht Van Lommel
d4ee29f70a Bugfix: with particle distribution based on orco's, there was no
correction for them being 'squashed' to the bounding box of the
object, gave weird artifacts with child particle distribution.
2007-12-17 15:32:27 +00:00
Brecht Van Lommel
bb6640a63c Shift+O subdivision switching now also allows to switch
particle systems on/off if they exist.
2007-12-17 12:54:39 +00:00
Brecht Van Lommel
f33f7ed62a Bugfix: memory leak with multi-modifier, if the modifier
using the previous coordinates was disabled.
2007-12-17 11:47:24 +00:00
Campbell Barton
a4dc7c6676 rename WITH_PYAPI_V24X to WITH_BPYAPI_V24X (because its blender's api version number not pythons), made 24x api use its own armature weakref list since pyobject types are different. 2007-12-17 11:32:52 +00:00
Brecht Van Lommel
b2a7619fe8 Bugfix: particle add brush in perspective mode would sometimes
not add particles, view ray was wrong.
2007-12-17 11:20:51 +00:00
Joshua Leung
317ad91349 == Fill Bones - Bugfixes ==
* Some joints were identified multiple times, which caused a "too many joints" error when only 2 joints were selected
* When no joints were selected, "too many joints" error was displayed. This has been changed to "no joints selected"
* Fixed a memory leak that occurred when "too many joints selected"
2007-12-17 10:34:49 +00:00
Joshua Leung
793d7b1eb9 More BPyAPI compiling fixes again.
* Added missing stubs so that blenderplayer can be linked.
2007-12-17 08:32:14 +00:00
Joshua Leung
de073e74d1 Bugfix #7918: Particles (svn) Crashing when adding particles in EditMode
This commit should fix the error. dm was used before being check if it was NULL.
2007-12-17 06:32:53 +00:00
Joshua Leung
ca689313d2 More BPyApi (New/2_5x) compiling fixes for mingw.
* Mostly fixed a few more of the tp_base errors, in the manner that Ken did...
* There's still a weird warning in draw.c about some function being used but not defined
* I've included the source splitting hack here too, as I was getting problems getting it to link the files...
2007-12-17 06:12:01 +00:00
Nicholas Bishop
efb2d5fc97 == Sculpt Mode ==
Improved some memory allocation; it doesn't actually use less memory now, just avoids reallocating the same block of memory over and over again.
2007-12-17 04:52:46 +00:00
Nicholas Bishop
bda2c40763 == Sculpt Mode ==
Minor refactoring of the overgrown sculpt() function.
2007-12-17 04:10:38 +00:00
Nicholas Bishop
4431e7d441 Applied Ian Calvert's patch (#7801) to add a "rake" setting to sculpt mode; when used with a 2D brush texture, the texture is automatically rotated to follow the direction of the brush stroke. 2007-12-17 03:21:25 +00:00