Commit Graph

26007 Commits

Author SHA1 Message Date
Joerg Mueller
c284725a1a 3D Audio GSoC:
* versioning stuff for btheme->tv3d.speaker
* separating object.c speaker functions in own source file

Thanks Brecht for the suggestions.
2011-08-04 07:12:03 +00:00
Sukhitha Prabhath Jayathilake
cbdc67e2e8 Find all key frames for baked animation export. 2011-08-03 19:12:18 +00:00
Joerg Mueller
fde1dc0fb2 Speaker Object icons, thanks Phil Gosch. 2011-08-03 13:34:49 +00:00
Joerg Mueller
eb9d591898 * Merging trunk up to r38981.
* Fixing a minor issue in a previous commit.
2011-08-03 12:44:52 +00:00
Campbell Barton
461bb17d31 fix [#27965] VSE: no visual feedback on locked strips
added xpm -> opengl stipple conversion script.
2011-08-03 09:28:16 +00:00
Joerg Mueller
6d7490632f 3D Audio GSoC:
* Minor audaspace library improvements.
* Considering location, velocity and orientation in AUD_SequencerReader and AUD_SequencerHandle.
* Bugfix: Maximum and Minimum volume weren't used before in the software device.
* Bugfix: Adding speaker objects via info space crashed.
* Listener settings now get updated in the audio system.
2011-08-03 09:25:40 +00:00
Campbell Barton
e320db1066 fix [#28135] Edge slide changes UV 2011-08-03 08:02:32 +00:00
Campbell Barton
9cf3bcd414 add note in scene.frame_current that frace_set() updates animation data. 2011-08-03 06:30:19 +00:00
Campbell Barton
a10245a1fa fix [#28151] export OBJ don't save the extension
also correct some typos
2011-08-03 05:32:07 +00:00
Joshua Leung
2b446aa280 Animation channels can now be renamed by Ctrl-Clicking on them, as in
the Outliner

Channels which can be renamed include:
- Scenes, Objects, World, Material, Texture, etc. (i.e. "ID-blocks",
or the dark and light blue channels)
- Action Groups (green channels)
- Action expanders (i.e. "CubeAction", "WorldAction", etc.)
- Grease Pencil stuff

Channels which CANNOT be renamed, as they mostly use hardcoded values
or otherwise include:
- Drivers expander
- FCurves (they don't technically have a "name"; what is shown is just
a user-friendly representation of their rna_paths)
2011-08-03 01:22:31 +00:00
Nathan Letwory
dc4b104e60 typo fix. 2011-08-02 23:52:07 +00:00
Nathan Letwory
17133e1a1d Compile fix. 2011-08-02 23:49:07 +00:00
Mike Erwin
3af9651b90 ndof changes: turned off 3D mouse during transform, removed timing bug in image/uv, added option for zoom axis (up/down vs. forward/backward) 2011-08-02 22:50:06 +00:00
Joerg Mueller
4e8e502c02 Merging trunk up to r38932. 2011-08-02 12:16:06 +00:00
Campbell Barton
de0db6c8da unit arg for FloatVectorProeprty 2011-08-02 10:56:09 +00:00
Nathan Letwory
73fc78c5d8 Debug print removed. 2011-08-02 09:18:21 +00:00
Nathan Letwory
f1c68bdbec Don't show NDOF guide by default. 2011-08-02 09:12:58 +00:00
Campbell Barton
078dff64d2 no functional changes.
style edits, also renamed ndof_to_angle_axis --> ndof_to_axis_angle
2011-08-02 08:12:50 +00:00
Campbell Barton
d4a6884fcf add back timer based redraw, not sure why this was removed r38908.
Zealous redraws now use commented define.
2011-08-02 07:49:34 +00:00
Campbell Barton
70b4758ff8 Made wmNDOFMotionData use a vector rather then xyz members, makes it nicer to use with math functions.
ndof_to_angle_axis and ndof_to_quat now use math functions.
2011-08-02 07:08:22 +00:00
Campbell Barton
ed306416f5 replace WM_OT_ndof_menu with a key->menu assignment. 2011-08-02 06:40:40 +00:00
Campbell Barton
fcd7d2b486 NDOF related edits
- fix for building without NDOF on X11
- quiet some warnings
2011-08-02 05:52:27 +00:00
Mitchell Stokes
f5cff8ad37 BGE Animations: Fixing a crash when an fcurve actuator is found, but the object doesn't have animation data (adt). 2011-08-02 05:49:11 +00:00
Mike Erwin
56918978b7 3D mouse support from merwin-spacenav branch 2011-08-02 04:28:05 +00:00
Campbell Barton
db494472ac don't include fcurve modifiers when getting an actions frame range.
could too easily give a range of 600,000 which would make exporters hang.
2011-08-02 02:28:37 +00:00
Mike Erwin
dc2609da3d svn merge -r38814:38905 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-08-02 01:01:56 +00:00
Mitchell Stokes
03c1585e3a BGE Animations: BGEDeformVerts() now handles normals instead of relying on BL_MeshDeformer::RecalcNormals(), which BlenderDeformVerts() still uses. As expected, the BGEDeformVerts() version isn't as accurate, but it avoids a sqrt per vertex. This gives about a 15~20% improvement in time spent on the rasterizer in my test scene, which resulted in about 5 more fps. However, the main reason for the new normal code is it will be easier to do on the GPU (doesn't rely on neighbor information). 2011-08-01 23:02:10 +00:00
Joerg Mueller
3e85ec432e 3D Audio GSoC:
Adds new speaker object type.

Notes:
* Needs some nice icons
* Quickily review by Joshua Leung (5 mins)
* Properties UI updated (with help of Thomans Dinges)
* Speakers have their own theme color
* No real audio functionality yet.
* Minor bug regarding lamps/lattices fixed in interface_templates.c

I personality tested:
* Creation, Deletion, Duplication
* Saving, Loading
* Library linking (incl. make local)
* Tracking
* Dope Sheet, Outliner
* Animation
* Drawing (incl. Theme)
2011-08-01 11:44:20 +00:00
Campbell Barton
c965d1d2cc fix [#28061] Texture (paint) bleeding on edges
respect clamp u/v image options.
2011-08-01 08:53:57 +00:00
Campbell Barton
cd793378db fix [#28112] Vertex paint crash 2011-08-01 06:50:24 +00:00
Campbell Barton
af39f26360 fix, uvproject modifier wasn't copying the uv layer name,
also edit var names from recent commit to better fit with other functions.
2011-08-01 05:25:30 +00:00
Campbell Barton
9da712a581 replace dutch variable name 'aantal' with 'tot' 2011-08-01 02:58:44 +00:00
Campbell Barton
f48b906261 fix for failure to create curve knots when both endpoint and bezier U were enabled.
use default when invalid settings given.

removed odd/annoying bit shifting of the flagu/v for such basic function made code hard to understand and would fail if new flags were added.
2011-08-01 02:52:08 +00:00
Janne Karhu
5c8344bcc9 Bug fix: loading a file that had particles using a dupligroup from a liblinked file without the library file being present crashed 2011-07-31 16:26:02 +00:00
Campbell Barton
c74bb09584 fix for material slot removal (r38879)
- The object ID was being passed to the data_delete_material_index_id() from object_remove_material_slot(), rather then the object data. (so the material slot fix wouldnt run in that case).
- add support for fixing text object materials too.
2011-07-31 12:43:41 +00:00
Dalai Felinto
5b3bb37343 reverting part of #38876 (whitespace edits)
the new if/else nesting introduced in the previous commit makes no sense.
(since I was here I add a comment for extrainfo and did some small cleanup)
2011-07-31 11:21:48 +00:00
Dalai Felinto
432bd158fb bugfix [#28111] material.pop breaks mt->mat_nr
create a new parameter for materials.pop() to not remove material slot.
this way the mat_nr is still the old one.

for the default behaviour we now have material remapping (i.e. data_delete_material_index_id(id, index)).
This new function is brought from the material_slot remove function.
2011-07-31 11:12:38 +00:00
Campbell Barton
f4a1dc4c8d when converting curves from poly -> nurbs, dont enable Bezier-U flag.
Not sure why this was enabled, possibly from copy/paste with bezier->nurbs code?

If you have meny poly lines there was no nice way to convert these into a smoothed nurbs curve.
Ran into this when trying to convert generated ivy into smooth nurbs.
2011-07-31 07:58:50 +00:00
Campbell Barton
c7a1a19153 whitespace edits, had odd space/tab mix 2011-07-31 07:54:24 +00:00
Campbell Barton
c19e88ac26 fix for building without bullet 2011-07-31 07:45:54 +00:00
Mike Erwin
679b528177 fix for immobile camera (NDOF_SHOULD_ROTATE etc.) -- should revisit later 2011-07-31 06:26:03 +00:00
Guillermo S. Romero
e8c3c4097a SVN maintenance. 2011-07-31 06:03:14 +00:00
Sukhitha Prabhath Jayathilake
f3c867c3db Camera Clipping animation COLLADA support fix. 2011-07-31 05:04:12 +00:00
Campbell Barton
f4293067c1 py api: sphinx doc corrections, pep8 cleanup and style edits, also added __all__ to some modules which were missing it. 2011-07-31 03:15:37 +00:00
Mike Erwin
4745e3da12 improved ndof fly: precision mode, camera position, camera animation 2011-07-31 03:06:00 +00:00
Nicholas Bishop
670f58023c == PBVH ==
OK, after that failure of committing a bunch of old junk, hopefully
this is what I actually meant to commit :)

* Added big comments to some of the fields in struct PBVHNode. I
  always forget the details of these, so finally wrote it down
  properly.

* Changed types of PBVHNode.face_vert_indices and PBVHNode.flag to
  better reflect their contents.

* There should be no functional changes here.
2011-07-31 02:34:53 +00:00
Nicholas Bishop
6c3bb8b903 EditMesh-based skin node drawing 2011-07-31 02:03:48 +00:00
Nicholas Bishop
cff57b14a1 Imported bsphere.c, mostly ifdef'd out for now 2011-07-31 02:03:39 +00:00
Nicholas Bishop
cae05598b1 Added DNA and RNA for skin modifier, stubbed in skin modifier functions 2011-07-31 02:03:28 +00:00
Nicholas Bishop
601eb68420 Added SkinNode DNA and customdata. 2011-07-31 02:03:21 +00:00