Commit Graph

11211 Commits

Author SHA1 Message Date
Joshua Leung
9f4cc0b46b == Bone Paths - Bugfixes ==
* "Show Keys" - increased the size of keyframe dots once again (now 5.0). 

* WKEY (specials menu) - still used "Clear All Paths"
2007-12-03 10:52:56 +00:00
Martin Poirier
f915fc1071 Fixing compiling error in my last commit. *grumble* 2007-12-02 19:42:08 +00:00
Ton Roosendaal
71e4b3ce22 Another Proxy Armature bugfix:
- Library referencing didn't add the new local Ipo for constraints
- Proxy command didn't set the driver object in constraint ipo to be 
  the new proxy object.
2007-12-02 18:33:14 +00:00
Martin Poirier
1c661f19c8 Patch [#7849] Fix for bug #7140 Scrollbar not stopping ok on the bottom of the text editor window
By Jetze van Beijma

It doesn't quite fix the bug (some slight quirks left), but it's much better already, so I'm committing it.
2007-12-02 17:51:49 +00:00
Brecht Van Lommel
6a9c6674ca Particles
=========

Bugfix for crash with disabling the particles system and saving/loading
files, the way it detected if the mesh had changed could not work correct.
2007-12-02 15:54:54 +00:00
Brecht Van Lommel
303819276f Bugfix for earlier commit, with OpenGL render the 3d view transforms
were not always set correct.
2007-12-02 14:48:24 +00:00
Joshua Leung
604dd2e78d A few little tweaks in drawarmature.c 2007-12-02 09:54:01 +00:00
Joshua Leung
498ba509b1 Bugfix:
"Show Keyframes" option for Bone Path Drawing was broken. It seems that I forgot to update this code when the Action Editor's drawing code went from using CfraElem structs to ActKeyColumn structs for storing keyframes for drawing. 

Also, now Keyframe dots on the path are drawn slightly larger to make them stand out more.
2007-12-02 06:29:57 +00:00
Joshua Leung
77e6a2ba86 == Bone Path Drawing - More Tweaks Again ==
Bugfixes:
* "Clear Paths" change from last commit wasn't complete yet. Now it REALLY only clears the paths of the selected bones

* Button layout in "Armature Visualisation" panel has been reorganised a bit to better present the options (clearer separation between Display and Calculation buttons)

New Stuff (Yay!):
* Paths of active bones now draw more visibly than those of unselected bones. This makes it easier to identify the path that is taken by the bone

* The part of path on the current frame is now drawn in green (the same shade that is used for the current-frame line in the Animation Editors). This nicely blends between the black and blue parts of the path (before and after current frame, respectively), and looks much nicer.

* The colour of the current-frame marker in the Animation Editors and the 3D-View, are now theme-colours. This is needed to make the previous option work.
2007-12-02 05:50:38 +00:00
Campbell Barton
1e32ec2000 minor update, "Draw Handles" wasnt working when disabled everywhere and replaced some magic numbers 2007-12-01 23:25:00 +00:00
Campbell Barton
141e279d70 wizard_curve2tree.py - bounding twig mesh didnt work if it had some transformation.
buttons_shading.c - premul button was overlapping movie buttons
2007-12-01 22:00:09 +00:00
Campbell Barton
44bc6ccf17 max selectable vgroups were 99, raised limit to 999 (lucky we have 2 screens) 2007-12-01 21:02:33 +00:00
Brecht Van Lommel
475cf46d61 Bugfix:
Duplicating or separating objects with a particle system could crash.
2007-12-01 20:08:31 +00:00
Brecht Van Lommel
eff09ae396 For the OpenGL render option in the 3d view, if a camera is active,
it now sets the viewport exactly the same as if rendering.
2007-12-01 19:29:50 +00:00
Campbell Barton
f06872d493 mesh_edges2curves.py - fix for duplicate points
renderwin.c - stamp info in openGL render
2007-12-01 19:19:49 +00:00
Ton Roosendaal
4ba215478f Italian community request: Area light fix!
http://peach.blender.org/index.php/area-light-fix-light-not-shadow/

Now, for every possible shadow sample, an area light calculation is 
done from that position.
2007-12-01 17:55:16 +00:00
Ton Roosendaal
448a423288 Bugfix in library linking and subversions (#2)
Now reading files with many references to other files uses correct
version patching.
2007-12-01 14:36:06 +00:00
Campbell Barton
5bf9517bd6 rewrote strip cut, now it works on metastrips and selects the strips depending on the side of the frame your mouse is on.
also removed WHILE_SEQ from transform loops - about 5 or so because it allocates memory each time.
2007-12-01 13:40:59 +00:00
Brecht Van Lommel
fc91991432 Bugfix: baking ambient occlusion was broken without selected to active.
Increased the size limit (to 16384) and the default size (to 1024) for
the New Image function.
2007-12-01 12:34:15 +00:00
Brecht Van Lommel
4813af326b Fix for bug #7851: crash with LSCM unwrap, due to opennl refactor.
Fix for bug #7856: crash hitting "neg" button for particle vertex groups.
2007-12-01 12:08:46 +00:00
Joshua Leung
092e9dcdc3 == Bone Paths - More Tweaks (Cessen requests) ==
* "Around Current Frame" option now works differently. When this option is activated, the path range calculated remains the same (PSta -> PEnd), but only PPre and PPost amount of path-points on either side of the current frame get shown. This is less clumsy to use, and looks quite neat!

* "Clear Paths" now only clears the paths of the selected bones, not all bones. The old behaviour can still be obtained by selecting all bones, but previously there was no way to only clear paths of selected bones.

* Own fix: path colours are now drawn less saturated, as they were showing up TOO strongly.


TODO:
* Fix up interface for "Around current..." option. It's quite confusing atm.
* Selective recalculation of path on certain operations could also be investigated further...
2007-12-01 11:57:16 +00:00
Ton Roosendaal
45c41ffb69 Two fixes:
- new option for Local Constraint Ipos did not set user counter in
  Ipo at file reading, causing data to get lost (not saved).

- Driver feature: the channels "Loc X Y Z" now also use the result
  of constraints, but transformed back into local space, as if it 
  was action X Y Z. Nice stuff for those who understand this... 
  it means you can drive something with a bone that has constraints.
2007-12-01 10:48:33 +00:00
Martin Poirier
84eb745b00 Adding missing declaration in header and removing some debug prints. 2007-11-30 20:54:34 +00:00
Ton Roosendaal
587b2d0d3a Fileversions now have subversions (like 2.45.10), this was not correctly
supported with library referencing yet.
2007-11-30 15:12:31 +00:00
Campbell Barton
6b88141fda dupliFaceScale wasnt being initialized for new objects, added Python api access 2007-11-30 14:10:36 +00:00
Brecht Van Lommel
0bcc5e8b8d Bugfix:
Another one in the particle distribution, the last particle could be
placed on faces with zero weight.
2007-11-30 13:45:23 +00:00
Roland Hess
905d7126dd Fixing small header oversight -- Remap Paths was masked from movie type strips. It was still available via hotkey, but if you didn't know it, it wasn't in the header menus to see. Now it is. 2007-11-30 13:43:12 +00:00
Brecht Van Lommel
11c2a6754b Bugfix:
Random particle distribution did not normalize weights properly,
could give particles on invalid faces.
2007-11-30 13:28:33 +00:00
Campbell Barton
a4c17c7c88 anim.c, buttons_object.c, readfile.c, BKE_blender.h - dupliFace scale option, needed for leaves.
modifier.c, BKE_modifier.h - flag for modifiers to say they use pointcache, also new func modifiers_usesPointCache
renamed //pointcache to //blendcache_blendfilename so blendfiles in the same dir dont conflict, and other to show this dir isnt limited to pointcache only (nodes way want to use this)
wizard_curve2tree.py - better defaults for pretty tree's
2007-11-30 10:38:59 +00:00
Janne Karhu
04a009b047 Point cache was reset in many updates where it shouldn't have been reset.
Preview render crashed with "only render" children.
2007-11-30 07:41:22 +00:00
Janne Karhu
e893c9d739 Fix for bug #7846 2007-11-29 22:04:07 +00:00
Janne Karhu
9ff9a5cdca 2nd try at committing to trunk (instead of particles branch) :)
Fixes for bugs in #7833
- Hair softbody cache was reset on rendering.
- When Alt-a playback is synced to audio frames are skipped. This caused dynamics caching to go crazy. Now the first loop of playback goes through all frames if there are non cached dynamic systems.

Invalid point caches weren't cleared when new systems were created. This caused messed up shapes when softbody was added.
2007-11-29 21:09:16 +00:00
Martin Poirier
653f064e71 Moved both filtering operations (external and internal) into a loop, since both can create new cases that the other would filter out.
Finish radial symmetry restoration.
2007-11-29 19:57:40 +00:00
Brecht Van Lommel
18e5f7b50b Shape Keys
==========

- Added a Mute button for shape keys, useful for debugging the influence
  of driven shape keys.
- Bugfix for the shape keys relative to others keys, was hanging in
  an eternal loop when deleting the other key.
2007-11-29 19:35:30 +00:00
Kent Mein
0d8b28e2a3 This is patch: [#7823] Improvements for the German translation
and also a small part of a patch from sgefant that fixes a typo
in the Makefiles.

Kent
2007-11-29 16:56:09 +00:00
Kent Mein
8cea2a9582 Solaris had a problem finding finite so had to conditionally
#include <ieeefp.h>

Kent
2007-11-29 16:42:36 +00:00
Campbell Barton
6649ba74d6 - better weighting for fill twig placement
- curve direction isnt used anymore - just make the small end the last.
2007-11-29 14:41:33 +00:00
Ton Roosendaal
fbadcf1c7b Bug in new option to assign materials right away to a face; it
didn't make a correct new slot in a Mesh (ADD NEW did, but not browsing
a material that didn't exisit in one of slots yet)
2007-11-29 13:57:41 +00:00
Brecht Van Lommel
19f6bab818 Bugfix:
Particle edit mode option interpolated for the add brush crashed with
no existing particles.
2007-11-29 13:34:38 +00:00
Ton Roosendaal
231b160a56 With faceselecting merged in editmode, we should also allow the active
material slot ("index") to update in the UI when you select a single face.
Works nice!
2007-11-29 13:05:38 +00:00
Campbell Barton
742ef6746c Non square pixel display in the sequencer (uses render aspect setting), needed for displaying some DV footage correctly. 2007-11-29 11:00:38 +00:00
Joshua Leung
4b37ee227e Scons Compiling Hack:
Restoring the "evil src splitting hack" for scons+mingw systems. By default, it is not used, but if your system is choking when trying to link src, then add BF_SPLIT_SRC=1 to your user-config.py to use this hack.
2007-11-29 06:31:36 +00:00
Matt Ebb
2a4f31e2a5 * Fixed stub for the changed RE_database_baking function 2007-11-29 01:41:20 +00:00
Martin Poirier
1cb7325c2b Fix for crashes due to non-working cycle detection.
Start of radial symmetric function.
2007-11-28 22:43:33 +00:00
Brecht Van Lommel
561319989e Render Baking
=============

A new "Selected to Active" option in the Bake panel, to (typically) bake
a high poly object onto a low poly object. Code based on patch #7339 by
Frank Richter (Crystal Space developer), thanks!.

Normal Mapping
==============

Camera, World, Object and Tangent space is now supported for baking, and
for material textures. The "NMap TS" setting is replaced with a dropdown
of the four choices in the image texture buttons.


http://www.blender.org/development/current-projects/changes-since-244/render-baking/
2007-11-28 22:21:12 +00:00
Brecht Van Lommel
91dc459bcc Bugfix: crash with textured drawing in editmode and linked duplicates. 2007-11-28 21:42:27 +00:00
Geoffrey Bantle
2d38926f13 -> Fix for FLT export
Silly mistake on FLT export meant that when copying textures no check was done
to see if the file being copied existed or not. Fixed
2007-11-28 19:06:00 +00:00
Ton Roosendaal
ce52384e9f Small material assigning feature:
in EditButtons, panel "Links and Materials", there's now a browse button
to directly assign a material to selected faces. It does:

- check if material was already in one of the 'slots' of the object
- if so, then use this as index to assign
- if not, then add a new slot, and assign the new index
2007-11-28 18:43:09 +00:00
Campbell Barton
d6ce9e4abe curve re-meshing had some errors when making joins, now collapse surrounding overlapping segments when adding joins to allow room for the join, joint rotation was also wrong between branches. 2007-11-28 15:26:02 +00:00
Ton Roosendaal
86f3b640ec Blender interface code in Game Engine, who would that have thought!
(this fixes compile error in GE)
2007-11-28 13:33:59 +00:00