5792bd7cc7
cmake: cleanup include paths, some duplicates and going up some unneeded dirs.
2011-07-17 09:11:13 +00:00
8949387186
svn merge -r37028:37030 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-05-31 05:28:00 +00:00
09da9d4393
cmake maintenance
...
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python).
also only build wm_apple.c on apple+carbon configuration.
2011-05-31 01:15:44 +00:00
6cc8f734c0
svn merge -r36603:36651 https://svn.blender.org/svnroot/bf-blender/trunk/blender \nwith some manual edits
2011-05-13 04:04:53 +00:00
5f5cdf9d00
for bug [ #27358 ] Transform bug when transform > 500
...
mouse coords would with cont. grab would wrap at short.
use mouse coords as int rather then short.
this problem still happens on linux because of XTranslateCoordinates
2011-05-12 16:47:36 +00:00
5ba0c2c049
tag unused arguments, quiet some warnings
2011-05-09 14:32:55 +00:00
6ef77cf95a
=bmesh= merge from trunk at r36529
2011-05-08 23:43:18 +00:00
3462ddf17f
=bmesh=
...
Cut out some unwanted differences with trunk
in preparation for merge. Also fixed some
warnings, though many remain.
2011-05-07 02:48:14 +00:00
284a0d3610
pass even mouse coords value as const so its not edited, view3d_get_view_aligned_coordinate() could modify the event->mval.
2011-04-21 17:25:58 +00:00
c4debb1c64
Bugfix #26977 + Patch by Harley Acheson
...
Using search for operators showed ambigious names like "Duplicate" or "Delete".
Default names should give at least a descriptive label. In case operators
are collected in a group name-shortening should be handled separaly.
2011-04-19 11:17:29 +00:00
c98148a963
=bmesh= merge from trunk at r36153
2011-04-15 01:19:13 +00:00
6d3546069c
fix [ #26713 ] Video Sequencer: Audio mute after making meta strip copy/paste
...
was not recursively restoring sound strips on paste.
also found many duplicate functions were defining the transform mode as in int but getting as an enum, use enum for both now.
2011-04-01 08:51:12 +00:00
617e6a83bc
object/paint/misc-files: floats were being implicitly promoted to doubles, adjust to use floats.
...
- also UV angle stretching was using radians->deg which wasn't needed.
2011-03-27 14:59:55 +00:00
a79820d284
properties were being used with wrong type functions, this resulted in bad memory access when getting int from an enum.
2011-03-22 12:53:36 +00:00
Nathan Letwory
95100afc12
doxygen: blender/editors tagged.
2011-02-27 20:29:51 +00:00
f01261d040
merge with/from trunk at r35190
2011-02-27 06:19:40 +00:00
197a57db69
face-paint mode operators were not ported from 2.4x yet hide/reveal/sel-swap
...
also added hide-unselected option to armature mode.
2011-02-24 16:04:36 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
Nathan Letwory
322ff7dfe4
I swear, it was just an innocence change in guardedalloc!
...
The butterfly wing flap, causing a nice storm in the rest of blender.
Now all dependencies should point ok again. CMakers, do double-test.
2011-02-21 12:35:04 +00:00
8b7482892b
made most variables which are only used in a single file and not defined in header static for blenlib, blenkernel and editors.
2011-02-14 17:55:27 +00:00
89c617a116
remove nan-makefiles
2011-01-30 15:29:22 +00:00
8f21a43535
split BKE_utildefines.h, now it only has blender specific defines like GS() MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h.
...
no functional changes.
2011-01-07 18:36:47 +00:00
486c3cd937
DAG_id_tag_update was being called with non object ID's and OB_RECALC_* flags which only apply to objects. harmless but misleading.
2011-01-03 12:41:16 +00:00
5e382eb8e5
rename blenderlib to blender_add_lib
2010-12-22 23:09:30 +00:00
fd90685a48
remove some paranoid NULL checks, since the pointers are used already.
2010-12-17 19:05:10 +00:00
afacd18498
use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed.
2010-12-08 08:43:06 +00:00
b110c7c8f2
Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now it
...
only tags the ID and does the actual flush/update delayed, before the next
redraw. For objects the update was already delayed, just flushing wasn't
yet.
This should help performance in python and animation editors, by making
calls to RNA property update quicker. Still need to add calls in a few
places where this was previously avoided due to bad performance.
2010-12-05 18:59:23 +00:00
e8397e6193
include headers in cmake source, added a script to check for consistency, reporting missing headers & C files.
...
this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-29 04:35:56 +00:00
51dcbdde03
use 'const char *' by default with RNA functions except when the value is flagged as PROP_THICK_WRAP.
...
Also use const char in many other parts of blenders code.
Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-11-17 09:45:45 +00:00
c6976e7351
use explicit file paths for CMake rather then globing, This is recommended by cmake devs.
...
globbing vs explicit is discussed here.
http://www.cmake.org/pipermail/cmake/2008-December/025694.html
Practical implications are:
- developers need to keep CMakeLists.txt files up to date.
- Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.
2010-10-23 04:05:55 +00:00
8268a4be71
most unused arg warnings corrected.
...
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-16 14:32:17 +00:00
f81248265d
tag UNUSED() for operator exec() and invoke() functions.
2010-10-15 01:36:14 +00:00
82432d0d99
merge from trunk at r31523
2010-09-07 05:47:34 +00:00
bb7339a7ae
merge with trunk at r31523
2010-09-04 05:31:25 +00:00
11228cb403
rna: move metaball.active_element to metaball.elements.active
...
added rna funcs...
elem = metaball.elements.new()
metaball.elements.remove(elem)
2010-08-23 00:57:19 +00:00
95aa8cfa4a
Update address in license block.
2010-08-10 21:22:26 +00:00
8c455e1da8
remove unused includes
2010-08-08 08:33:47 +00:00
188d1384fe
Fix de/select all operator naming for consistency
2010-07-21 22:57:48 +00:00
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
c11c196efa
part 1 of merge from trunk at r30358; it compiles, but doesn't link quite yet :)
2010-07-19 04:44:37 +00:00
e25393a098
reverting commit r28693. Making backspace a 3rd delete key.
...
We already have 2 keys for delete, no need to add a 3rd, better use backspace only when it makes sense or allow users to hook it up to something.
2010-07-17 18:02:10 +00:00
feefb4d2d2
Fix #22694 : rendering exits editmode. Problem was due to incorrect fix for
...
bug #20091 in revision 24989, crash when rendering in metaball editmode.
2010-07-05 12:52:47 +00:00
6bdc4c72d4
revert previous auto-naming change for meta elements,
...
broke the name-based grouping.
2010-07-02 03:11:10 +00:00
d9bcd249cf
remove some warnings
2010-06-27 21:03:39 +00:00
e86c5cf9ea
Fix [ #22564 ] Object name by object type
...
Restored auto-naming newly created objects by type, for Mesh, Lamp, Meta
2010-06-27 07:45:57 +00:00
2ebb1c63f7
finish cleanup to cmake editors, also removed some stuff from scons thats not needed.
2010-06-05 23:27:49 +00:00
55d3a2014c
have cmake build editors as different libs like scons and nan-makefiles
2010-06-04 11:34:57 +00:00
5afb24cedb
Added backspace as an alternative to the X key, for deleting things.
2010-05-09 21:37:53 +00:00
93f420b666
correct typo's
2010-04-25 15:24:18 +00:00
8f1500da00
remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now.
2010-04-18 10:28:37 +00:00