Campbell Barton [Sat, 13 Feb 2010 12:41:58 +0000 (12:41 +0000)]
print blend file loading, because...
- Often need to open a file that just crashed/hung in valgrind or gdb
- Sometimes need to commit a blend that was just opened and blender has no fast way to get the blend file in the clipboard.
since libraries also print in the console, dont see any problems with adding this.
Brecht Van Lommel [Sat, 13 Feb 2010 12:16:33 +0000 (12:16 +0000)]
Fix #20378: object modifier property drivers not updating.
Campbell Barton [Sat, 13 Feb 2010 10:55:04 +0000 (10:55 +0000)]
revert joes commit and apply change from Aligorith.
remove scripts dir only.
Joseph Eagar [Sat, 13 Feb 2010 10:05:06 +0000 (10:05 +0000)]
ideasman/brecht: please don't touch this again. this clears the .blender folder along with everything else; oddly enough it left in the .B25.blend, but bookmarks/recent file lists were nuked. anyway, I just made the install folder deletion off by default. if you must do it, do it on the build systems you yourselves use/maintain, don't touch scons.
Jens Ole Wund [Sat, 13 Feb 2010 00:52:01 +0000 (00:52 +0000)]
fixing cuckoo bugs
- no i really don't like abusing group indexes (would like to have written indices .. but spell checker complains SIGH )
anyhow
lattices and curves do not care for ambiguous vertex group index any more
just take weights as they are set
Martin Poirier [Fri, 12 Feb 2010 22:13:47 +0000 (22:13 +0000)]
Smart Extrude (hotkeys are tentative)
Ekey: Extrude Region
Based on selection totals:
Extrude region along normal if at least one face selected
Extrude vertex along normal if only one vertex selected (experimental)
Extrude edge on its plane if only one edge selected (experimental)
Extrude with no constraint axis otherwise
Shift-Ekey: Extrude Individual
Based on selection modes and selection totals
Individual Faces if face select and some faces are selected
Individual Edges if edge select and some edges are selected
Individual Vertice otherwise
Alt-Ekey: Extrude Menu (only shows valid options for selection mode and selection totals)
Martin Poirier [Fri, 12 Feb 2010 22:03:23 +0000 (22:03 +0000)]
Mesh selection totals in RNA (patch by Campbell)
Martin Poirier [Fri, 12 Feb 2010 22:02:10 +0000 (22:02 +0000)]
Remove debug print
Campbell Barton [Fri, 12 Feb 2010 21:45:47 +0000 (21:45 +0000)]
strip quotes from Buildinfo for bpy.app.build_*
Martin Poirier [Fri, 12 Feb 2010 21:40:46 +0000 (21:40 +0000)]
Calling operators from Python with non-default context was broken (need to assign to the right variable).
Campbell Barton [Fri, 12 Feb 2010 21:14:01 +0000 (21:14 +0000)]
Python deprcated PyCObject, use PyCapsule instead.
Arystanbek Dyussenov [Fri, 12 Feb 2010 20:32:36 +0000 (20:32 +0000)]
Merge -c 26848 from COLLADA branch into trunk.
Campbell Barton [Fri, 12 Feb 2010 17:07:57 +0000 (17:07 +0000)]
[#21109] export doesnt create *.3ds file when requested
Campbell Barton [Fri, 12 Feb 2010 16:48:04 +0000 (16:48 +0000)]
[#21121] Limit to visible don't works well in Face mode
dont draw face dots when drawing backbuffer
Campbell Barton [Fri, 12 Feb 2010 16:26:35 +0000 (16:26 +0000)]
bugfix [#21090] Crash because of slow USB drive
missing NULL check
Campbell Barton [Fri, 12 Feb 2010 15:33:32 +0000 (15:33 +0000)]
[#21123] Refresh screen after applying click in WM_gesture_circle_modal()
patch from Sergey Sharybin (nazgul)
Campbell Barton [Fri, 12 Feb 2010 14:46:04 +0000 (14:46 +0000)]
typo in zeroing a vector
Campbell Barton [Fri, 12 Feb 2010 14:34:08 +0000 (14:34 +0000)]
fix use of uninitialized vars with the color wheel.
Campbell Barton [Fri, 12 Feb 2010 13:34:04 +0000 (13:34 +0000)]
correct fsf address
Campbell Barton [Fri, 12 Feb 2010 12:57:58 +0000 (12:57 +0000)]
use a more direct way to get the active UV and VCol layer
Campbell Barton [Fri, 12 Feb 2010 12:29:39 +0000 (12:29 +0000)]
scons option - WITHOUT_BF_OVERWRITE_INSTALL
only use this if your not making packages for others.
Joerg Mueller [Fri, 12 Feb 2010 11:59:07 +0000 (11:59 +0000)]
Lowering latency of jack a little depending on buffer size.
Joshua Leung [Fri, 12 Feb 2010 11:48:55 +0000 (11:48 +0000)]
Bugfixes:
1) Summary channel in DopeSheet was using uninitialised color for backdrop, resulting in weird/wrong colours
2) Commented out the view2d hotkeys added earlier, since they currently cause some conflicts for animation editor hotkeys (namely NLA)
Campbell Barton [Fri, 12 Feb 2010 11:34:25 +0000 (11:34 +0000)]
button to save edited textures in texture paint
Campbell Barton [Fri, 12 Feb 2010 11:03:41 +0000 (11:03 +0000)]
fix for depth drawing + clipping
Joshua Leung [Fri, 12 Feb 2010 10:20:11 +0000 (10:20 +0000)]
Quicky View2D commit:
Page Up/Down hotkeys for working with scrolling View2D views
Joshua Leung [Fri, 12 Feb 2010 09:42:34 +0000 (09:42 +0000)]
FModifier drawing typo:
All F-Modifiers were had their RNA pointers initialised as "Function Generator" modifiers when drawing.
Joshua Leung [Fri, 12 Feb 2010 09:18:10 +0000 (09:18 +0000)]
Tweak to the changes from r26820 (nuking scons install directory):
Those changes made developing Blender using scons as buildsystem impractical. They were nuking my various configs everytime I compiled resulting in a long wait for all the files to get copied over again at the end, or else I'd have to manually go scouting out files to copy over.
Now, made this only nuke the scripts directory there which IMO solves the main issues that the original commit intended to solve (outdated scripts lingering in that folder, and mixing with the new ones).
If there are complaints that only doing the scripts dir is not enough, then we better just make this destructive stuff an optional thing (i.e. by default, nuking will still occur, but at least developers can disable)
Daniel Salazar [Fri, 12 Feb 2010 05:02:29 +0000 (05:02 +0000)]
Align Objects operator: added selection center as align center
Dalai Felinto [Fri, 12 Feb 2010 03:40:28 +0000 (03:40 +0000)]
BGE: linear velocity and angular velocity are attributes now
... what lead me to wonder if we should remove obj.setAngularVelocity, obj.setLinearVelocity, obj.getLinearVelocity and obj.getAngularVelocity.
* this was so Copy and Paste ... anyways tests are welcome (I never used those methods in python myself).
Joshua Leung [Fri, 12 Feb 2010 01:06:18 +0000 (01:06 +0000)]
Bugfix #21094:
Inserting keyframes for properties that don't already have F-Curves shouldn't occur if auto keyframing is set to 'replace' only (i.e. see timeline -> frame -> autokey mode menu for details).
Daniel Salazar [Fri, 12 Feb 2010 01:03:22 +0000 (01:03 +0000)]
Align Objects operator: adds option to align relative to 3D cursor as
well as Scene Origin
Joshua Leung [Fri, 12 Feb 2010 00:44:26 +0000 (00:44 +0000)]
Bugfix #21051: Restored 'Playback FPS'
This commit restores the 'Playback FPS' option which showed an indicator of the frame rate of animation playback in the 3D-View.
The info for this is now stored in a temp struct in scene data, with the status info being updated by the "animation step" operator instead of relying on globals as the old code did. This seems a lot more stable than in 2.49, but the accuracy is still questionable.
Daniel Salazar [Thu, 11 Feb 2010 23:27:34 +0000 (23:27 +0000)]
New Align Objects operator. Currently it has very little functionality but
already does alignment operations that are very hard to do manually
Daniel Salazar [Thu, 11 Feb 2010 23:13:47 +0000 (23:13 +0000)]
Clean up of tooltips in py operators and better operator name for
randomize transform
Lukas Steiblys [Thu, 11 Feb 2010 22:28:51 +0000 (22:28 +0000)]
another vc9 projectfile fix
Lukas Steiblys [Thu, 11 Feb 2010 22:05:54 +0000 (22:05 +0000)]
updated VC9 project files
Campbell Barton [Thu, 11 Feb 2010 22:02:27 +0000 (22:02 +0000)]
Clear scons installation directory when WITHOUT_BF_INSTALL is disabled.
After discussion with Brecht and Martin we agree this is best long term.
Also fixed "scons blenderlite" for python and fluid.
Lukas Steiblys [Thu, 11 Feb 2010 21:55:07 +0000 (21:55 +0000)]
Campbell Barton [Thu, 11 Feb 2010 21:17:05 +0000 (21:17 +0000)]
- select active camera operator
- calling menu use exec rather then invoke
Daniel Salazar [Thu, 11 Feb 2010 20:33:04 +0000 (20:33 +0000)]
Fix for a glitch in a console tooltip
Joerg Mueller [Thu, 11 Feb 2010 20:09:45 +0000 (20:09 +0000)]
2.5 Audio: The jack backend is now realtime capable and will not produce so much xruns anymore. :-)
Campbell Barton [Thu, 11 Feb 2010 18:36:47 +0000 (18:36 +0000)]
fix for flag being used in the wrong place with recent ApproxAO option.
Daniel Salazar [Thu, 11 Feb 2010 17:41:17 +0000 (17:41 +0000)]
Line up RNA property with the rest of space
Daniel Salazar [Thu, 11 Feb 2010 17:27:43 +0000 (17:27 +0000)]
Compile fix
Campbell Barton [Thu, 11 Feb 2010 16:54:25 +0000 (16:54 +0000)]
fix for crash when running in background mode and adjusting materials
Daniel Salazar [Thu, 11 Feb 2010 16:28:31 +0000 (16:28 +0000)]
Theme support for console background. Thx cam for help!
Brecht Van Lommel [Thu, 11 Feb 2010 15:45:19 +0000 (15:45 +0000)]
Fix #20139: toggling mipmaps in user preferences did not refresh textures.
Brecht Van Lommel [Thu, 11 Feb 2010 15:43:31 +0000 (15:43 +0000)]
Added an option "Cast Approximate" to control if a material should cast
shadow when using approximate AO, separate from "Traceable".
Arystanbek Dyussenov [Thu, 11 Feb 2010 14:53:29 +0000 (14:53 +0000)]
COLLADA exporter (in trunk): write 1 normal per flat face instead of 3 or 4.
Campbell Barton [Thu, 11 Feb 2010 14:24:45 +0000 (14:24 +0000)]
fix for own mistake [#21088] comb mode broken?
Campbell Barton [Thu, 11 Feb 2010 14:08:22 +0000 (14:08 +0000)]
bpy.utils.home_paths, use this to get script paths for the user/local/system blender paths.
Campbell Barton [Thu, 11 Feb 2010 10:41:11 +0000 (10:41 +0000)]
[#21095] r26789 'copy vertex group to selected' crash blender
Campbell Barton [Thu, 11 Feb 2010 10:25:24 +0000 (10:25 +0000)]
panorama UV projection, only when projected from a camera with panorama enabled, ortho and perspective supported, camera aspect ignored at the moment.
also fixed bugs ortho camera projection which wasnt ever used and had the ortho camera size inverted.
Campbell Barton [Thu, 11 Feb 2010 09:03:43 +0000 (09:03 +0000)]
console needs a background color, can use instead of padding.
Joerg Mueller [Thu, 11 Feb 2010 08:52:22 +0000 (08:52 +0000)]
Padding fix by phonybone.
Arystanbek Dyussenov [Thu, 11 Feb 2010 08:47:33 +0000 (08:47 +0000)]
scons linux config: only BF_OPENCOLLADA needs to be user-set, BF_OPENCOLLADA_INC is derived.
Dalai Felinto [Thu, 11 Feb 2010 06:00:16 +0000 (06:00 +0000)]
BGE: rna update for Logic Bricks
New Actuators done:
* EDIT_OBJECT
* SHAPE_ACTION
Actuators to be done:
* CONSTRAINT
Actuators done already:
* ALL THE OTHERS 16
+ some DNA padding
There is one Actuator left. This one is tricky because (as many others) the tooltip changes according to the actuator type value. Not sure how to solve this yet. I'll probably have to make different rna properties for the same values (it includes some enums this time). Not so animated to finish this one :/
Dalai Felinto [Thu, 11 Feb 2010 04:24:58 +0000 (04:24 +0000)]
BGE API DOC update - scene add/restart/end. patch by Gomer
Daniel Salazar [Thu, 11 Feb 2010 03:37:51 +0000 (03:37 +0000)]
Added theme support for vertex normals display alongside face normals.
This makes having both enabled at the same time actually useful!
http://www.pasteall.org/pic/show.php?id=1265
Daniel Salazar [Thu, 11 Feb 2010 02:03:18 +0000 (02:03 +0000)]
More tooltip editing
Daniel Salazar [Thu, 11 Feb 2010 01:11:52 +0000 (01:11 +0000)]
Operation Dot-Kill finished
Daniel Salazar [Thu, 11 Feb 2010 00:33:01 +0000 (00:33 +0000)]
Removing more dots
Joerg Mueller [Wed, 10 Feb 2010 23:15:12 +0000 (23:15 +0000)]
Bugfix for [#21086] Audio continues to play unsynced.
Daniel Salazar [Wed, 10 Feb 2010 22:18:00 +0000 (22:18 +0000)]
Killing more dots!
Campbell Barton [Wed, 10 Feb 2010 21:15:44 +0000 (21:15 +0000)]
batch remove .'s used with RNA_def_struct_ui_text
Joshua Leung [Wed, 10 Feb 2010 21:00:41 +0000 (21:00 +0000)]
Bugfix #21081: auto ik option not work for proxy object
Several properties of armatures were being checked for proxy-suitability with too-harsh criteria. Softened this on a few properties to make them usable again.
Daniel Salazar [Wed, 10 Feb 2010 20:41:01 +0000 (20:41 +0000)]
Increased camera angle to allow for the wildest super telephoto lenses
Sincronized millimeters - angle limits
Better tooltips
Removed dots at end of tooltips in camera rna file too (as discused with
Ton and DingTo on irc)
Campbell Barton [Wed, 10 Feb 2010 20:29:40 +0000 (20:29 +0000)]
object bound box access from rna
Campbell Barton [Wed, 10 Feb 2010 19:22:09 +0000 (19:22 +0000)]
UV project didnt use the view3d's camera (only the scenes)
Daniel Salazar [Wed, 10 Feb 2010 19:14:49 +0000 (19:14 +0000)]
Hide particle angular velocity ammount if velocity mode is 'None'
Daniel Salazar [Wed, 10 Feb 2010 18:47:55 +0000 (18:47 +0000)]
Missing tooltips for Start frame and End frame
Removing all dots at the end of tooltips in screen_ops.c
Daniel Salazar [Wed, 10 Feb 2010 18:29:58 +0000 (18:29 +0000)]
Changed fields Odd / Even terminology to more standard Upper First /
Lower First like in AE and other mainstream apps
http://www.pasteall.org/pic/show.php?id=1255
The new consensus is no dots at the end of tooltips so removed all of
them on image and scene rna files
Campbell Barton [Wed, 10 Feb 2010 18:22:55 +0000 (18:22 +0000)]
realtime updates in the graph editor were updating all visible fcurves, update all selected fcurves instead.
Campbell Barton [Wed, 10 Feb 2010 18:05:52 +0000 (18:05 +0000)]
revert previous commit, this should fix without disabling cases that worked before.
Thomas Dinges [Wed, 10 Feb 2010 17:38:58 +0000 (17:38 +0000)]
Fix for [#21082] UI not updated immediately for Graphical cursor and change object's name
Campbell Barton [Wed, 10 Feb 2010 17:28:46 +0000 (17:28 +0000)]
fix for crash in sequencer when sequebce data cant be read.
Daniel Salazar [Wed, 10 Feb 2010 16:43:43 +0000 (16:43 +0000)]
Fix for bug [#21015] Render Panel Presets do not remember fields
setting. New presets will remember field settings but I didnt change
existing presets since I think this could be dangerous.
Campbell Barton [Wed, 10 Feb 2010 16:40:02 +0000 (16:40 +0000)]
make dupliface rotation was wrong.
Thomas Dinges [Wed, 10 Feb 2010 16:16:57 +0000 (16:16 +0000)]
Tooltip fix for "raytrace_transparency", patch by Oxben.
Campbell Barton [Wed, 10 Feb 2010 16:10:47 +0000 (16:10 +0000)]
make dupliface operator (access from object menu)
scene.object.link() now returns the new ObjectBase
Brecht Van Lommel [Wed, 10 Feb 2010 14:47:39 +0000 (14:47 +0000)]
Fix crash in copying constraints for proxy.
Damien Plisson [Wed, 10 Feb 2010 14:16:02 +0000 (14:16 +0000)]
Cocoa : use Cocoa NSWindow tag for identifying the window where a mouse/tablet/key event happened => enables some actions in inactive windows as per OSX standard
Previous code was assuming an event can only be sent from the active window.
On OSX, Right, Middle mouse buttons, mouse wheel and trackpad events are sent to inactive windows too.
For example, this allows to zoom, pan the view without changing the window order.
Damien Plisson [Wed, 10 Feb 2010 13:25:50 +0000 (13:25 +0000)]
OSX/scons : fine tune Intel archs optimization flags
Campbell Barton [Wed, 10 Feb 2010 11:10:38 +0000 (11:10 +0000)]
fix for python not being able to call operators with a executuon context.
Joshua Leung [Wed, 10 Feb 2010 09:53:55 +0000 (09:53 +0000)]
Committing a little note of a bug that isn't quite so easy to fix yet with groups+visibility operator (anim channels).
Campbell Barton [Wed, 10 Feb 2010 09:30:22 +0000 (09:30 +0000)]
[#20958] API: crash on mesh.update() if I unlink and link meshes with the same name twice
Joshua Leung [Wed, 10 Feb 2010 09:18:49 +0000 (09:18 +0000)]
3ds importer - fixed some warnings about various properties required for the fileselect operator stuff not being present
Campbell Barton [Wed, 10 Feb 2010 08:53:08 +0000 (08:53 +0000)]
rename Nurb to Spline in RNA since Nurb also stores bezier and poly lines.
Martin Poirier [Wed, 10 Feb 2010 03:41:20 +0000 (03:41 +0000)]
Can't hardcode hotkey in description if it can be changed in a keymap.
Joshua Leung [Wed, 10 Feb 2010 01:55:45 +0000 (01:55 +0000)]
Bugfix: 3DS Importer not settings UV's correctly
Thanks to example .3ds file and bug report from stridernzl.
1) The API function for adding textures to meshes was not working correctly, resulting in a Null texture slot being created (i.e. a texture slot was created, but the given texture could never be assigned to this).
Fixed by making the function always require a texture as input (as with other places that use pointers as arguments).
2) In "Textured" draw mode, the imported meshes were shown white (i.e. without any textures).
It appears that that the old old setting (mesh.faceUV) is no longer valid/wrapped in RNA, so worked around this by setting the 'tex' setting for UV-faces on. From the UI, this seems to do the same thing as entering editmode and assigning an image to the faces from the image editor.
---
I've also removed a few lines of commented 2.4x code that is no longer valid. Hopefully there wasn't anything too valuable that I accidentally removed in this process ;)
Daniel Salazar [Wed, 10 Feb 2010 01:54:32 +0000 (01:54 +0000)]
More limits, step size and default changes to particle settings (and
some tooltips)
Daniel Salazar [Tue, 9 Feb 2010 23:33:24 +0000 (23:33 +0000)]
Fixing broken tooltip in snapping's project button
Daniel Salazar [Tue, 9 Feb 2010 22:32:26 +0000 (22:32 +0000)]
More informative tooltip for Snapping button
Campbell Barton [Tue, 9 Feb 2010 22:00:19 +0000 (22:00 +0000)]
copy vgroups to selected objects as long as they have aligned arrays.
access in the vertex group panel menu.
Joshua Leung [Tue, 9 Feb 2010 21:22:24 +0000 (21:22 +0000)]
Bugfix #20903: Concitency issues between point and click and Tab Key in the Graph Editor
- 'Toggle' operators for channel settings now now act more like the select-all type of "toggle" operator. The old behaviour has now been moved to "invert".
- Channel settings are now flushed (like for visibility and when clicking) for muting and locking when using the operators
Dalai Felinto [Tue, 9 Feb 2010 21:18:50 +0000 (21:18 +0000)]
BGE: rna update for Logic Bricks
New Actuators done:
* OBJECT (aka MOTION)
* SOUND
* PROPERTY
* CONSTRAINT
* EDIT_OBJECT
* ACTION
* STATE
* ARMATURE
Actuators to be done:
* CONSTRAINT
* EDIT_OBJECT
* SHAPE_ACTION
Actuators done already:
* IPO
* CAMERA
* SCENE
* RANDOM
* MESSAGE
* GAME
* VISIBILITY
* TWODFILTER
* PARENT
once again: feedback is appreciated.
+ some typos
+ some DNA padding
Thanks for Mitchell Stokes (Moguri) for his patch on that. It saved me some time on the ENUMs and some actuator descriptions :)
Daniel Salazar [Tue, 9 Feb 2010 21:05:59 +0000 (21:05 +0000)]
Better default resolutions for UV Sphere and Torus primitives (nice square
faces)
Torus is generated flat shaded like the rest of primitives for easier
tweaking of resolution and consistency with the rest of the primitives
Andrea Weikert [Tue, 9 Feb 2010 20:10:55 +0000 (20:10 +0000)]
MSVC projectfiles vc9
* fix for audio: added missing defines for WITH_OPENAL, WITH_JACK, WITH_SDL
* fixed linking for OpenAl, was still linking OpenAl32.dll instead of wrap_oal.dll
Should now work same as other buildsystems.
Quick test showed Yay! Sound in sequencer back :)
Campbell Barton [Tue, 9 Feb 2010 20:03:05 +0000 (20:03 +0000)]
bugfix [#21055] Python: accessing ParticleEdit.hair causes segmentation violation