Commit Graph

3353 Commits

Author SHA1 Message Date
Campbell Barton
fa9550bba0 fix for un-initialized memory use with thumb's & minor internal improvement for bpy.utils.clean_name() 2010-07-28 07:37:24 +00:00
Jason Wilkins
3c0ed589c1 * moved Threaded Sculpt, Fast Navigate, and Show Brush back to Sculpt Options panel until they are properly moved in memory to the corresponding places they were in the UI.
Fast Navigate apparently needs to be made an option of the multires modifier

Threaded Sculpt and Show Brush need to be made UserPrefs

Some of these options were removed form UserPref panel without placing them anywhere else in the interface so this commit at least puts them somewhere so they can be used.
2010-07-28 07:19:54 +00:00
Nicholas Bishop
88dcfbaee9 == Sculpt ==
Added a brush reset operator so that a user won't need to reload the default blend to get back default brush settings

* New brush.reset operator, resets a brush based on the currently-selected tool
* Added UI button in the tools panel

TODO:
* Only resets sculpt brushes right now, other paint modes should be added
* Sculpt polish tool exists only as a Brush, not as a tool; I'd suggest we make it a tool so it can be reset to defaults too
2010-07-27 16:09:02 +00:00
Daniel Genrich
614192cce3 Fluid: Fix empty named fluid particle system; Smoke: Fix typo 2010-07-27 15:04:50 +00:00
Daniel Genrich
967d25ac1c Smoke Patch + additions: a) Applying patch #22765 by Miika Hämäläinen (domain border collision settings, vorticity settings, time scale, non absolute density, smooth high res emitter, initial velocity multiplier, high res strength available to be set to 0), b) Additions by me: --Initial velocity is now per flow object, not per domain; --Using boundingbox as standard display mode for domains (was wire before); --When adding a flow object, an initial nice SmokeParticle system is added too with nice initial settings (life=1, no_render, unborn, etc) fitting smoke simulation; --Adaptive timesteps introduced to the smoke sim (depending on the magnitude of the velocity) because it was quite unstable when used for fire simulations, still needs to be tested and will also slow down some simulations. 2010-07-27 14:53:20 +00:00
Campbell Barton
98cb08d94f bugfix [#23046] export obj "selection only" issue 2010-07-27 10:00:34 +00:00
Joshua Leung
a3166d2997 Dammit to whoever removed the X-Ray button AGAIN from the armature buttons. I remember specifically restoring this a few months ago, but it seems to have gone missing again.
Despite the overlap with Object draw settings, this is a one-off setting that you'll end up turning on/off quickly while working with armatures and is also more conveniently set while chosing armature drawtypes (than jumping back to object buttons).

Grr...!
2010-07-27 05:53:29 +00:00
Campbell Barton
12a695ae47 bugfix [#21407] 3DS Import do not show import options (resizing\transform fix) 2010-07-27 02:41:30 +00:00
Campbell Barton
dcb644af0d bugfix [#22605] Context auto-compleate fails first time 2010-07-27 00:38:00 +00:00
Campbell Barton
432ec37965 Jason, from your merge 30325.
move toolsettings out of the userprefs into the sculpt menu, if these should be userprefs then they should be moved into that struct.
2010-07-26 23:49:23 +00:00
Luca Bonavita
b30e2a57fc == node editor ==
- added backdrop commands in the view menu
  I couldnt finf them in the menus and also liquidape asked for them

- added cut links command in menu, since also this one wasnt thast obvious (now it's ctrl-drag)

- micro patch reviewed by jesterKing
2010-07-26 21:37:55 +00:00
Campbell Barton
10b124ae39 [#23035] Obj export crash
check for an active object before switching modes.
2010-07-26 18:32:22 +00:00
Campbell Barton
bed40ed8e3 move directories:
dlltool --> build_files/make/dlltool
 bin --> release/bin
 
Since dlltool is only used make + mingw and ./bin is misleading because it would seem the blender binary would be copied there, but its just used for home directory files.

updated scons/cmake/make
2010-07-26 11:47:33 +00:00
Nathan Letwory
5bac485dd4 Add missing banner for installer. 2010-07-26 10:30:59 +00:00
Campbell Barton
15e94823dd in debug mode report the time to load addon modules. 2010-07-26 09:09:53 +00:00
Jason Wilkins
9941b7d52d * was suggested I combine all the direction modes into a single enumeration by using RNA_def_property_enum_funcs 2010-07-26 05:25:09 +00:00
Nicholas Bishop
ec19c7dffc == Sculpt ==
Fixed brush icons loading slowly

* Changed brush icon property from an enum to a flag that toggles whether a custom file is used for the brush icon
* Changed get_brush_icon to only handle loading external icons, built-ins are handled through the regular icon system
* Modified preview icon drawing to allow built-in icons
* When not using a custom icon, a default icon is selected based on the current tool

TODO:
* Allowing preview to show built-in icons makes the brush texture selector look ugly when nothing is selected. As discussed on IRC though, the nothing-selected state needs to be clarified anyway; I'll address this in another commit
* Use image browser when selecting a custom icon
* Selecting the default icon is ugly (uses the active object's mode), this can be fixed by making brushes know which paint mode they are part of
2010-07-26 04:00:09 +00:00
Janne Karhu
6ec87e6095 Fix for [#22128] particle sizes and physics
* size wasn't updated at all for particles with keyed or no physics
2010-07-25 14:40:18 +00:00
Luca Bonavita
0eca3db6c5 - typo: from "lenght" to "length" in rna
fixes [#22997] typo in autocomplete/python api name in bpy.context.active_object.data.draw_edge_lenght not length
  https://projects.blender.org/tracker/index.php?func=detail&aid=22997&group_id=9&atid=498
  no addons are affected by this change

- also found a typo in particles toolbar
2010-07-24 16:35:58 +00:00
Campbell Barton
ba76552213 bugfix [#19223] FBX export doesn't do cameras correctly 2010-07-23 20:57:52 +00:00
Campbell Barton
4e62175989 bugfix [#22974] OBJ import arrives without texture 2010-07-23 17:51:39 +00:00
Peter Schlaile
b3dca80c5b Sequencer UI bugfix: translate / crop also work on effect output, UI was
missing
2010-07-23 17:09:33 +00:00
Brecht Van Lommel
444d06af32 2.5: change a user preferences settings from .enabled to .active, it's nicer
if the button is grayed out but still editable.
2010-07-23 09:33:58 +00:00
Campbell Barton
9a0e0027f8 fix for error in select hierarchy if no children exist. 2010-07-23 05:49:12 +00:00
Campbell Barton
026ac24922 [#22488] Reloading scripts causes crash
F8 key enabled again, useful for script UI development.

- keying set freeing wasnt freeing from all scenes and the builtin list.
- PointerProperty() cant refer to a removed python srna type (fixed in rigify and netrender).
- Added a check for freeing a type used by a PointerProperty but its very slow, makes reloading take ~10sec. Only enabled this in debug mode for now.

Netrender register() function isnt re-registering the property, probably because the module is cached by python and not re-run.
2010-07-23 01:43:30 +00:00
Jason Wilkins
3b5b761a56 == Sculpt/Paint Fixes ==
* Fix: unify strength and size did work consistently with other paint modes
* Fix: If [ and ] keys were used to resize a brush it was not possible to increase the size of the brush if it went under 10 pixels
* Fix: Made interpretation of brush size consistent across all modes, Texture/Image paint interpreted brush size as the diameter while all the other modes interpret it as radius
* Fix: The default spacing for vertex paint brushes was 3%, should be 10%
* Fix: due to fixes to unified strength, re-enabled 'Unify Size' by default
* Fix: Unified size and strength were stored in UserPrefs, moved this to ToolSettings
* Fix: The setting of pressure sensitivity was not unified when strength or size were unified.  Now the appropriate pressure sensitivity setting is also unified across all brushes when corresponding unification option is selected
* Fix: When using [ and ] to resize the brush it didn't immediately redraw
* Fix: fkey resizing/"re-strength-ing" was not working consistently accross all paint modes due to only sculpt mode having full support for unified size and strength, now it works properly.
* Fix: other paint modes did expose the ability to have a  custom brush colors, so I added the small bit of code to allow it.  Note: I made all of the other paint mode brushes white.  Note2: Actually, probably want to make the paint modes use the selected color for painting instead of a constant brush color.
* I had removed OPTYPE_REGISTER from some Sculpt/Paint operators but in this commit I add them back.  I'm not completely sure what this option does so I don't want to disturb it for now.
2010-07-22 18:56:46 +00:00
Tom Musgrove
aa2f0b1e42 yet another inconsistency fix curve in uv editmode was using the drop down menu for picking curves instead of the icons 2010-07-22 11:21:21 +00:00
Tom Musgrove
ea5fdcbd67 finished making uv paint panel consistent with the 3d view painting panel, asked Matt and he said the inconsistency was unintentional 2010-07-22 05:59:50 +00:00
Brecht Van Lommel
9d0a67fdc4 Fix #22921: Default human meta-rig will not export to FBX. Still missed
a check in my previous fix for this.
2010-07-21 14:08:55 +00:00
Jason Wilkins
e3ad451ae1 * closed small gap at top of appearance panel 2010-07-21 11:58:23 +00:00
Tom Musgrove
6b2c4dfe73 making this consistent with texture brush selector in the 3d viewport 2010-07-21 08:23:57 +00:00
Jason Wilkins
015ecdee29 * Polish preset did not enable tablet pressure for strength
* Turned off 'Front-Face Only' for all brushes, it needs more testing
* Added brush icons for other paint modes
* Moved 'tool' panel to bottom of all paint modes
* Moved 'appearance' panel to be next to bottom
* Moved brush selector panel to top of all modes
* Closed all panels except the brush selector panel
* Turned off X symmetry
2010-07-21 00:57:25 +00:00
Brecht Van Lommel
f8a67e87cf 2.5 Beta update to readme.html 2010-07-20 16:56:44 +00:00
Brecht Van Lommel
75913ce446 2.5 Beta version files increment, from 2.52 to 2.53. 2010-07-20 16:44:59 +00:00
Brecht Van Lommel
822f0dbb92 2.5 Beta splash png. 2010-07-20 16:43:58 +00:00
Jason Wilkins
886ce5a351 * can use file for brush icon
* fixed memory leaks
* moved some of the brush icon code around
* the update of the icon after a change is more responsive
2010-07-20 13:42:27 +00:00
Joshua Leung
beb98c9e0c Bugfix #22872: invert zoom direction doesn't work
The setting for this (IMO it should really be on by default, for reasons I've outlined recently) was not exposed at all. 

The setting that was shown was a new(?) option in 2.5 which dealt with Ctrl-MMB drag zoom.
2010-07-20 12:37:42 +00:00
Luca Bonavita
faeec3b147 == 3D: background image ==
Doesn't visualize size and x, y position of the background Image in camera view
(reviewed by brecht before committing)
2010-07-20 12:20:55 +00:00
Jason Wilkins
b618a335f5 * Made the default sculpt icons an internal part of the executable
* Default icons can be selected from a menu
* Option to make a custom icon from a file is present but the UI is disabled because of a mysterious crash
* New startup.blend that has the appropriate icons selected
2010-07-20 11:32:30 +00:00
Brecht Van Lommel
d8792465e0 Fix for python error in material panel. 2010-07-20 11:18:29 +00:00
Brecht Van Lommel
fe4c55008e Fix #22921: error FBX exporting armature without animation data. 2010-07-20 11:00:29 +00:00
Campbell Barton
75410037fd - correct some spelling errors.
- remove FreeCamera struct (wasnt used)
- remove world color alpha values (not used anywhre).
2010-07-20 10:41:08 +00:00
Jason Wilkins
cbc0e6ad4a * new icons for blob and twist brushes 2010-07-20 05:36:19 +00:00
Jason Wilkins
80e6323646 * Images for brush icons are now reloaded when they are needed from an external file
* First, try to load the file from the given filename.  This is either absolute or relative to the current .blend
* If file is found using the given filename directly then look for the file in the datafiles/brushicons directory (local, user, or system).

* Note: This commit does not update the .blend to reference the default icons
* Note: This commit does not make sure that the build system copies the default icons to the 2.52/datafiles/brushicons directory
2010-07-20 02:18:10 +00:00
Guillermo S. Romero
c2945d31e7 SVN maintenance. Plus no hidden files in config. 2010-07-19 18:08:29 +00:00
Xavier Thomas
e24d90acad Add a "Save Copy" entry in the File menu. 2010-07-19 17:45:03 +00:00
Peter Schlaile
aa0e4277a2 == Sequencer ==
In multicam editing, do not cut to non existent cams (above multicam 
track)
2010-07-19 17:39:25 +00:00
Peter Schlaile
40ee7ef155 == Sequencer ==
Made mpeg_preseek accessible again.
2010-07-19 17:38:20 +00:00
Jason Wilkins
7b1aeea029 * spelling error, "substract" 2010-07-19 07:26:41 +00:00
Campbell Barton
62ffc2ab14 update from venomgfx, have the node toggle rather then an icon. 2010-07-18 15:13:19 +00:00