Commit Graph

9715 Commits

Author SHA1 Message Date
Campbell Barton
eb9375fb56 Fix for indirectly linked libs being converted into direct linked libs. (tried to fix this before but didn't work).
fix_relpaths_library() needs to be called after loading libraries but not during recursive library load.
2008-02-02 11:19:34 +00:00
Nicholas Bishop
35ee34ea67 == Sculpt ==
Fix bug with layer brush + anchored.
2008-02-02 04:38:40 +00:00
Campbell Barton
fdab7b08f1 remoed testing line 2008-02-02 04:10:31 +00:00
Campbell Barton
655ca9d9ae makefile was not adding openexr, so py api never enabled setting openexr image type when using make. 2008-02-02 03:23:36 +00:00
Jens Ole Wund
d09fe9d228 users feature request
-- material memory
2008-02-01 23:20:29 +00:00
Nicholas Bishop
9d9ba57038 == Sculpt ==
Added a new brush option, "Anchored". When enabled, the brush doesn't move with the mouse, but rather stays in it's initial location and grows larger or smaller to follow the mouse. Good for brushing alphas on to the mesh. (Note that this option isn't available for the grab brush, and ignores the smooth stroke option.)
2008-02-01 19:45:11 +00:00
Brecht Van Lommel
3e98fb0f38 - For particle path visualization, set the default number of steps
lower to save memory.
2008-02-01 12:47:20 +00:00
Brecht Van Lommel
1879af7d5c - Small approximate AO optimization for falloff, saves some percentages
render time.
2008-02-01 12:18:45 +00:00
Brecht Van Lommel
baf7be9e46 Memory usage debugging: now with the -d debug option enabled, at the end
of rendering it prints memory usage for images and all memory blocks.
2008-02-01 12:14:15 +00:00
Joshua Leung
f971304158 Patch #8177: Timeline Performance Patch
Patch by: Adriano Macchietto (macchiea)

This patch optimises the way keyframes are drawn in the Timeline, so that it is more responsive when working with heaps of keyframes (i.e. motion-capture data).

Detailed Description of Patch (from author):
* No longer uses a list to store the keys before drawing. Uses
less memory.
* Culls the drawing of keyframes outside of the visible window.
Good for dealing with long mocap tracks.
* Performs a check to avoid redrawing a line over a line which
has already been drawn to the same pixels. This speeds up the
scenario when you have many keyframes and are zoomed out.
* Batches the draws into one glBegin/glEnd block.

This is all done on a per IpoCurve basis.
2008-02-01 10:23:40 +00:00
Nicholas Bishop
2aa1857020 == Sculpt ==
Added bilinear filtering to sculpt brushes when accessing textures.
2008-01-31 23:22:57 +00:00
Jens Ole Wund
2fc05a1f38 --bug fix (own collection)
face collision did overreact on dagger edges
2008-01-31 23:00:08 +00:00
Campbell Barton
c931ceeaf7 last commit worked in test case but not in real world :/ - revert and will look further into it. 2008-01-31 22:53:31 +00:00
Joshua Leung
240148f363 Action Editor Bugs/Regressions:
* Insert Key and Column Select should be working again
* Last channel in group's keyframes now appear in summary too
2008-01-31 22:47:03 +00:00
Campbell Barton
37f7826ee1 Fix for indirectly linked libraries.
When a.blend -> //../c.blend -> //d.blend
Blender would see d.blend as //d.blend which is wrong since that is relative to c.blend
This works, except when you make an indirectly linked group into a directly linked group. and then the incorrect path was saved into the blend file and the data not load up again (without copying it there or hex editing the path)

This loop makes all lib files relative to the blend you have open.
2008-01-31 21:19:40 +00:00
Nicholas Bishop
4eeb7bd183 == Sculpt ==
Switched point projection used in brush texturing to floating point rather than integer; fixes some ugly artifacts in texture application.
2008-01-31 18:32:33 +00:00
Ton Roosendaal
16ae726f8c More logging prints while preparing scenes in background render.
Uses a timer, so nothing gets printed more than once a second.
2008-01-31 18:03:46 +00:00
Brecht Van Lommel
30b0e926a2 - Bugfix in non-osa pass adding, for example AO got too high values.
Now made it work more like the osa case, easier to verify it works
  correct then.
2008-01-31 16:32:15 +00:00
Ton Roosendaal
90f8fb733b Fix: render could crash when you enable 'do composite' without having
nodes in scene.

Feature: SHIFT+R in compositor reloads all full sample buffers, composites
and merges with filter. (ALso in Node menu).
2008-01-31 15:35:24 +00:00
Peter Schlaile
134fdd6d5a == Sequencer ==
Updated image preview a lot:
* Added a histogram-scope
* Added optional title-safe margins
* Re-arranged header, so that only usefull buttons are shown in image
  preview mode
* Added zebra-mode for visual feedback of over-exposure regions
  (helps in before and especially after color correction :)
* Added color-seperation-mode for waveform-display
* Show 10%, 70% and 90% hints in waveform-display
2008-01-31 15:28:16 +00:00
Kent Mein
b7e6ef04f8 Added missing header for offsetof function.
Kent
2008-01-31 14:25:52 +00:00
Ton Roosendaal
e2ee9b57d3 Stupid error in commit of last weekend for zmasking:
You could not mask out anymore using the 'ctrl-click layer' without
having zmask on.
2008-01-31 14:14:03 +00:00
Daniel Genrich
2a3e93444a Replaced all *f geometric functions like sinf etc. with sin etc. (were used in 2 functions from the gnu scientific library) 2008-01-31 12:29:57 +00:00
Daniel Genrich
4a1ca6ded5 Fix: Compiling should work on SOLARIS again. 2008-01-31 12:13:58 +00:00
Joshua Leung
538d93eb86 Bugfix for Join Armatures:
When Join Armatures was called from the menu (Object -> Join Objects) problems were being cause by the use of BASEACT, causing some armatures to disappear and not be joined.
2008-01-31 10:43:21 +00:00
Joshua Leung
abec067761 == Bone Groups - Outliner Support ==
Bone groups are now drawn in the Outliner. The active group can be set from there, and groups can be renamed. 

(Hah... that was easy)
2008-01-31 09:59:05 +00:00
Joshua Leung
e8fbaaf071 Forgot to commit changes in header for previous Action Editor commit 2008-01-31 09:36:59 +00:00
Joshua Leung
da05a8d127 Action Editor Bugfix:
Constraint Channels now have editable keyframes again. In the process, I've tweaked the Action Editor filtering logic a bit, so some regressions with other tools may have been caused.
2008-01-31 06:21:33 +00:00
Joshua Leung
5f5d9ede88 Bugfix #8070: blender crash when assigning driver to bone constraint
When there were no keyframes for a constraint on a bone, trying to add a driver to the influence curve would fail, as a new curve would be added the some mysterious place. The cause was a missing case, as the code assumed that no user would try to add from IPO-Editor in such a way.
2008-01-31 01:49:15 +00:00
Daniel Genrich
cac8215cad Cloth bugfix: enable stiffness scaling again even if cloth is not pinned 2008-01-30 22:00:12 +00:00
Ton Roosendaal
70c413d4ad Fixes in reading back rendered temp files ("Save buffers" and "FSA" options).
Press Rkey in compositor for reading back render results and invoke a compo.
This now correctly reads AO (skipped it sometimes) and it makes a correct
composite.

FSA todo:
- hotkey + button for reading all samples back + composite
- solve black border around image
2008-01-30 21:14:36 +00:00
Ton Roosendaal
b18499fdf6 Speedup of filereading: when using large libraries (referenced data from
other blend files) lookups of data slowed down tremendously.
Added another bsearch for speedup. Makes a difference here (200+ MB files)!
2008-01-30 18:18:33 +00:00
Roland Hess
a12602e51f Small outliner enhancement: With items selected in the outliner, pressing the V, S or R key will toggle, respectively, the Visibility, Selectability or Renderability locks. Note that this functions independently of what is selected in the SCENE -- this is based on the RMB selection in the outliner. The options are also available from the RMB popup menu.
There are enough items in that popup now that this space should probably have its own header with a menu.
2008-01-30 17:58:13 +00:00
Peter Schlaile
7acb6ed10c == Sequencer ==
Show input geometry also on MOVIE and SCENE-strips.
2008-01-30 15:53:13 +00:00
Peter Schlaile
19e37e4a35 == Sequencer / Imbuf ==
Added a faster linear interpolation scaler to IMB_scaleImBuf.
Only handles common cases when we either

enlarge both, width and height or
shrink  both, width and height

but that is pretty fast:
* does only blit once instead of two passes like the old code
  (fewer cache misses)
* uses fixed point integer arithmetic for byte buffers
* doesn't branch in tight loops
  Should be comparable in speed to the ImBuf ..._fast functions at least 
  for byte-buffers.

For the rather seldom situations that e.g. width is enlarged and height 
is shrunken, the old code is still in use.

-------
Also small fix in sequencer: free float buffers on read now.
2008-01-30 15:41:02 +00:00
Brecht Van Lommel
6601cef1d0 Further fix for bug #8124: now depsgraph relation was added correct,
but depsgraph didn't get updated immediately yet.
2008-01-30 15:28:31 +00:00
Brecht Van Lommel
b9309909fb Bugfix for recent commit in strands, accidentally included code that
wasn't working yet, this should fix it.
2008-01-30 14:25:36 +00:00
Ton Roosendaal
2227c32b7f Two small fixes for FSA render:
- better warning for exr tiles not being equally sized (compositor scenes)
- better check for which exr temp files should be read during merging
2008-01-30 14:10:37 +00:00
Daniel Genrich
fd877543d1 New: Collision Modifier and Cloth can be at any position on the modifier stack. BUT everytime the vertices count change, they will free themselves and internal build new (they rely on vertex count). Should be no problem anymore with e.g. subsurf modifier before collision modifier (tested). Fix: applied a patch from schlaile to get my bullet additions compiled with gcc 3.3 2008-01-30 14:01:05 +00:00
Brecht Van Lommel
e67422e863 Fix for bug #8191: FSA + SSS didn't work. 2008-01-30 13:44:25 +00:00
Brecht Van Lommel
33656dfa83 - Bugfix for ztransp not being filled into the z-pass after FSA changes.
- Bugfix for speedvectors being not properly set for some strands.
2008-01-30 13:35:28 +00:00
Joshua Leung
bace7e5788 * Bone Groups - changed some of the options in the Ctrl-G menu so that it is more useful
* Tweaked one of the colours in the colour sets so that it is less similar to a colour in another set representing another state.
2008-01-30 11:09:18 +00:00
Joshua Leung
e0a625937b Bugfix for Action Editor Optimisations:
Horizontal keyframe filtering is now optional per editor (off by default). This option may be removed in future, but currently it's there so that users can use it at their own risk. Apparently this has been causing people grief.
2008-01-30 10:43:44 +00:00
Peter Schlaile
5714c84c54 == Sequencer ==
Fix blend opacity of old files, so that strips do not silently disappear.
2008-01-30 10:27:16 +00:00
Joshua Leung
86cbb9f7cb PyConstraint Bugfix:
Uncommented armature weakrefs stuff for PyConstraints. This should fix some erratic error messages a user found with these a few months ago.
2008-01-30 09:29:40 +00:00
Joshua Leung
856b40af56 Made the line between the start and end of IK-chains for bones display regardless of whether 'Relationship Lines' has been enabled for the view, if the IK-chain was temporarily added for Auto-IK. This is so that it is possible to see the length of Auto-IK chains. 2008-01-30 08:31:07 +00:00
Joshua Leung
7d1bc94cad == Custom Bone Shape Drawing - 'Wireframe' Option ==
In production rigs, such as those for Peach and Plumiferos, custom bone shapes are often simple wireframe shapes (formed with a single line). These are only visible when the armature's drawtype is Wire, which means that this drawtype must be used for the display of those bones. On the other hand, 'normal' bones must also be drawn as wireframes.

I've added a small toggle beside the field for the name of the object to use. This is marked 'W' (this is not great, but it'll have to do for now). 
When activated, that bone's custom bone shape will always draw as a wireframe. As a result, the armature's drawtype doesn't have to be set to 'Wire' to see these bones.
2008-01-30 08:10:47 +00:00
Joshua Leung
e7f814b1a3 Added a few more bone colour sets 2008-01-30 05:38:55 +00:00
Nicholas Bishop
1dd0d17cf4 == Sculpt ==
Replace a 'magic number' used in several places with a proper constant
2008-01-30 03:40:28 +00:00
Daniel Genrich
4ed28a99a7 Cloth: Bugfix: 1. Kicking esc again, 2. Collision modifier needed to be updated when going backward in time, 3. GUI change when no bullet there 2008-01-30 02:05:37 +00:00