blender.git
7 years agosvn merge -r39286:39298 https://svn.blender.org/svnroot/bf-blender/trunk/blender...
Campbell Barton [Thu, 11 Aug 2011 09:28:07 +0000 (09:28 +0000)]
svn merge -r39286:39298 https://svn.blender.org/svnroot/bf-blender/trunk/blender, ensure some edits in trunk dont get merged back into pepper

7 years agofix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and...
Campbell Barton [Thu, 11 Aug 2011 08:24:56 +0000 (08:24 +0000)]
fix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and thous

7 years agoBGE Animations: Animation updates are now handled separately from logic/physics updat...
Mitchell Stokes [Thu, 11 Aug 2011 07:19:37 +0000 (07:19 +0000)]
BGE Animations: Animation updates are now handled separately from logic/physics updates. This allows the animations to be updated at the full fps specified by the user. Before, updates were not happening frequently enough. For example, a 30fps animation my only update at 20~30fps, which would cause some noticeable lag. This my not be the best solution since at this point we may be dropping frames (not being in the while(frames) loop), and we're not updating as often as the physics engine might want for bone parented physics objects.

7 years agoSVN maintenance.
Guillermo S. Romero [Thu, 11 Aug 2011 06:40:04 +0000 (06:40 +0000)]
SVN maintenance.

7 years agouse ghash for operator and menu types, was doing string lookup in the operator list...
Campbell Barton [Thu, 11 Aug 2011 06:06:17 +0000 (06:06 +0000)]
use ghash for operator and menu types, was doing string lookup in the operator list (containing over 1000 items) for each button draw.

gives small speedup for UI drawing and overall startup time.

7 years agoifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its...
Campbell Barton [Thu, 11 Aug 2011 05:50:05 +0000 (05:50 +0000)]
ifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its obvious. this will keep merging pepper changes from conflicting and can be removed when its finally merged.

7 years agomerge outliner refactor so we dont have to keep outliner.c locked in trunk.
Campbell Barton [Thu, 11 Aug 2011 05:46:18 +0000 (05:46 +0000)]
merge outliner refactor so we dont have to keep outliner.c locked in trunk.

this wont build because of changes spesific to pepper, fix coming next.

svn merge source/blender/editors/space_outliner -r36830:38987 https://svn.blender.org/svnroot/bf-blender/branches/soc-2011-pepper/source/blender/editors/space_outliner

7 years agounlocking outliner.c and removing... (merging refactor from pepper but looks like...
Campbell Barton [Thu, 11 Aug 2011 05:43:20 +0000 (05:43 +0000)]
unlocking outliner.c and removing... (merging refactor from pepper but looks like this will take a few steps)

7 years agosvn merge -r39145:39286 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Campbell Barton [Thu, 11 Aug 2011 05:04:01 +0000 (05:04 +0000)]
svn merge -r39145:39286 https://svn.blender.org/svnroot/bf-blender/trunk/blender

7 years agoBGE Animations: Updating BL_ActionActuator.frame to work with the new actuator.
Mitchell Stokes [Thu, 11 Aug 2011 03:27:47 +0000 (03:27 +0000)]
BGE Animations: Updating BL_ActionActuator.frame to work with the new actuator.

7 years agoMostly finished implementation of animation stitching, with lock bone functionality...
Benjy Cook [Wed, 10 Aug 2011 20:37:57 +0000 (20:37 +0000)]
Mostly finished implementation of animation stitching, with lock bone functionality, allowing the user to choose a bone that maintains its position during the blend

7 years agoFix for previous commit, now a fake user flag is added when switching between retarge...
Benjy Cook [Wed, 10 Aug 2011 20:36:52 +0000 (20:36 +0000)]
Fix for previous commit, now a fake user flag is added when switching between retargeted animations, so they don't get lost on save

7 years agofix for regression for shape key UI, values are now editable again in the list, doubl...
Campbell Barton [Wed, 10 Aug 2011 20:12:27 +0000 (20:12 +0000)]
fix for regression for shape key UI, values are now editable again in the list, double checked this works for mesh/curve and lattice types.

7 years agoBGE Animations: Always update the localtime used for continuous animations. Previousl...
Mitchell Stokes [Wed, 10 Aug 2011 20:05:30 +0000 (20:05 +0000)]
BGE Animations: Always update the localtime used for continuous animations. Previously this was only done on a positive or negative pulse, which could lead to some issues with a continuous flipper animation.

7 years agoimport only transform matrix animation method ( in progress )
Sukhitha Prabhath Jayathilake [Wed, 10 Aug 2011 19:43:40 +0000 (19:43 +0000)]
import only transform matrix animation method ( in progress )

7 years agoInitial programming of stitch animation operator. WIP
Benjy Cook [Wed, 10 Aug 2011 18:41:04 +0000 (18:41 +0000)]
Initial programming of stitch animation operator. WIP

7 years agoContinued changes to storing of retargeted animation data, making it possible to...
Benjy Cook [Wed, 10 Aug 2011 18:40:14 +0000 (18:40 +0000)]
Continued changes to storing of retargeted animation data, making it possible to easily switch between all retargeted clips, and stitch them with the future operator

7 years agoBaked Animation re-Import fix
Sukhitha Prabhath Jayathilake [Wed, 10 Aug 2011 17:51:18 +0000 (17:51 +0000)]
Baked Animation re-Import fix

7 years agoerror in own recent commit. set subversion to 0
Campbell Barton [Wed, 10 Aug 2011 16:05:20 +0000 (16:05 +0000)]
error in own recent commit. set subversion to 0

7 years ago2.59 Splash screen by tomket7. Congratulations!
Thomas Dinges [Wed, 10 Aug 2011 16:03:45 +0000 (16:03 +0000)]
2.59 Splash screen by tomket7. Congratulations!

Chosen by the jury Ben Simonds, Reynante Martinez and Hjalti Hjálmarsson.

7 years agoVersion bump for 2.59
Campbell Barton [Wed, 10 Aug 2011 16:02:02 +0000 (16:02 +0000)]
Version bump for 2.59

7 years agofix [#28206] Motion Paths shown in 3DView even when Only Render option is enabled
Campbell Barton [Wed, 10 Aug 2011 15:53:46 +0000 (15:53 +0000)]
fix [#28206] Motion Paths shown in 3DView even when Only Render option is enabled

7 years agoFix for incorrect parameter amount.
Nathan Letwory [Wed, 10 Aug 2011 09:30:45 +0000 (09:30 +0000)]
Fix for incorrect parameter amount.

7 years agofix for error in template
Campbell Barton [Wed, 10 Aug 2011 09:16:35 +0000 (09:16 +0000)]
fix for error in  template

7 years agofix [#28203] Misplaced string in bone constraints
Campbell Barton [Wed, 10 Aug 2011 07:49:18 +0000 (07:49 +0000)]
fix [#28203] Misplaced string in bone constraints

7 years agoFix [#28195] Particles objects disappear in viewport, and 90° rotation
Nathan Letwory [Wed, 10 Aug 2011 07:36:57 +0000 (07:36 +0000)]
Fix [#28195] Particles objects disappear in viewport, and 90° rotation
Reported by Jean Francois Sarazin

Lack of normal normalisation caused scaling issues. SIGGRAPH fix by jahka and jesterKing. Thanks to host dfelinto with entertainment provided by slikdigit.

7 years agofix for [#28201] blender crashes when "mpeg" selected
Campbell Barton [Wed, 10 Aug 2011 07:36:44 +0000 (07:36 +0000)]
fix for [#28201] blender crashes when "mpeg" selected

2 changes
- When writing OGG only allow Theora encoding, this fixes the crash.
- When setting the MPEG preset, dont allow the 'Codec' to be left as Theora, this is just confusing.

* note that this is highly confusing for users and devs - there are 4 places to set the codec/format, with both python and C presets :S.

7 years agoGianmichele request: Pose Sliding tools show percentage indicator in
Joshua Leung [Wed, 10 Aug 2011 00:46:20 +0000 (00:46 +0000)]
Gianmichele request: Pose Sliding tools show percentage indicator in
header

7 years agofix for crash undoing grease pencil session, last action would free entire frame...
Campbell Barton [Tue, 9 Aug 2011 21:32:46 +0000 (21:32 +0000)]
fix for crash undoing grease pencil session, last action would free entire frame which the session held a reference to.

7 years agofix [#28197] Undoing Grease pencil removes last 2 strokes
Campbell Barton [Tue, 9 Aug 2011 20:33:35 +0000 (20:33 +0000)]
fix [#28197] Undoing Grease pencil removes last 2 strokes

7 years agofix [#28196] Unwrap tris in lightmap pack
Campbell Barton [Tue, 9 Aug 2011 20:00:53 +0000 (20:00 +0000)]
fix [#28196] Unwrap tris in lightmap pack

7 years agostyle change, harmless changes while looking into bug [#28196]
Campbell Barton [Tue, 9 Aug 2011 19:59:01 +0000 (19:59 +0000)]
style change, harmless changes while looking into bug [#28196]

7 years agosid addressing fix
Sukhitha Prabhath Jayathilake [Tue, 9 Aug 2011 19:30:17 +0000 (19:30 +0000)]
sid addressing fix

7 years agoAnother error in last bigger commit.
Joerg Mueller [Tue, 9 Aug 2011 17:37:12 +0000 (17:37 +0000)]
Another error in last bigger commit.

7 years agotemporary fix for quat rotations
Sukhitha Prabhath Jayathilake [Tue, 9 Aug 2011 16:28:08 +0000 (16:28 +0000)]
temporary fix for quat rotations

7 years agofix [#28186] textboxes properties not animatable
Campbell Barton [Tue, 9 Aug 2011 14:50:40 +0000 (14:50 +0000)]
fix [#28186] textboxes properties not animatable

7 years agoFix for last commit: MSVC dislikes ;;
Joerg Mueller [Tue, 9 Aug 2011 14:34:42 +0000 (14:34 +0000)]
Fix for last commit: MSVC dislikes ;;

7 years agofix [#28191] Exception when enabling a script for a newer Blender build
Campbell Barton [Tue, 9 Aug 2011 14:16:22 +0000 (14:16 +0000)]
fix [#28191] Exception when enabling a script for a newer Blender build

7 years ago3D Audio GSoC:
Joerg Mueller [Tue, 9 Aug 2011 14:10:32 +0000 (14:10 +0000)]
3D Audio GSoC:
Improved waveform drawing in the sequencer.

* Drawing the waveform of a sequencer strip is now independent from whether the sound is cached or not.
* Improved drawing of the waveform in the sequencer (especially speed!).
* Making it possible to vertically zoom more in the sequencer to better see the waveform for lipsync.
* Fixed a bug which crashed blender on loading a sound file via ffmpeg.

7 years agonote to address issue raised by report [#28190].
Campbell Barton [Tue, 9 Aug 2011 13:50:27 +0000 (13:50 +0000)]
note to address issue raised by  report [#28190].

7 years ago3D Audio GSoC:
Joerg Mueller [Tue, 9 Aug 2011 08:38:14 +0000 (08:38 +0000)]
3D Audio GSoC:
Speaker objects fully functional!

Minor changes:
* Fixed three memory bugs found via valgrind.
* Fixed bug with jack transport crashing after file loading.
* Sound NLA Strips now start at CFRA instead of 0.

7 years agochange doxygen string to 2.59
Campbell Barton [Tue, 9 Aug 2011 07:48:40 +0000 (07:48 +0000)]
change doxygen string to 2.59

7 years agoBlender 2.59:
Thomas Dinges [Tue, 9 Aug 2011 07:33:51 +0000 (07:33 +0000)]
Blender 2.59:
* Update the readme file
* Update link to release logs, they point to http://www.blender.org/development/release-logs/blender-259/ now

7 years agooff by 1 error with number keys in ghost/sdl
Campbell Barton [Tue, 9 Aug 2011 07:09:49 +0000 (07:09 +0000)]
off by 1 error with number keys in ghost/sdl

7 years agoBGE Animations: Fixing issues with initialization order in BL_ShapeDeformer
Mitchell Stokes [Tue, 9 Aug 2011 03:27:05 +0000 (03:27 +0000)]
BGE Animations: Fixing issues with initialization order in BL_ShapeDeformer

7 years agoBGE Animations: Fixing the Continue option when using the Flipper play type. Also...
Mitchell Stokes [Tue, 9 Aug 2011 03:06:22 +0000 (03:06 +0000)]
BGE Animations: Fixing the Continue option when using the Flipper play type. Also removing a couple of debug prints.

7 years agoexport bone transform matrix with sid.
Sukhitha Prabhath Jayathilake [Mon, 8 Aug 2011 16:38:57 +0000 (16:38 +0000)]
export bone transform matrix with sid.

7 years agofix [#28183] Wavefront OBJ import has no preset saving
Campbell Barton [Mon, 8 Aug 2011 14:50:10 +0000 (14:50 +0000)]
fix [#28183] Wavefront OBJ import has no preset saving

7 years agoCreated property systems for multiple retargets on a single armature, for this type...
Benjy Cook [Mon, 8 Aug 2011 11:09:56 +0000 (11:09 +0000)]
Created property systems for multiple retargets on a single armature, for this type of use and animation stitching. Also contains some placeholder UI and code for animation stitching.

7 years agoreport error on installign keymaps rather then raising an exception.
Campbell Barton [Mon, 8 Aug 2011 09:09:44 +0000 (09:09 +0000)]
report error on installign keymaps rather then raising an exception.

7 years agoquiet harmless py resource warning - file opened but not closed.
Campbell Barton [Mon, 8 Aug 2011 09:01:09 +0000 (09:01 +0000)]
quiet harmless py resource warning - file opened but not closed.

7 years agofix [#28178] make single user copy of object data doesn't work
Campbell Barton [Mon, 8 Aug 2011 08:22:01 +0000 (08:22 +0000)]
fix [#28178] make single user copy of object data doesn't work

7 years agoadd missing keys for ghost/sdl
Campbell Barton [Mon, 8 Aug 2011 06:54:07 +0000 (06:54 +0000)]
add missing keys for ghost/sdl

7 years agoadd missing header to cmake files (else some IDE's wont index it)
Campbell Barton [Mon, 8 Aug 2011 05:43:04 +0000 (05:43 +0000)]
add missing header to cmake files (else some IDE's wont index it)

7 years agouse static sets rather then tuples, python optimizes this case.
Campbell Barton [Mon, 8 Aug 2011 05:21:37 +0000 (05:21 +0000)]
use static sets rather then tuples, python optimizes this case.
minor change to lightmap unpack collecting unique meshes.

7 years agoBGE Animations: Various compatibility fixes:
Mitchell Stokes [Mon, 8 Aug 2011 04:28:30 +0000 (04:28 +0000)]
BGE Animations: Various compatibility fixes:
  * Blendin for Loop End works even after a negative pulse. Flipper could still use some work in this area.
  * Continuous works a lot better.
  * BL_Action::SetFrame() should work a little smoother.

7 years ago- update X3D and FBX testing checksums
Campbell Barton [Mon, 8 Aug 2011 03:31:25 +0000 (03:31 +0000)]
- update X3D and FBX testing checksums
- building with GHOST/SDL now adds the PREFIX
- image.external_edit operator errors out if the filepath isnt set (was annoying and loaded gimp while running tests)

7 years agoMac Compile fix for ndof, by jensverwiebe. Thanks!
Thomas Dinges [Sun, 7 Aug 2011 22:48:04 +0000 (22:48 +0000)]
Mac Compile fix for ndof, by jensverwiebe. Thanks!

7 years agoUpdating CMake to install the correct ffmpeg libs.
Mitchell Stokes [Sun, 7 Aug 2011 19:32:22 +0000 (19:32 +0000)]
Updating CMake to install the correct ffmpeg libs.

7 years agoCOLLADA Armature bake animation export fixed( needs more testing )
Sukhitha Prabhath Jayathilake [Sun, 7 Aug 2011 19:22:39 +0000 (19:22 +0000)]
COLLADA Armature bake animation export fixed( needs more testing )

7 years agofixed typo
Mike Erwin [Sun, 7 Aug 2011 18:57:39 +0000 (18:57 +0000)]
fixed typo

7 years agoArmature bake animation export ( not as pose matrices. Still needs fixing )
Sukhitha Prabhath Jayathilake [Sun, 7 Aug 2011 18:15:40 +0000 (18:15 +0000)]
Armature bake animation export ( not as pose matrices. Still needs fixing )

7 years agosimplify x11 path code, had unneeded NULL checks and std namespace
Campbell Barton [Sun, 7 Aug 2011 17:38:36 +0000 (17:38 +0000)]
simplify x11 path code, had unneeded NULL checks and std namespace

7 years agondof data change: operators can access values as vectors or components, as both are...
Mike Erwin [Sun, 7 Aug 2011 17:22:47 +0000 (17:22 +0000)]
ndof data change: operators can access values as vectors or components, as both are handy

7 years agoremoved old ndof transform code, to be replaced with modern stuff in 2.6
Mike Erwin [Sun, 7 Aug 2011 17:01:44 +0000 (17:01 +0000)]
removed old ndof transform code, to be replaced with modern stuff in 2.6

7 years agoscons patch from jensverwiebe
Campbell Barton [Sun, 7 Aug 2011 16:54:40 +0000 (16:54 +0000)]
scons patch from jensverwiebe
fix a silly bug in version detection, - added an OSX sdk-check

jensverwiebe, needs to get commit access!, but will apply his patches for now.

7 years agostricter WITH_INPUT_NDOF guards, general cleanup
Mike Erwin [Sun, 7 Aug 2011 16:44:10 +0000 (16:44 +0000)]
stricter WITH_INPUT_NDOF guards, general cleanup

7 years agofixed ndof library detect for Mac SCons, ndof enabled by default (disabled if lib...
Mike Erwin [Sun, 7 Aug 2011 16:29:05 +0000 (16:29 +0000)]
fixed ndof library detect for Mac SCons, ndof enabled by default (disabled if lib not found), minor cleanup

7 years agoMerging trunk up to r39145.
Joerg Mueller [Sun, 7 Aug 2011 15:25:06 +0000 (15:25 +0000)]
Merging trunk up to r39145.

7 years agofix for building ndof with cmake on osx
Campbell Barton [Sun, 7 Aug 2011 15:06:35 +0000 (15:06 +0000)]
fix for building ndof with cmake on osx

7 years agoChanged do_version condition for noodle_curving.
Sergey Sharybin [Sun, 7 Aug 2011 14:57:25 +0000 (14:57 +0000)]
Changed do_version condition for noodle_curving.
It should be re-set to 5 for files saved in 2.58.1 release.

7 years agoNla Sound Strips + Add Speaker
Joshua Leung [Sun, 7 Aug 2011 12:43:44 +0000 (12:43 +0000)]
Nla Sound Strips + Add Speaker

Second part of previous commit. Now, when speaker objects are created,
they are created by default with an NLA sound strip so that it is easy
to just start immediately using this to do cool stuff (i.e. timing
when you want the sound to start).

7 years agoSound clip NLA Strips for Nexyon
Joshua Leung [Sun, 7 Aug 2011 12:27:20 +0000 (12:27 +0000)]
Sound clip NLA Strips for Nexyon

These are basically just for specifying when a speaker should fire off
it's soundclip, and as such, many NLA operations are irrelevant for
it. They can only be specified on object-level for speaker objects.

I've still got some UI tweaks I'll need to work on in order for these
to be able to be added even when the speaker doesn't have any NLA
tracks yet. (EDIT: while typing this, I had an idea for how to do
this, but that'll be for next commit). In the mean time, you'll need
to add a single keyframe for the object, snowflake that action and
delete the NLA strip before you can start editing.

7 years ago3D Audio GSoC:
Joerg Mueller [Sun, 7 Aug 2011 11:54:58 +0000 (11:54 +0000)]
3D Audio GSoC:

* Pepper depends on ffmpeg 0.7.1 or higher now, windows and mac build systems set to ffmpeg-0.8
* Fixed orientation retrieval in OpenAL device code.
* Added stopAll() method to AUD_IDevice (also for Python) and call it on BGE exit
* Changed BGE to use audaspace via native C++ instead over the C API.
* Made AUD_SequencerFactory and AUD_SequencerEntry thread safe.
* Changed sound caching into a flag which fixes problems on file loading, especially with undo.
* Removed unused parameter from sound_mute_scene_sound
* Fixed bug: changing FPS didn't update the sequencer sound positions.
* Fixed bug: Properties of sequencer strips weren't set correctly.
* Minor warning fixes.

7 years agoFix #28169: keymap bug when using a preset configuration, e.g. object mode keymap
Brecht Van Lommel [Sun, 7 Aug 2011 11:01:55 +0000 (11:01 +0000)]
Fix #28169: keymap bug when using a preset configuration, e.g. object mode keymap
was also being used in edit mode.

7 years ago3D Audio GSoC:
Joerg Mueller [Sun, 7 Aug 2011 06:22:50 +0000 (06:22 +0000)]
3D Audio GSoC:
Added a NULLHandle to prevent a crash in Python API when the device is the NULLDevice.

7 years agoBGE Animations: The IPO conversion code relied on objects having an adt, but this...
Mitchell Stokes [Sun, 7 Aug 2011 04:57:23 +0000 (04:57 +0000)]
BGE Animations: The IPO conversion code relied on objects having an adt, but this isn't always the case. object->adt can be NULL, which causes a crash. Now BL_InterpolatorLists are cached by action instead of adt.

7 years agofix [#28172] Cannot restore Add-ons tab in user preferences after a failed attempt...
Campbell Barton [Sun, 7 Aug 2011 04:55:58 +0000 (04:55 +0000)]
fix [#28172] Cannot restore Add-ons tab in user preferences after a failed attempt to install an add-on.

non utf8 addons would make the addon UI vanish, now give a message in the console and UI.

7 years agocomment unused vars
Campbell Barton [Sun, 7 Aug 2011 04:22:33 +0000 (04:22 +0000)]
comment unused vars

7 years agostricter NDOF guards for Windows (forgot in earlier commit)
Mike Erwin [Sat, 6 Aug 2011 23:13:36 +0000 (23:13 +0000)]
stricter NDOF guards for Windows (forgot in earlier commit)

7 years agofixed crash when NDOF operators were called without an NDOF_MOTION event
Mike Erwin [Sat, 6 Aug 2011 22:31:16 +0000 (22:31 +0000)]
fixed crash when NDOF operators were called without an NDOF_MOTION event

7 years ago3D Audio GSoC:
Joerg Mueller [Sat, 6 Aug 2011 17:57:20 +0000 (17:57 +0000)]
3D Audio GSoC:
Mixdown functionality.

* Mixdown possible via libsndfile and ffmpeg!
* Fixed some ffmpeg deprecation warnings
* Mixdown UI only shows working Container, Codec and Format combinations!
* Minor bugs and warnings fixed

7 years agorna/ui: avoid duplicate property gHash lookups by passing the property when its alrea...
Campbell Barton [Sat, 6 Aug 2011 16:00:00 +0000 (16:00 +0000)]
rna/ui: avoid duplicate property gHash lookups by passing the property when its already been found.

added _prop suffix to ui functions which take a prop rather then a propname, may change this later since its not that nice but for gsoc branches this keeps existing UI functions working the same.

7 years agomake ui_def_but_rna into 2 functions, once which takes a prop, another which takes...
Campbell Barton [Sat, 6 Aug 2011 14:57:55 +0000 (14:57 +0000)]
make ui_def_but_rna into 2 functions, once which takes a prop, another which takes a propname, no functional change yet but lets us avoid duplicate hash lookups.

7 years agoGraph Editor "Active Keyframe" settings
Joshua Leung [Sat, 6 Aug 2011 07:01:07 +0000 (07:01 +0000)]
Graph Editor "Active Keyframe" settings

This commit makes some tweaks to the way that the "active keyframe"
settings in the Properties region in the Graph Editor work (for the
better, hopefully).

Basically, the problem was that previously, these were clunky and non-
intuitive to use, since they were just directly displaying the RNA
properties for those keyframes for editing purposes. But due to
limitations of RNA (i.e. from a RNA pointer to a keyframe, you
couldn't see which F-Curve you came from), several things were
impossible, notably:
1) Doing proper updates, including validating that the handles are in
a valid state - that requires access to the F-Curve to provide to the
F-Curve-based curve validity checking functions
2) Having the values of the keyframes display in whatever unit that
the property the F-Curve affects displays as - for this, you once
again need to know the F-Curve in order to resolve the property that
it affects; also the fact that only a single unit could be set for RNA
properties further limited things

This commit basically gets around these problems by moving away from a
layout-engine based approach to one where we attach custom update
callbacks and also override the units of the y-co widgets when
creating the widgets for these, thus allowing the buttons to work in
the ways that animators expect.

7 years agofor UI text drawing use BLF_ascender(fs->uifont_id) rather then BLF_height(fs->uifont...
Campbell Barton [Sat, 6 Aug 2011 06:38:18 +0000 (06:38 +0000)]
for UI text drawing use BLF_ascender(fs->uifont_id) rather then BLF_height(fs->uifont_id, "2"), while profiling draw noticed that the hash lookup on the character and utf8 next were being called on every text draw, use BLF_ascender since it doesn't do any lookups.

7 years agoMaterial ray trace transparency animation COLLADA export.
Sukhitha Prabhath Jayathilake [Sat, 6 Aug 2011 06:11:31 +0000 (06:11 +0000)]
Material ray trace transparency animation COLLADA export.

7 years agoremove copy modifiers function, now handled in link data operator.
Campbell Barton [Sat, 6 Aug 2011 04:19:30 +0000 (04:19 +0000)]
remove copy modifiers function, now handled in link data operator.

7 years agoBGE Animations: Making the ping pong mode for action actuators behave more like trunk...
Mitchell Stokes [Sat, 6 Aug 2011 00:35:16 +0000 (00:35 +0000)]
BGE Animations: Making the ping pong mode for action actuators behave more like trunk. The behavior is a lot closer, but there are still differences when interrupting a ping pong action. I'm still trying to decide if these are acceptable differences as they don't look all that simple to fix.

7 years agoKEYMAP REFACTORING
Brecht Van Lommel [Fri, 5 Aug 2011 20:45:26 +0000 (20:45 +0000)]
KEYMAP REFACTORING

Diff Keymaps

User edited keymaps now no longer override the builtin keymaps entirely, but
rather save only the difference and reapply those changes. This means they can
stay better in sync when the builtin keymaps change. The diff/patch algorithm
is not perfect, but better for the common case where only a few items are changed
rather than entire keymaps The main weakness is that if a builtin keymap item
changes, user modification of that item may need to be redone in some cases.

Keymap Editor

The most noticeable change here is that there is no longer an "Edit" button for
keymaps, all are editable immediately, but a "Restore" buttons shows for keymaps
and items that have been edited. Shortcuts for addons can also be edited in the
keymap editor.

Addons

Addons now should only modify the new addon keyconfiguration, the keymap items
there will be added to the builtin ones for handling events, and not get lost
when starting new files. Example code of register/unregister:

km = wm.keyconfigs.addon.keymaps.new("3D View", space_type="VIEW_3D")
km.keymap_items.new('my.operator', 'ESC', 'PRESS')

km = wm.keyconfigs.addon.keymaps["3D View"]
km.keymap_items.remove(km.keymap_items["my.operator"])

Compatibility

The changes made are not forward compatible, i.e. if you save user preferences
with newer versions, older versions will not have key configuration changes that
were made.

7 years agoMessed up char was causing problems on windows even though it was in the
Kent Mein [Fri, 5 Aug 2011 19:55:36 +0000 (19:55 +0000)]
Messed up char was causing problems on windows even though it was in the
comments.

Kent

7 years agocreate_4x4_source function
Sukhitha Prabhath Jayathilake [Fri, 5 Aug 2011 18:32:39 +0000 (18:32 +0000)]
create_4x4_source function

7 years agofix for GHOST/SDL key input with uppercase keys.
Campbell Barton [Fri, 5 Aug 2011 17:39:44 +0000 (17:39 +0000)]
fix for GHOST/SDL key input with uppercase keys.

7 years ago(no commit message)
Sukhitha Prabhath Jayathilake [Fri, 5 Aug 2011 17:19:31 +0000 (17:19 +0000)]

7 years agoifdef out support for for python owning and freeing BPy_StructRNA because this is...
Campbell Barton [Fri, 5 Aug 2011 16:29:38 +0000 (16:29 +0000)]
ifdef out support for for python owning and freeing BPy_StructRNA because this is only used for doc generation and it makes _every_ blender/python instance 4 bytes bigger - vertex/bezier point/object/scene/group etc.

7 years agopyrna - add own callable function type rather then using a standard python method...
Campbell Barton [Fri, 5 Aug 2011 16:21:37 +0000 (16:21 +0000)]
pyrna - add own callable function type rather then using a standard python method, gives small speedup drawing buttons since every layout.prop/col/operator/menu etc creates and throws away one of these.

7 years agomove the ndof menu into the userpref's since it adjusts preferences, also renamed...
Campbell Barton [Fri, 5 Aug 2011 14:53:13 +0000 (14:53 +0000)]
move the ndof menu into the userpref's since it adjusts preferences, also renamed VIEW3D_MT_ndof_settings -> USERPREF_MT_ndof_settings since it has no view3d specific settings.

7 years agoTimeline UI Nitpicks:
Joshua Leung [Fri, 5 Aug 2011 12:17:49 +0000 (12:17 +0000)]
Timeline UI Nitpicks:
* "Only Selected channels" -> "Only Selected Channels"
* Use Keying Set icon for "only keying set" toggle for autokeying

7 years agopatch from jensverwiebe to scons to be compatible with gcc llvm. people who copy...
Campbell Barton [Fri, 5 Aug 2011 12:07:05 +0000 (12:07 +0000)]
patch from jensverwiebe to scons to be compatible with gcc llvm. people who copy the darwin-config.py to their user-config.py should update.

7 years agoBugfix [#28106] Missing 3D view update after copy of constraints
Joshua Leung [Fri, 5 Aug 2011 11:31:41 +0000 (11:31 +0000)]
Bugfix [#28106] Missing 3D view update after copy of constraints