Commit Graph

26160 Commits

Author SHA1 Message Date
Campbell Barton
ab8aa13b82 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.
2010-10-03 20:00:22 +00:00
Campbell Barton
3e3e10668e 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.
2010-10-03 18:45:27 +00:00
Guillermo S. Romero
fbe1b518f0 Fix attribution, as noticed by Dalai Felinto. 2010-10-03 16:39:07 +00:00
Guillermo S. Romero
41a3f5863d Add include directive so buildinfo compilation can find defines, see r32271. 2010-10-03 16:30:10 +00:00
Campbell Barton
b0b5db57da build systems have been updated, remove use of ~/.blender/ directly, ~/.blender/*version*/ instead. 2010-10-03 16:16:00 +00:00
Campbell Barton
157d1205a4 added len_squared_v2v2, use instead of len_v3v3 for font handle tests, also fixed some warnings. 2010-10-03 14:16:27 +00:00
Campbell Barton
ed7ffb111a bugfix [#24116] UV layout exporting doesnt work
in-fact this is unrelated to UV Layout script, just a missing check for an bad state.
2010-10-03 12:22:33 +00:00
Campbell Barton
c5086987ec fix for scons with recent buildinfo change 2010-10-03 11:33:44 +00:00
Campbell Barton
05884e09be - 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.
2010-10-03 01:44:00 +00:00
Mitchell Stokes
bcf6726b0b Making the docs for bge.types.KX_SCA_AddObjectActuator.instantAddObject() more clear. Thanks to delaney for pointing this out. 2010-10-03 01:32:01 +00:00
Campbell Barton
27c444acb6 python console prompt + edit line is how selectable. 2010-10-02 22:31:48 +00:00
Campbell Barton
491aebbf67 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.
2010-10-02 21:02:40 +00:00
Nathan Letwory
3f768cb472 Redraw object buttons on next/previous frame in 3dview, otherwise for instance
Transform panel won't get updated for keyed objects.
2010-10-02 20:31:54 +00:00
Campbell Barton
1d2b96fa81 set the view3d used layer to be an unsigned int, mask out localview layers to avoid flag mismatch when checking if it changed. 2010-10-02 19:45:53 +00:00
Campbell Barton
3aef138175 for view layer calculation, only break early if all layers are set, was breaking if any layer was set. 2010-10-02 19:38:09 +00:00
Brecht Van Lommel
77b75e23ba Fix #22348: disabled image editor curves on non-float images, this never
worked correct, only got enabled accidentally in 2.5 port.
2010-10-02 19:31:58 +00:00
Campbell Barton
a6e7823942 make fly mode border draw into a area drawing callback rather then using a flag (no functional change). 2010-10-02 19:31:23 +00:00
Campbell Barton
5faa29b01d move window matrix translation into its own function. (no functional changes) 2010-10-02 19:06:20 +00:00
Campbell Barton
283372ab3c 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.
2010-10-02 17:10:28 +00:00
Brecht Van Lommel
8cb17690f1 Fix #23785: in the game engine, if an object had an armature modifier + another
modifier, it would apply the armature deformation twice.
2010-10-02 16:42:12 +00:00
Thomas Dinges
9e72351c96 Small CMAKE Fix, discovered by freakabcd in IRC. 2010-10-02 16:29:58 +00:00
Thomas Dinges
4f6fc938a6 * Script wasn't updated after "Load Factory Settings" Operator decoupling. 2010-10-02 16:19:33 +00:00
Joerg Mueller
0daa9ec5d9 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
2010-10-02 15:27:55 +00:00
Brecht Van Lommel
2bfc5d53bb Fix for last fix, should have checked it actually worked :) 2010-10-02 14:45:56 +00:00
Brecht Van Lommel
e1b5daa36f 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.
2010-10-02 14:40:53 +00:00
Brecht Van Lommel
9aa2bde26b 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.
2010-10-02 14:32:03 +00:00
Brecht Van Lommel
11467a7873 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.
2010-10-02 14:17:20 +00:00
Brecht Van Lommel
a634d44510 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
necessary.
2010-10-02 14:08:09 +00:00
Brecht Van Lommel
8d309f8500 Fix #24096: shift+A add menu not working in pose mode. Useful to have it
here too for rigging.
2010-10-02 13:57:38 +00:00
Brecht Van Lommel
161ae2b572 Fix warning in collada operator after a recent commit. 2010-10-02 13:52:46 +00:00
Brecht Van Lommel
96565073d3 Fix #24098: new file and load factory settings sharing same hotkey.
Made these separate operators now, less confusing.
2010-10-02 13:45:26 +00:00
Sergey Sharybin
4c63215e38 Fix #24094: Multiresolution sculpt mode undo crash 2010-10-02 11:39:11 +00:00
Brecht Van Lommel
3716e6a176 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
enabled.
2010-10-02 10:39:53 +00:00
Nathan Letwory
27fa0dfc70 Patch [#23589] Use Author field from User Preferences for COLLADA export.
Submitted by Imran Syed.

When U.author is set, it'll be used instead of default "Blender User".
2010-10-02 09:42:35 +00:00
Sergey Sharybin
1410df2f14 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
2010-10-02 09:28:41 +00:00
Damien Plisson
b6bdf681fb OSX/Cocoa: Fix [#24068] for correct handling of .blend file names with accented nordic characters 2010-10-02 09:17:32 +00:00
Damien Plisson
af8ae62ec0 OSX/Cocoa: Mouse up was not sent to WM after window resize 2010-10-02 09:15:32 +00:00
Campbell Barton
db1b74654b - spec hardness was missing redraw update
- missed rna rename in image ui
- use BLI_math functions in gpu_draw.c (no functional changes)
2010-10-02 06:34:04 +00:00
Brecht Van Lommel
734b7b969d Fix #23932: compositing nodes with viewer and split viewer node could
crash, with two threads writing to the same image.
2010-10-01 21:56:36 +00:00
Nathan Letwory
99ebe229f6 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: http://code.google.com/p/opencollada/issues/detail?id=117

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).
2010-10-01 19:46:42 +00:00
Campbell Barton
ee84a5b082 fix for crash when using the console to load a file, when the UI changes dont attempt to add to the console's buffer. 2010-10-01 17:55:35 +00:00
Campbell Barton
38b6ca0358 stop dna from parsing structs that aren't used needed. 2010-10-01 15:59:34 +00:00
Campbell Barton
f9884b8137 fix [#24083] Crash when opening a certain file
own error in recent commit.
2010-10-01 13:51:48 +00:00
Campbell Barton
efb98f2499 minor bugfix [#24085] NULL character is last
so "blah.blend" comes before "blah 1.blend"
2010-10-01 13:30:09 +00:00
Campbell Barton
2e44e06450 minor adjustment to camera object drawing so arrow stays same size independent of aspect. 2010-10-01 13:27:59 +00:00
Campbell Barton
ebca34a282 3d text added with the view align option didnt work. 2010-10-01 12:25:18 +00:00
Janne Karhu
84fe3ab081 Added RNA conversions to the fcurve/driver fix script from my sequencer speed effect commit. 2010-10-01 09:54:07 +00:00
Nathan Letwory
4418396a45 Change <UNKNOWN> to -UNKNOWN- so exporters can be happy too, when a build was created without svnversion (or from export). 2010-10-01 08:29:27 +00:00
Nathan Letwory
b85f779355 Add distance check in lasso generation to get a smoother lasso.
Hopefully this helps with lasso select troubles [#21179].
2010-10-01 08:12:37 +00:00
Campbell Barton
65b92821e1 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.
2010-10-01 07:49:00 +00:00