Commit Graph

26150 Commits

Author SHA1 Message Date
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
Campbell Barton
3dea67a3fd bugfix [#24065] obj export (mtl image path) 2010-10-01 05:19:40 +00:00
Brecht Van Lommel
4ab6881617 Fix #23186: use of unitialized memory when creating new faces on a mesh
with a multires modifier.
2010-09-30 22:27:37 +00:00
Brecht Van Lommel
0fce27d68e Fix #24074: shift+MMB didn't pan in image editor like other 2d views. 2010-09-30 21:07:42 +00:00
Brecht Van Lommel
da4b54cd5d Fix #23540: smoke preview shading only used point lamps, now it uses other
lamps to if no point lamp is available.
2010-09-30 20:19:54 +00:00
Brecht Van Lommel
96977c6ffe 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.
2010-09-30 18:35:54 +00:00
Campbell Barton
09342644cf 2d grease pencil thickness was double with width it should have been. 2010-09-30 17:23:39 +00:00
Campbell Barton
645d283db3 [#24066] Menu_Items_Greyed
revert fix for bug #24009, this made menu items fail poll()
2010-09-30 15:07:22 +00:00
Joshua Leung
b3c8efb3ef 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.
2010-09-30 12:42:45 +00:00
Joshua Leung
0dcf67a83a Patch #24056: Indicate keyed status of swatches
Submitted by: Shane Ambler (sambler) 

<quote>
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
away.
</quote>
2010-09-30 12:10:18 +00:00
Joshua Leung
d6ee8a0e4d 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.
2010-09-30 11:56:39 +00:00