10 years agobugfix [#24122] Shift-C doesn't work in "Camera View"
Campbell Barton [Tue, 5 Oct 2010 13:15:58 +0000 (13:15 +0000)]
bugfix [#24122] Shift-C doesn't work in "Camera View"
also fixed some glitches with smoothview.

10 years agoFix #24135: Material modification not immediately updated in Outliner
Sergey Sharybin [Tue, 5 Oct 2010 11:55:54 +0000 (11:55 +0000)]
Fix #24135: Material modification not immediately updated in Outliner

Also fixed outliner update when changing active_material_index from Py and
when selecting texture from UI

10 years agobugfix [#23506] Bevel Modifier display problem
Campbell Barton [Tue, 5 Oct 2010 11:25:34 +0000 (11:25 +0000)]
bugfix [#23506] Bevel Modifier display problem
This is a more general problem that drawing functions would skip faces when the original index could not be found, screw result for example wasnt visible in editmode too.
Fixed by adding a material set argument to DerivedMesh->drawMappedFaces(), this was already being done in some of the other drawing functions.

10 years ago- fix for crash when drawing a subsurf after a modifier that lost original indices...
Campbell Barton [Tue, 5 Oct 2010 11:16:07 +0000 (11:16 +0000)]
- fix for crash when drawing a subsurf after a modifier that lost original indices (bevel/screw/decimate)
- fix for own mistake used madd_v3_v3fl rather then mul_v3_v3fl, r32241.

10 years ago"Fix" for [#24115] Offset animation on object with particules system doesn't work...
Janne Karhu [Tue, 5 Oct 2010 10:45:54 +0000 (10:45 +0000)]
"Fix" for [#24115] Offset animation on object with particules system doesn't work like 2.49
* Object time offset is not supported for particles anymore, something that enables similar functionality will have to be coded later.

10 years agobuild-fix [#24142] path changes break osx
Campbell Barton [Tue, 5 Oct 2010 10:23:25 +0000 (10:23 +0000)]
build-fix [#24142] path changes break osx

10 years agoFix for [#24107] Hair/General particle glitch- Presets
Janne Karhu [Tue, 5 Oct 2010 09:32:35 +0000 (09:32 +0000)]
Fix for [#24107] Hair/General particle glitch- Presets

10 years agoFixed own typo in last commit to curve RNA
Sergey Sharybin [Tue, 5 Oct 2010 07:22:44 +0000 (07:22 +0000)]
Fixed own typo in last commit to curve RNA

10 years agoTextureCoordinateBinding.getName() -> TextureCoordinateBinding.getSemantic(); as...
Nathan Letwory [Tue, 5 Oct 2010 06:10:17 +0000 (06:10 +0000)]
TextureCoordinateBinding.getName() -> TextureCoordinateBinding.getSemantic(); as per my own patch on OpenCOLLADA issue tracker.

10 years agoA bit of work:
Mitchell Stokes [Tue, 5 Oct 2010 05:44:15 +0000 (05:44 +0000)]
A bit of work:
  * A few places in the docs mentioned bge.keys, when it should have been
  * Created two aliases to ENTERKEY and RETURNKEY
  * ENTERKEY and RETURNKEY have been added to the docs and RETKEY marked as deprecated
  * Added an example of using bge.logic.keyboard to the docs

10 years agoSVN maintenance.
Guillermo S. Romero [Tue, 5 Oct 2010 00:49:39 +0000 (00:49 +0000)]
SVN maintenance.

10 years agoReorganisation of COLLADA import code. Classes have been split into their own files.
Nathan Letwory [Tue, 5 Oct 2010 00:05:14 +0000 (00:05 +0000)]
Reorganisation of COLLADA import code. Classes have been split into their own files.
No functional changes.

Where necessary extern "C" {} blocks have been added.

10 years agoUpdate stubs for recent changes (BKE_utildefines.h and header printing).
Nathan Letwory [Mon, 4 Oct 2010 23:52:53 +0000 (23:52 +0000)]
Update stubs for recent changes (BKE_utildefines.h and header printing).

10 years agobugfix [#24133] r32303, Mirror Modifier + EditMode + VBO's Problem.
Campbell Barton [Mon, 4 Oct 2010 19:01:25 +0000 (19:01 +0000)]
bugfix [#24133] r32303, Mirror Modifier + EditMode + VBO's Problem.
drawing the triangle arrays were only broken up by hidden faces, but switches in material were ignored.
now check for materual context changes.

10 years ago[#22825] Copy Scenes with Audio Strip Crash.
Campbell Barton [Mon, 4 Oct 2010 15:31:04 +0000 (15:31 +0000)]
[#22825] Copy Scenes with Audio Strip Crash.

10 years agofix for copy in the console (wasnt taking the prompt into account)
Campbell Barton [Mon, 4 Oct 2010 12:02:18 +0000 (12:02 +0000)]
fix for copy in the console (wasnt taking the prompt into account)

10 years ago revert r32284, turns out OpenSuse needs this for forkpty(), also fixed missing impor...
Campbell Barton [Mon, 4 Oct 2010 11:42:39 +0000 (11:42 +0000)]
 revert r32284, turns out OpenSuse needs this for forkpty(), also fixed missing import with 3ds export.

10 years agoRecalc knots when toggling nurb cyclic flags
Sergey Sharybin [Mon, 4 Oct 2010 10:06:18 +0000 (10:06 +0000)]
Recalc knots when toggling nurb cyclic flags

10 years agoFix for [#24118] Hair particles can not be edited
Janne Karhu [Mon, 4 Oct 2010 08:48:50 +0000 (08:48 +0000)]
Fix for [#24118] Hair particles can not be edited
* Own mistake from a previous fix.

10 years agoCOLLADA exporter fix: do not create a duplicate <polylist> if an object has NULL...
Arystanbek Dyussenov [Mon, 4 Oct 2010 03:38:37 +0000 (03:38 +0000)]
COLLADA exporter fix: do not create a duplicate <polylist> if an object has NULL materials linked along with normal materials.

10 years ago- use own string conversion function over PyUnicode_FromString when converting the...
Campbell Barton [Mon, 4 Oct 2010 01:18:47 +0000 (01:18 +0000)]
- use own string conversion function over PyUnicode_FromString when converting the argv
- report errors when files dont load when given from the command line but not running in background mode.

10 years agofix for building over samba /w cmake+mingw
Campbell Barton [Mon, 4 Oct 2010 00:40:48 +0000 (00:40 +0000)]
fix for building over samba /w cmake+mingw

10 years agotypo in function prefix.
Campbell Barton [Sun, 3 Oct 2010 23:29:43 +0000 (23:29 +0000)]
typo in function prefix.

10 years agocmake/mingw was missing defines.
Campbell Barton [Sun, 3 Oct 2010 23:27:33 +0000 (23:27 +0000)]
cmake/mingw was missing defines.

10 years agochanges to path searching
Campbell Barton [Sun, 3 Oct 2010 21:13:52 +0000 (21:13 +0000)]
changes to path searching
- don't search CWD/foldername anymore, only CWD/2.54/foldername, since this is the new default build systems use.
- local source paths (./release/scripts) are now treated as system path, otherwise when this is used you cant test ~/.blender/2.54/scripts at the same time.

10 years agobugfix [#24087] Blender can not install add-ons unless running with root priviledges
Campbell Barton [Sun, 3 Oct 2010 20:00:22 +0000 (20:00 +0000)]
bugfix [#24087] Blender can not install add-ons unless running with root priviledges
now addon path is created using the same path functions and selecting where to save the startup.blend

also made some minor changes to path handling funcs.

10 years agolinking libutil isnt needed on my system, possibly this is deprecated?,
Campbell Barton [Sun, 3 Oct 2010 18:45:27 +0000 (18:45 +0000)]
linking libutil isnt needed on my system, possibly this is deprecated?,
testing this on other linux systems isnt so easy but will hear about it if this breaks.

10 years agoFix attribution, as noticed by Dalai Felinto.
Guillermo S. Romero [Sun, 3 Oct 2010 16:39:07 +0000 (16:39 +0000)]
Fix attribution, as noticed by Dalai Felinto.

10 years agoAdd include directive so buildinfo compilation can find defines, see r32271.
Guillermo S. Romero [Sun, 3 Oct 2010 16:30:10 +0000 (16:30 +0000)]
Add include directive so buildinfo compilation can find defines, see r32271.

10 years agobuild systems have been updated, remove use of ~/.blender/ directly, ~/.blender...
Campbell Barton [Sun, 3 Oct 2010 16:16:00 +0000 (16:16 +0000)]
build systems have been updated, remove use of ~/.blender/  directly, ~/.blender/*version*/ instead.

10 years agoadded len_squared_v2v2, use instead of len_v3v3 for font handle tests, also fixed...
Campbell Barton [Sun, 3 Oct 2010 14:16:27 +0000 (14:16 +0000)]
added len_squared_v2v2, use instead of len_v3v3 for font handle tests, also fixed some warnings.

10 years agobugfix [#24116] UV layout exporting doesnt work
Campbell Barton [Sun, 3 Oct 2010 12:22:33 +0000 (12:22 +0000)]
bugfix [#24116] UV layout exporting doesnt work
in-fact this is unrelated to UV Layout script, just a missing check for an bad state.

10 years agofix for scons with recent buildinfo change
Campbell Barton [Sun, 3 Oct 2010 11:33:44 +0000 (11:33 +0000)]
fix for scons with recent buildinfo change

10 years ago- rna bugfix where ints were not clamped and would overflow, now raise an error and...
Campbell Barton [Sun, 3 Oct 2010 01:44:00 +0000 (01:44 +0000)]
- rna bugfix where ints were not clamped and would overflow, now raise an error and print valid range.
- fixed WM_OT_context_cycle_int was causing problems with int overflow, now it cycles properly.
- rename QUOTE macro to STRINGIFY_ARG, and added STRINGIFY, which is used more often since it gives the value as a string.

10 years agoMaking the docs for bge.types.KX_SCA_AddObjectActuator.instantAddObject() more clear...
Mitchell Stokes [Sun, 3 Oct 2010 01:32:01 +0000 (01:32 +0000)]
Making the docs for bge.types.KX_SCA_AddObjectActuator.instantAddObject() more clear. Thanks to delaney for pointing this out.

10 years agopython console prompt + edit line is how selectable.
Campbell Barton [Sat, 2 Oct 2010 22:31:48 +0000 (22:31 +0000)]
python console prompt + edit line is how selectable.

10 years agopy/rna access to setting the header text - can be used in modal operators.
Campbell Barton [Sat, 2 Oct 2010 21:02:40 +0000 (21:02 +0000)]
py/rna access to setting the header text - can be used in modal operators.
eg: context.area.header_text_set("Some Text")
 included example in the view3d modal operator template.

10 years agoRedraw object buttons on next/previous frame in 3dview, otherwise for instance
Nathan Letwory [Sat, 2 Oct 2010 20:31:54 +0000 (20:31 +0000)]
Redraw object buttons on next/previous frame in 3dview, otherwise for instance
Transform panel won't get updated for keyed objects.

10 years agoset the view3d used layer to be an unsigned int, mask out localview layers to avoid...
Campbell Barton [Sat, 2 Oct 2010 19:45:53 +0000 (19:45 +0000)]
set the view3d used layer to be an unsigned int, mask out localview layers to avoid flag mismatch when checking if it changed.

10 years agofor view layer calculation, only break early if all layers are set, was breaking...
Campbell Barton [Sat, 2 Oct 2010 19:38:09 +0000 (19:38 +0000)]
for view layer calculation, only break early if all layers are set, was breaking if any layer was set.

10 years agoFix #22348: disabled image editor curves on non-float images, this never
Brecht Van Lommel [Sat, 2 Oct 2010 19:31:58 +0000 (19:31 +0000)]
Fix #22348: disabled image editor curves on non-float images, this never
worked correct, only got enabled accidentally in 2.5 port.

10 years agomake fly mode border draw into a area drawing callback rather then using a flag ...
Campbell Barton [Sat, 2 Oct 2010 19:31:23 +0000 (19:31 +0000)]
make fly mode border draw into a area drawing callback rather then using a flag (no functional change).

10 years agomove window matrix translation into its own function. (no functional changes)
Campbell Barton [Sat, 2 Oct 2010 19:06:20 +0000 (19:06 +0000)]
move window matrix translation into its own function. (no functional changes)

10 years agoAnti-Aliasing support for opengl render (belated durian todo),
Campbell Barton [Sat, 2 Oct 2010 17:10:28 +0000 (17:10 +0000)]
Anti-Aliasing support for opengl render (belated durian todo),
Simple FSA accumulation method means no fancy opengl features needed.
Fixed at 5 samples per pixel for now.

10 years agoFix #23785: in the game engine, if an object had an armature modifier + another
Brecht Van Lommel [Sat, 2 Oct 2010 16:42:12 +0000 (16:42 +0000)]
Fix #23785: in the game engine, if an object had an armature modifier + another
modifier, it would apply the armature deformation twice.

10 years agoSmall CMAKE Fix, discovered by freakabcd in IRC.
Thomas Dinges [Sat, 2 Oct 2010 16:29:58 +0000 (16:29 +0000)]
Small CMAKE Fix, discovered by freakabcd in IRC.

10 years ago* Script wasn't updated after "Load Factory Settings" Operator decoupling.
Thomas Dinges [Sat, 2 Oct 2010 16:19:33 +0000 (16:19 +0000)]
* Script wasn't updated after "Load Factory Settings" Operator decoupling.

10 years agoFix for [#24051] Scrubbing Timeline in VSE with Jack Audio doesn't scrub just plays...
Joerg Mueller [Sat, 2 Oct 2010 15:27:55 +0000 (15:27 +0000)]
Fix for [#24051] Scrubbing Timeline in VSE with Jack Audio doesn't scrub just plays the audio track

There were actually two bugs, the one reported and that the Sync Callback never has been called after someone had to add #ifdefs around the call without checking that the build systems are even configured to add the needed definition, am I right Cam? :P

10 years agoFix for last fix, should have checked it actually worked :)
Brecht Van Lommel [Sat, 2 Oct 2010 14:45:56 +0000 (14:45 +0000)]
Fix for last fix, should have checked it actually worked :)

10 years agoFix #24077: convert operator not updating outliner. Note about notifiers:
Brecht Van Lommel [Sat, 2 Oct 2010 14:40:53 +0000 (14:40 +0000)]
Fix #24077: convert operator not updating outliner. Note about notifiers:
NC_SCENE|NC_OBJECT does not work, you can only have one NC/ND/NA in a
single notifier, if you need to do both, use two notifiers.

10 years agoMost likely fix for #23420: viewer node: loses viewer nodes forever.
Brecht Van Lommel [Sat, 2 Oct 2010 14:32:03 +0000 (14:32 +0000)]
Most likely fix for #23420: viewer node: loses viewer nodes forever.

Related to another bug fixed recently, both viewer + split viewer
could be set to output to the same image. That also could make node
tree localization/sync go wrong.

10 years agoFix #24095: user preferences theme colors didn't match exactly with what
Brecht Van Lommel [Sat, 2 Oct 2010 14:17:20 +0000 (14:17 +0000)]
Fix #24095: user preferences theme colors didn't match exactly with what
was drawn. Problem was that these were not set to be in gamma space. Also
needed to fix automatic 0..255 to 0..1 range conversion for PROP_COLOR_GAMMA,
was only working for PROP_COLOR.

10 years agoFix #24103: copy logic bricks to objects with the same data didn't work.
Brecht Van Lommel [Sat, 2 Oct 2010 14:08:09 +0000 (14:08 +0000)]
Fix #24103: copy logic bricks to objects with the same data didn't work.
Don't know why this check was here, it wasn't there in 2.49 and it's not

10 years agoFix #24096: shift+A add menu not working in pose mode. Useful to have it
Brecht Van Lommel [Sat, 2 Oct 2010 13:57:38 +0000 (13:57 +0000)]
Fix #24096: shift+A add menu not working in pose mode. Useful to have it
here too for rigging.

10 years agoFix warning in collada operator after a recent commit.
Brecht Van Lommel [Sat, 2 Oct 2010 13:52:46 +0000 (13:52 +0000)]
Fix warning in collada operator after a recent commit.

10 years agoFix #24098: new file and load factory settings sharing same hotkey.
Brecht Van Lommel [Sat, 2 Oct 2010 13:45:26 +0000 (13:45 +0000)]
Fix #24098: new file and load factory settings sharing same hotkey.
Made these separate operators now, less confusing.

10 years agoFix #24094: Multiresolution sculpt mode undo crash
Sergey Sharybin [Sat, 2 Oct 2010 11:39:11 +0000 (11:39 +0000)]
Fix #24094: Multiresolution sculpt mode undo crash

10 years agoFix #24097: halfway shadow buffer rendererd incorrectly with spot halo. This
Brecht Van Lommel [Sat, 2 Oct 2010 10:39:53 +0000 (10:39 +0000)]
Fix #24097: halfway shadow buffer rendererd incorrectly with spot halo. This
trick can't work with any volumetric effect, so disabled it in case halo is

10 years agoPatch [#23589] Use Author field from User Preferences for COLLADA export.
Nathan Letwory [Sat, 2 Oct 2010 09:42:35 +0000 (09:42 +0000)]
Patch [#23589] Use Author field from User Preferences for COLLADA export.
Submitted by Imran Syed.

When is set, it'll be used instead of default "Blender User".

10 years agoFix #23629: Layers doesn't sign there are objects on them, only if the object is...
Sergey Sharybin [Sat, 2 Oct 2010 09:28:41 +0000 (09:28 +0000)]
Fix #23629: Layers doesn't sign there are objects on them, only if the object is selected

Also fixed layer buttons update when changing scene/screen

10 years agoOSX/Cocoa: Fix [#24068] for correct handling of .blend file names with accented nordi...
Damien Plisson [Sat, 2 Oct 2010 09:17:32 +0000 (09:17 +0000)]
OSX/Cocoa: Fix [#24068] for correct handling of .blend file names with accented nordic characters

10 years agoOSX/Cocoa: Mouse up was not sent to WM after window resize
Damien Plisson [Sat, 2 Oct 2010 09:15:32 +0000 (09:15 +0000)]
OSX/Cocoa: Mouse up was not sent to WM after window resize

10 years ago- spec hardness was missing redraw update
Campbell Barton [Sat, 2 Oct 2010 06:34:04 +0000 (06:34 +0000)]
- spec hardness was missing redraw update
- missed rna rename in image ui
- use BLI_math functions in gpu_draw.c (no functional changes)

10 years agoFix #23932: compositing nodes with viewer and split viewer node could
Brecht Van Lommel [Fri, 1 Oct 2010 21:56:36 +0000 (21:56 +0000)]
Fix #23932: compositing nodes with viewer and split viewer node could
crash, with two threads writing to the same image.

10 years agoFix [#21084] Collada messing up geometry on import and renaming uvlayers
Nathan Letwory [Fri, 1 Oct 2010 19:46:42 +0000 (19:46 +0000)]
Fix [#21084] Collada messing up geometry on import and renaming uvlayers
Reported by Michael Williamson

Add support to write the uvlayer name as found in <bind_vertex_input> semantic attribute (Blender
exports in this one too, so reimport goes ok now).

I have created a patch for OpenCOLLADA to be applied against r769, which is needed
for this fix to work:

The Windows OpenCOLLADA updated builds (r769+patches) will be committed after this.

Note: This means that linux and osx users will have to patch OpenCOLLADA themselves, until
it's committed (or in case of OSX the libs updated in lib/darwinXXX).

10 years agofix for crash when using the console to load a file, when the UI changes dont attempt...
Campbell Barton [Fri, 1 Oct 2010 17:55:35 +0000 (17:55 +0000)]
fix for crash when using the console to load a file, when the UI changes dont attempt to add to the console's buffer.

10 years agostop dna from parsing structs that aren't used needed.
Campbell Barton [Fri, 1 Oct 2010 15:59:34 +0000 (15:59 +0000)]
stop dna from parsing structs that aren't used needed.

10 years agofix [#24083] Crash when opening a certain file
Campbell Barton [Fri, 1 Oct 2010 13:51:48 +0000 (13:51 +0000)]
fix [#24083] Crash when opening a certain file
own error in recent commit.

10 years agominor bugfix [#24085] NULL character is last
Campbell Barton [Fri, 1 Oct 2010 13:30:09 +0000 (13:30 +0000)]
minor bugfix [#24085] NULL character is last
so "blah.blend" comes before "blah 1.blend"

10 years agominor adjustment to camera object drawing so arrow stays same size independent of...
Campbell Barton [Fri, 1 Oct 2010 13:27:59 +0000 (13:27 +0000)]
minor adjustment to camera object drawing so arrow stays same size independent of aspect.

10 years ago3d text added with the view align option didnt work.
Campbell Barton [Fri, 1 Oct 2010 12:25:18 +0000 (12:25 +0000)]
3d text added with the view align option didnt work.

10 years agoAdded RNA conversions to the fcurve/driver fix script from my sequencer speed effect...
Janne Karhu [Fri, 1 Oct 2010 09:54:07 +0000 (09:54 +0000)]
Added RNA conversions to the fcurve/driver fix script from my sequencer speed effect commit.

10 years agoChange <UNKNOWN> to -UNKNOWN- so exporters can be happy too, when a build was created...
Nathan Letwory [Fri, 1 Oct 2010 08:29:27 +0000 (08:29 +0000)]
Change <UNKNOWN> to -UNKNOWN- so exporters can be happy too, when a build was created without svnversion (or from export).

10 years agoAdd distance check in lasso generation to get a smoother lasso.
Nathan Letwory [Fri, 1 Oct 2010 08:12:37 +0000 (08:12 +0000)]
Add distance check in lasso generation to get a smoother lasso.

Hopefully this helps with lasso select troubles [#21179].

10 years agoattempt to fix [#21179] r26939 - Lasso tool does not work when drawing counter clock...
Campbell Barton [Fri, 1 Oct 2010 07:49:00 +0000 (07:49 +0000)]
attempt to fix [#21179] r26939 - Lasso tool does not work when drawing counter clock wise

can't test this so guessing this is caused by face culling.

10 years agobugfix [#24065] obj export (mtl image path)
Campbell Barton [Fri, 1 Oct 2010 05:19:40 +0000 (05:19 +0000)]
bugfix [#24065] obj export (mtl image path)

10 years agoFix #23186: use of unitialized memory when creating new faces on a mesh
Brecht Van Lommel [Thu, 30 Sep 2010 22:27:37 +0000 (22:27 +0000)]
Fix #23186: use of unitialized memory when creating new faces on a mesh
with a multires modifier.

10 years agoFix #24074: shift+MMB didn't pan in image editor like other 2d views.
Brecht Van Lommel [Thu, 30 Sep 2010 21:07:42 +0000 (21:07 +0000)]
Fix #24074: shift+MMB didn't pan in image editor like other 2d views.

10 years agoFix #23540: smoke preview shading only used point lamps, now it uses other
Brecht Van Lommel [Thu, 30 Sep 2010 20:19:54 +0000 (20:19 +0000)]
Fix #23540: smoke preview shading only used point lamps, now it uses other
lamps to if no point lamp is available.

10 years agoFix #24067: sculpt brush/texture preview would disappear when overlapping
Brecht Van Lommel [Thu, 30 Sep 2010 18:35:54 +0000 (18:35 +0000)]
Fix #24067: sculpt brush/texture preview would disappear when overlapping
with the region boundary. Use glaDrawPixelsSafe like e.g. the image editor
to prevent this.

10 years ago2d grease pencil thickness was double with width it should have been.
Campbell Barton [Thu, 30 Sep 2010 17:23:39 +0000 (17:23 +0000)]
2d grease pencil thickness was double with width it should have been.

10 years ago[#24066] Menu_Items_Greyed
Campbell Barton [Thu, 30 Sep 2010 15:07:22 +0000 (15:07 +0000)]
[#24066] Menu_Items_Greyed
revert fix for bug #24009, this made menu items fail poll()

10 years agoAction/Shapekey Editor Bugfixes:
Joshua Leung [Thu, 30 Sep 2010 12:42:45 +0000 (12:42 +0000)]
Action/Shapekey Editor Bugfixes:
* Shapekey editor now shows ID-box for showing and editing the action assigned here. This should help alleviate the misconceptions arising to #23823, where user tries to load shapekey action into Action Editor (context there is ob-action only).

There are still a few minor update bugs that I still need to fix here (i.e. post keyframing) though. Those shouldn't take too long I think.

* Changing the action used in the Action Editor properly decrements the user counts now. This solves the bug where you could get actions with a high usercount, but not that many actual users.

10 years agoPatch #24056: Indicate keyed status of swatches
Joshua Leung [Thu, 30 Sep 2010 12:10:18 +0000 (12:10 +0000)]
Patch #24056: Indicate keyed status of swatches
Submitted by: Shane Ambler (sambler)

From blenderstorm idea# 169 this patch changes the swatch button to display a border showing the keyed status colour
of the colour.

I chose to go with showing the keyed colour in a border around the swatch, insetting the size of the swatch colour to
prevent altering the sizing of the swatch. An un-keyed swatch is not altered visually, only a keyed colour swatch is
changed to have the keyed colour around the outside of the swatch button.

I think a border of 3 pixels is sufficient to make the keyed colour visible without taking too much of the colour area

10 years agoCleanup of Auto-Keyframing code:
Joshua Leung [Thu, 30 Sep 2010 11:56:39 +0000 (11:56 +0000)]
Cleanup of Auto-Keyframing code:

Moved duplicated code out to a special new function so that this doesn't need to be copied all over for each transform op that needs this.

10 years agoPrevent crash if image for image texture is not set, part II.
Nathan Letwory [Thu, 30 Sep 2010 11:49:48 +0000 (11:49 +0000)]
Prevent crash if image for image texture is not set, part II.

10 years agoPrevent crash if image for image texture is not set.
Nathan Letwory [Thu, 30 Sep 2010 11:42:02 +0000 (11:42 +0000)]
Prevent crash if image for image texture is not set.

10 years agoBugfix #23707: Autokey Available is ignored on a Clear Transform
Joshua Leung [Thu, 30 Sep 2010 11:27:47 +0000 (11:27 +0000)]
Bugfix #23707: Autokey Available is ignored on a Clear Transform

Second attempt at fixing. Last time, I missed the case where the "Only Insert Available" userpref was enabled, which was why the bugreport was reopened. Hopefully I haven't missed anything else...

10 years ago[#23673] Modifier construction gives correct result in viewport but incorrect in...
Campbell Barton [Thu, 30 Sep 2010 10:51:36 +0000 (10:51 +0000)]
[#23673] Modifier construction gives correct result in viewport but incorrect in render.

When there are 2+ consecutive deform modifiers, the second modifier was getting incorrect normals, this only showed up for the displace modifier since its the only deform modifier that uses vertex normals.

It would have been easy to fix this by always calculating normals on deform modifiers, but slow.

To fix this I added a function to check if a deform modifier needs normals, so the normal calculation function only runs if there are 2 modifiers in a row and the second uses normals.

10 years agoBugfix #23031: adding a driver ontop of keyframe makes driver undeletable
Joshua Leung [Thu, 30 Sep 2010 10:39:05 +0000 (10:39 +0000)]
Bugfix #23031: adding a driver ontop of keyframe makes driver undeletable

Now drivers cannot be added to properties that have been animated (and visa versa). Previously, the check was only checking if there was a keyframe, not whether the property was animated.

10 years agoSequence effect scale to length should work with the original (non-extruded) length...
Janne Karhu [Thu, 30 Sep 2010 09:34:22 +0000 (09:34 +0000)]
Sequence effect scale to length should work with the original (non-extruded) length of the target strip.

10 years agoSet IB_multilayer flag, so can use multilayer exr as texture too.
Nathan Letwory [Thu, 30 Sep 2010 07:39:00 +0000 (07:39 +0000)]
Set IB_multilayer flag, so can use multilayer exr as texture too.

10 years agobugfix [#24062] draw_view_icon() broken
Campbell Barton [Thu, 30 Sep 2010 07:31:37 +0000 (07:31 +0000)]
bugfix [#24062] draw_view_icon() broken
icons needed adding to the new theme

10 years agouse constant rather then sqrt(2.0)
Campbell Barton [Thu, 30 Sep 2010 07:06:00 +0000 (07:06 +0000)]
use constant rather then sqrt(2.0)

10 years agorename makeknots to nurbs_knot_calc_u/v
Campbell Barton [Thu, 30 Sep 2010 06:51:32 +0000 (06:51 +0000)]
rename makeknots to nurbs_knot_calc_u/v

10 years agocleanup of nurb spin function, was very confusing. no functional changes.
Campbell Barton [Thu, 30 Sep 2010 05:26:36 +0000 (05:26 +0000)]
cleanup of nurb spin function, was very confusing. no functional changes.

10 years agoFix #24018: moving backdrop in node editor not working anymore after thread
Brecht Van Lommel [Wed, 29 Sep 2010 22:13:24 +0000 (22:13 +0000)]
Fix #24018: moving backdrop in node editor not working anymore after thread
safety fixes, was one case where it was still using get_ibuf instead of
acquire/release_ibuf, this is required for render and compositing results
which are modified by other threads.

10 years agofix for nurbs spin tool (broken since being moved to 2.5x).
Campbell Barton [Wed, 29 Sep 2010 16:18:39 +0000 (16:18 +0000)]
fix for nurbs spin tool (broken since being moved to 2.5x).

10 years agobugfix [#24041] Adding NURBS Sphere and NURBS Donut problem
Campbell Barton [Wed, 29 Sep 2010 15:19:16 +0000 (15:19 +0000)]
bugfix [#24041] Adding NURBS Sphere and NURBS Donut problem

10 years agoCleanup of code and ui of sequencer speed effect.
Janne Karhu [Wed, 29 Sep 2010 13:38:43 +0000 (13:38 +0000)]
Cleanup of code and ui of sequencer speed effect.
* Sequence speed effect was functional in theory, but very difficult to actually use.
* Now the effect works as follows:
  - "Speed Factor" (formerly "speed fade") controls the current speed of the sequence (can be animated).
  - "Use as speed" (formerly "f-curve velocity") is now the default behavior so that the "speed effect" by default changes the "speed" of the sequence.
  - "Multiply Speed" (formerly "global speed") is a scale factor that's applied to the calculated frame (can't be animated).
  - Without animation "Speed Factor" and "Multiply Speed" work exactly the same (in this case "multiply speed" could perhaps be disabled in ui, but currently there's no easy way to check this).
  - If "Use as speed" is not checked the effect simply remaps the current frame to the given "Frame Number" (can be animated).
  - "Scale to length" (formerly "f-curve compress y")scales "Frame numbers" from 0.0-1.0 to the length of the target strip to allow easy animation.
* Tooltips added for all values and options.
* Code for frame blending was nowhere to be seen, so I commented the option out from ui.
* This should fix at least bugs #20979 and #21309.