Campbell Barton
f08e8af0b9
wm.invoke_popup(op, width, height) similar to wm.invoke_props_popup(op, event) except it doesnt use undo/redo (UI's need to execute operators themselves)
2009-12-06 04:35:00 +00:00
Campbell Barton
062cf438ce
remove nasty hack which made StructRNA class instaces have no __dict__,
...
use __slots__, it seems all the parent classes need to have slots as well for this to work.
all python defined srna classes are checked for this too
2009-12-05 23:41:45 +00:00
Campbell Barton
5ebe54f470
pep8 edits and fix some warnings
2009-12-05 22:03:07 +00:00
Thomas Dinges
8821f7d7ea
2.5 Nodes:
...
* Node listener missed "ND_SHADING_DRAW".
2009-12-05 21:54:46 +00:00
Thomas Dinges
9d2293c464
2.5 Nodes:
...
* Wrapped Texture Nodes: "Blend", "Marble", "Wood", "Clouds", and "Distorted Noise", to use Texture RNA properties.
* Texture RNA properties used in these Nodes, now send an ND_NODE notifier, in addition to the general NC_TEXTURE.
2009-12-05 21:14:31 +00:00
Martin Poirier
bcd1ab54cd
Support for the C Macro system in Python.
...
Basic definition works like a python operator but you derive from "bpy.types.Macro" instead.
Operators are added to the macro after it has been added with "bpy.ops.add_macro" through the class method "define" which takes an operator id and returns an OperatorMacroType (new RNA type) for which properties can then be defined to be passed to the operator when run.
Example: http://blenderartists.org/~theeth/bf/macro.py
Using this system, it should be easy to add an operator to the console that converts selected lines into a macro or even a more generic record macro system.
2009-12-05 19:27:26 +00:00
Martin Poirier
f287762678
Macros in macro didn't work correctly.
2009-12-05 19:05:21 +00:00
Campbell Barton
d98cbf7727
simple fix [ #20218 ] Object.is_visible() don't reflect visibility
2009-12-05 14:12:06 +00:00
Dalai Felinto
b7e0d5ac34
BGE fix for GameLogic["post_draw"] not working with 2DFilters
...
(reported by Mike Pan(mpan3), it's not in the tracker)
2009-12-05 02:30:20 +00:00
Nathan Letwory
f539604094
* proper SSE setting for mingw.
...
* some cleanup of render module SConscript
2009-12-05 01:07:42 +00:00
Nathan Letwory
c2b71607d2
* provide SCons support to enabling jaguarandi SIMD raytracer optimizations for real :)
...
Until now only SSE switches were defined, but to really enjoy the SIMD structures, the
__SSE__ define needs to be given. This can now be done with setting in your user-config.py
WITH_BF_RAYOPTIMIZATION=True
(or WITH_BF_RAYOPTIMIZATION=1 on command-line)
2009-12-05 00:26:20 +00:00
Martin Poirier
56b0880d2f
Null check for baking progressend function
...
Simplify end of line for console progress.
2009-12-04 19:08:07 +00:00
Martin Poirier
e9b7482b6a
Save_Mainfile operator only needs window for invoke. Removed poll function and replace by a check in invoke that cancels if no window is present.
...
Makes it possible to be called in background mode.
2009-12-04 19:07:25 +00:00
Thomas Dinges
f21ec89081
Fix for [ #20144 ] Game physics panel - softbody allows other collision bounds.
2009-12-04 19:06:17 +00:00
Brecht Van Lommel
f3201f0853
UI: curve widget tweaks
...
* Make snap ctrl instead of shift
* Only enable snapping after moving a few pixels,
otherwise too easy to do enable this by accident.
* Deselecting points with shift did not work.
2009-12-04 15:32:26 +00:00
Benoit Bolsee
0b6873a776
BGE: Add option to return UV coordinates aofthe hit point to KX_GameObject::rayCast(). Details in PyDoc.
2009-12-04 11:27:40 +00:00
Joshua Leung
d1563601f4
This commit deletes temporary "temp" screen layouts when the windows using them get closed.
2009-12-04 09:58:00 +00:00
Matt Ebb
e299798bbf
Fix for [ #20203 ] Linked objects - A few bugs
...
Did a lot of cleaning Object operator poll functions to check if the object's linked
or not. For this, added the function ED_operator_object_active_editable() as
opposed to ED_operator_object_active()
2009-12-04 06:33:01 +00:00
Matt Ebb
d828062f1b
Fix for [ #20157 ] 2.5 Can`t remove a linked objects from the 3D view by pressing X
2009-12-04 05:05:50 +00:00
Matt Ebb
e31f3e63cd
Fix for [ #19958 ] Changes in UV/Image editor doesn't refresh mapping on mesh in 3dview immediately
...
Enabled 'update automatically' (lock) in image editors by default
Also enabled transform manipulators by default, unfortunately missed for alpha 0 release.
2009-12-04 04:56:42 +00:00
Matt Ebb
cbfb8fbd7f
Fix for [ #19921 ] pressing NumpadDot on isolated mode centers the 3D cursor
2009-12-04 04:41:32 +00:00
Matt Ebb
a358b6386d
* Fix for incorrect disabling after baking cloth sim
...
* Fix for time cursor getting 'stuck' after baking point caches
2009-12-04 04:28:50 +00:00
Joshua Leung
45955fef18
Bugfixes: Deleting Keyframes + F-Curves
...
This commit fixes #19908 and #20239 . Deleting keyframes will now delete the F-Curves they came from too, if the F-Curves don't have any more keyframes and/or F-Modifiers providing any further motion info.
2009-12-04 03:51:52 +00:00
Campbell Barton
a9b9993414
rna function
...
editbone.align(vector), to align the bones z axis to a localspace direction.
finished leg rig pose mode data
2009-12-04 02:32:34 +00:00
Matt Ebb
30d752502b
Fix for [ #19884 ] Curve resolution slider not affecting anything
2009-12-04 01:38:36 +00:00
Martin Poirier
77aacc6ce4
Print baking progress to console when window is not available.
2009-12-04 01:26:42 +00:00
Martin Poirier
b1a1a0f135
Cleaning: update a couple of functions to use scene from context instead of from screen.
2009-12-04 01:25:43 +00:00
Matt Ebb
ae7cf1df8f
Partial fix for [ #19874 ]
...
can use RMB to cancel joining areas, same as splitting
2009-12-04 01:21:55 +00:00
Matt Ebb
688c4aa1de
Fix for [ #19478 ] Shortkeys for switch to Quad view mode is not working
...
changed default quad view shortcut to Ctrl Alt Q
2009-12-04 00:49:02 +00:00
Martin Poirier
1757b06e88
Only set baking progress function to cursor when a window is present.
...
This enables baking in background mode (instead of just crashing).
2009-12-03 22:48:00 +00:00
Martin Poirier
18b465b749
Finish renaming job in Set Center operator to use Origin instead of Center.
...
Also replace ObData by Geometry and Object Geometry after talk with Matt.
2009-12-03 21:56:04 +00:00
Campbell Barton
3b0e182f71
- property decorators for setting attributes didnt work, hack to prevent every instance of an BPyStructRNA to have its own dictionary, set the tp_dictoffset to 0. attempted to use __slots__ but this doesnt work for some reason.
...
- made bone.length writable
2009-12-03 21:53:01 +00:00
Matt Ebb
a4d8c4a745
Fix for [ #20240 ] Image inputs to the compositor are white when using color management
...
was missing include
2009-12-03 21:49:29 +00:00
Martin Poirier
e4a97d67b6
Make toggle and hold snap method cohabit nicely.
...
Shift-Tab toggles the global toolsetting snap settings (both in and out of transform).
Holding down Ctrl inverts the snap setting in transform (turns it on when global snap is off and vice versa).
Ctrl-Shift-Tab to select snap mode (only outside of transform for now).
For old (pre 2.5) behavior, just keep global snap off and use Ctrl.
NOTE: transform modal events for snap have change a bit, saved keymap might not work anymore.
2009-12-03 19:18:00 +00:00
Damien Plisson
3b1c6d6065
Quicktime Carbon: Fix memory leak when build with cocoa
2009-12-03 12:16:00 +00:00
Joshua Leung
1fd581ad77
Bugfix: Toggle animation channel visibility (shift-v) was not flushing the new values correctly
...
- Modifying groups did not flush status to channels below
- Objects were always toggled. Still need to figure out why this didn't work right...
2009-12-03 10:27:22 +00:00
Joshua Leung
b440fe1611
Fix for one of the issues in #20230 : Comp Nodes animations not saving to .blend
...
AnimData was not getting written to files for Node Trees.
2009-12-03 10:23:38 +00:00
Joshua Leung
42970d81fc
Bugfix #20190 : Scaling Bone Joints in envelope drawmode
...
Made scaling selected joints using SKEY work in the same way as in 2.4x
However, it'd probably be nice to be able to have separate hotkeys for this at a later stage.
2009-12-03 10:18:47 +00:00
Damien Plisson
cbab6e57dc
QTkit : update build checks to allow only 10.5+/64bit builds
...
Other SDK versions do not handle correctly QTKit movie creation in a background thread.
Carbon quicktime should be used for the 32bit builds (USE_QTKIT = 0)
2009-12-03 09:59:52 +00:00
Joshua Leung
f146d96c3b
Bugfix #20219 : Timeline navigation
...
Added missing "View All" (HomeKey) operator for TimeLine
2009-12-03 09:56:31 +00:00
Matt Ebb
8c313fa931
Fix for color management not working with AVI output, patch by Damien Plisson, thanks!
2009-12-03 09:51:02 +00:00
Matt Ebb
bd8e929044
Fix for [ #20226 ] 3DView header: hiding menu texts and layer button's issue.
...
Also: big purge of old 3d view header menus and old unused code
2009-12-03 09:49:21 +00:00
Matt Ebb
22290fbbbb
Fix for [ #20168 ] Particle velocity display toggle issue
...
Thanks Alan Taylor for the initial patch
2009-12-03 00:42:02 +00:00
Matt Ebb
5e5d05b8dd
Fix for [ #20180 ] Wrong multiplicator in Random Selection
...
Also:
Added extend select option to select random (off by default)
Tweaked 'Select Axis' to use an enum for axes
2009-12-03 00:17:34 +00:00
Matt Ebb
ae91675312
Fix for [ #20154 ] Shaded draw mode needs to be removed when loading files
2009-12-02 23:14:58 +00:00
Janne Karhu
47b457f19e
Bug fix: Verlet integration didn't work properly with moving particle emitters.
...
Thanks for mcreamsurfer for reporting and Farsthary for the patch!
2009-12-02 20:53:28 +00:00
Martin Poirier
63fc267929
[ #20213 ] Align to Transform Orientation crashes Blender
...
Align needs to be call with region context.
Also added checks to prevent this from crashing if not called properly.
2009-12-02 19:59:57 +00:00
Martin Poirier
bce687ef36
Menu handlers need to return OUT when clicking outside, not OK
...
Caused crashes with window type selector and a slew of other unwanted behaviors.
2009-12-02 19:32:21 +00:00
Thomas Dinges
2a6d535d23
Fixed a part of [ #20197 ] dof node bugs.
...
* False greying out.
2009-12-02 18:35:44 +00:00
Campbell Barton
ce36cdac04
- bpy.data.add_armature()
...
- rigify testnig function, creates all example metarigs, processes and generates graphs for before and after.
2009-12-02 15:37:07 +00:00