Commit Graph

19258 Commits

Author SHA1 Message Date
Campbell Barton
51f1e82290 Object mode Selection options brought back for view3d.select
- 'center', while Ctrl is held select objects from their center location
- 'enumerate', while Alt is held, give a list of objects under the mouse
- Object selection menu now uses icons with names
- operator object.select_name(name, extend=False)
- keybindings so combinations of Ctrl/Alt/Shift can be used (like in 2.4x)
- logic text input field was using deprecated ID_SCRIPT rather then ID_TXT

details
- added comments to DNA_ID.h ID types
- removed unused ID types Sector and Life
- added uiIconFromID() to get an icon from the object.
- using name for selection is weak but currently there isnt a really good way to do this.
2009-09-16 01:15:30 +00:00
Matt Ebb
be613fd9dd OSX should use libsndfile in /lib, not /usr 2009-09-16 00:59:55 +00:00
Guillermo S. Romero
0befb9b01d Sync names with real content. 2009-09-15 23:37:20 +00:00
Guillermo S. Romero
581cb64f2c Make verification of committed .mo files optional. 2009-09-15 22:34:10 +00:00
Andrea Weikert
063d806f15 2.5 filebrowser
bugfix #1: SpaceFile->files needs to be deleted on exec and cancel of the filebrowser and in init to ensure correct setting of the read function.
bugfix #2: SpaceFile->params needs to be set in file_init otherwise Python can't access params in header ui.
2009-09-15 20:47:34 +00:00
Martin Poirier
22274d3807 More automatic stuff.
Server can now be set to broadcast on local network (every 10s, approximately 20 bytes of data) where client and slave can pick up its existence. This is on by default.

Default ip address is now "[default]", which means for the master that it will listen to all interface and for the clients and slave that they will automatically work out the master's address from its broadcast.
2009-09-15 19:53:18 +00:00
Martin Poirier
fd664970f1 Completely move freeing flag to report, operator flag is uneeded.
Also bugfix for py operators. Reports need to be kept alive when operator is registered.
2009-09-15 16:25:53 +00:00
Daniel Genrich
0a8fa9ff70 Smoke:
* This should make low res bake too if high res gets baked
2009-09-15 16:05:59 +00:00
Benoit Bolsee
971e984b08 Update MSVC project files 2009-09-15 13:28:36 +00:00
William Reynish
e6b5a2e99e UI tweaks
*Cleaned up Transform panel in n-key area. It's now single column so that this view can be nice and slim, while you can still access everything. 
This is especially important in edit mode where you cannot change the transform values numerically from the Properties. 
Transform properties don't seem to work for Metaball edit yet, so wasn't able to test this

*Removed some lingering tools in curve transform and put them in the toolbar instead.

*Improved alignment in toolbar

*Made Image Properties use regular checkmark toggle buttons

*Added Delete as an alternative to X key, as it was in 2.4x
2009-09-15 12:45:05 +00:00
Brecht Van Lommel
499e6f0067 2.5: node group/ungroup/edit operators, patch by Michal Ziulek,
with some small changes.
2009-09-15 11:35:10 +00:00
Campbell Barton
8513ab471c didnt change all filename's to path's 2009-09-15 10:59:42 +00:00
Campbell Barton
daa968df22 - opening the file selector was freeing a NULL pointer
- some warnings in last commit.
2009-09-15 10:52:36 +00:00
Daniel Genrich
c8618348e0 Smoke:
* Less verbose
* More OpenGL error messages (on blender -d)
2009-09-15 10:26:36 +00:00
Brecht Van Lommel
9a2cd02ae4 UI: renamed 3dview menus to be lower case, not too important now,
but once these become extensible we need consistent names.
2009-09-15 10:23:44 +00:00
Campbell Barton
689b77ba9d - new property attribute - default_array, which returns a variable size array useful to get the defaults for operator & function arrays.
- updated python api to check for array types rather then the length since a variable length array can be 1 or 0 length.
- python docgen added .0 to the end of floats which messed up values like 1e-05
2009-09-15 10:01:20 +00:00
Matt Ebb
223bc8aee1 * Added RNA path functionality to fluidsim modifier settings, to allow keying of fluidsim settings properties.
Note: Although the properties can be animated with the RNA system, the values are not exported to the actual fluid sim yet, that can come later.
2009-09-15 03:54:13 +00:00
Daniel Genrich
41ed712ea3 Smoke:
* Bugfix for non working 3dview

Credits: Thanks to Wahooney, jesterKing and a big thanks to Matt/broken for hunting this down!
2009-09-14 22:27:10 +00:00
Daniel Genrich
524a8e32b1 Smoke:
* Fixing compile warning
2009-09-14 21:55:48 +00:00
Brecht Van Lommel
be69305d85 2.5 Bugfixes
#19302: the spin operator did not redo correct when changing properties.
Actually the problem was somewhere else, the search menu always did an
unnecessary undo push, which conflicted with an operator undo push with
the same name. Only in the case of "Spin" was this noticed, because it's
name is so short and you actually type it completely.
#19328: swapping areas could crash when dragging mouse outside the window.

Attempted fix for #19331, #19335 as well, where backspace and some other
keys give square characters instead of working as expected. Couldn't
reproducable here, so please test.
2009-09-14 20:48:05 +00:00
Guillermo S. Romero
1b2344a1f1 Also set utf8 encoded hint for window title. 2009-09-14 20:17:56 +00:00
Brecht Van Lommel
f302ebeb67 2.5 Bugfixes
#19343: vertex paint blur was not working. shared vcol was disabled
for speed, but blurring still needs it. Also fixed brushes with
size > 64 not working correct.
#19314: non-zbuffer selection did not work with background image,
drawing it made the WM matrix go out of sync.

Forgot to mention these in previous commit:
* Manipulator type was not properly initialized, .B.blend update helps,
  but still needed version patch & correct setting for new space.
* Added a utility function for the toggling region hide, instead of
  duplicating the code.
* SSS preview render preprocessing pass now also uses multiple threads.
* Added version patch for unit scale, was still 0.0.
2009-09-14 19:49:40 +00:00
Brecht Van Lommel
725c30f606 2.5 Bugfixes
#19345: can't get out of grayed out pointer field.
#19342: item_pointerR fields can't be cleared with one item.
#19341: fix hanging tooltips when manipulating regions.
#19339: context panel still allowed tabbing, but it has no header.
#19334: editing SSS settings crashed previewrender.
#19330: object mode could not be switched on from the header menu.
2009-09-14 19:12:29 +00:00
Daniel Genrich
c6107e0c76 Smoke:
* Only simulate smoke when starting from startframe
2009-09-14 17:22:51 +00:00
Campbell Barton
bee18c57d4 fix warning 2009-09-14 17:13:58 +00:00
Campbell Barton
ba5df38d66 use static functions where possible for some local functions. 2009-09-14 16:52:06 +00:00
Daniel Genrich
131c713fc1 Smoke:
* Fixing some gcc warnings
2009-09-14 16:46:34 +00:00
Daniel Genrich
cd211af417 Smoke:
* Introduce a better check for fragment support
2009-09-14 16:43:13 +00:00
Martin Poirier
b3c4952178 netrender: add "Animation on network" button to send job to master and gather the results in one step. 2009-09-14 16:30:53 +00:00
Martin Poirier
a3ce413f44 Bugfix with py operator api and modal operators. Modal operators would keep a reference to Reports locally allocated in the api functions, which would crash and burn later when the operator would actually stop.
This commit introduces a flag at the Reports level that can be used to indicate that it needs to be freed (on top of the flag already existing in the operator, which I guess could be removed).

Reports for operators called through python are only persisted if they indicate that they are running modal.
2009-09-14 16:00:42 +00:00
William Reynish
733b20f695 *Changed texture blend property Flip XY to a proper enum.
*Minor adjustments to lamp UI

*Fixed issue #19319 (missing notifier)
2009-09-14 13:31:58 +00:00
Brecht Van Lommel
4539bb9a98 Link/Append, small changes:
* Added separate menu items for Link and Append.
* Change some OPERATOR_FINISHED to OPERATOR_CANCELLED.
* Remove some IPO specific hacks, these are no longer ID blocks,
  so not necessary to take into account.
* Some comment and code formatting tweaks.
2009-09-14 12:30:49 +00:00
William Reynish
6cee5201ec Third widget commit ;)
Thanks to Broken for finding the bug.
2009-09-14 12:28:59 +00:00
Brecht Van Lommel
8d3955c28d Depsgraph:
* Move function to compute visible screen layers to BKE.
* Use this now in the depsgraph, was still using this all layers
  to flush. Still missing a way to get the current scene in
  background mode..
* Also two more function to not require a scene pointer anymore:
	* DAG_object_update_flags is now DAG_id_update_flags.
	* DAG_ids_flush_update is now available next to DAG_scene_flush_update.
2009-09-14 12:26:34 +00:00
Brecht Van Lommel
75d4a836b8 UI: don't hide Object menu in 3d view header when there is no
active object, to avoid buttons jumping too much. Also small
change in collision panel code.
2009-09-14 12:16:35 +00:00
Matt Ebb
d0aa03737e * Fix for typo in icon_only commit, causing RNA property buttons text to be doubled up
brecht: I think this is right now...? :)
2009-09-14 11:25:33 +00:00
Joshua Leung
e838af4d57 Bugfix #19337: Crash when tweaking knife operator
Knife operator now doesn't crash, but repeat operator for this won't work now since the appropriate 3D-View context info is not set when the mouse is in the Tools region (i.e. when using repeat operator in the tools panels).
2009-09-14 11:12:44 +00:00
Joshua Leung
f896b905ac Bugfixes:
* #19338: Crash when using Convert operator
Uninitialised var (basact)

* Spacebar when in 3D-View EditMode for Text gets overridden by Search Menu. I've tried adding a fix there, but it doesn't seem to work. Woraround for now is shift-space for entering text.

* Fixed some compiled warnings in wm_operators.c about naming of var named 'main'
2009-09-14 10:56:40 +00:00
Daniel Genrich
b0a3224d89 Smoke:
* put another drawing method in to test for broken
2009-09-14 10:37:13 +00:00
Daniel Genrich
ce70ed260b Smoke:
* Bugifx for no shadow on startframe when loaded from cache
2009-09-14 10:21:41 +00:00
Brecht Van Lommel
0338b05a64 Three node selection operators added, patch by Michał Ziułek, thanks!
* Select all
* Select linked to
* Select linked from
2009-09-14 08:47:13 +00:00
Joseph Eagar
cbb9815b0d updated .b.blend; show toolbar by default now, made the view3d clip start saner, and turend on grab manipulator 2009-09-14 08:38:04 +00:00
Joseph Eagar
48732cf017 knife 'mode' is now leftclick with ctrl-x held down, instead of ctrl-alt 2009-09-14 07:33:00 +00:00
Joseph Eagar
1b446d2902 to sphere transform hotkey is now alt-shift-s, since ctrl-shift-s was taken by save as. 2009-09-14 06:59:37 +00:00
Matt Ebb
84e17862cd * boundbox display option was missing from object properties 2009-09-14 06:31:20 +00:00
Joseph Eagar
894c1e98ad remove doubles uses an operator property for the merge distance. it no longer reports number of merged verts to the user, as this violates operator nonmodality and messes up last operator panel workflow. 2009-09-14 06:06:01 +00:00
Joseph Eagar
a11ef8030a 2.5 mesh cleanup: merge tools all work again 2009-09-14 05:00:03 +00:00
Daniel Genrich
9f5e42ff76 Smoke:
* Totally new try to get cache running
* Didn't try "bake" and such things yet

Hint
* Very verbose yet
* Please do only test new blend files, not old ones!

Please give me feedback on my blog about the old crashers.
2009-09-14 00:01:08 +00:00
Daniel Genrich
cf20399993 Pointcache:
* reset on object transformations
2009-09-13 23:58:03 +00:00
Guillermo S. Romero
ccf847585d Make compiler easily to override (CC & CCC) and clean up whitespace. 2009-09-13 22:34:47 +00:00