Skip to content

Commit

Permalink
Merge pull request #17 from fwilleke80/update-projects
Browse files Browse the repository at this point in the history
Update for R20 - R23
  • Loading branch information
fwilleke80 authored Jan 13, 2021
2 parents a34544b + 6e9f386 commit dab8163
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 10 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
*.xcscheme
*.plist
*.dylib
*.xlib
*.msg
*.stamp
.DS_Store

# Windows files
*.exp
Expand All @@ -16,3 +20,7 @@
/*.obj
*.lastbuildstate
*.obj

# Other files
projecttool_log.txt
generated
6 changes: 6 additions & 0 deletions compile_instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# PointProjector - Build instructions

* Copy the PointProjector repository into the `plugins` folder
* Download the maxon project tool [https://developers.maxon.net/?page_id=1118]()
* Unpack the tool and run on windows `kernel_app_64bit.exe g_updateproject=<yourfolder>`
* Build the PointProjector project with XCode or VisualStudio
9 changes: 0 additions & 9 deletions compile_instructions.txt

This file was deleted.

Binary file added example/pointprojector_example_r23.c4d
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ C4D=true
stylecheck.level=3

// Custom ID
ModuleId=net.fkemmler.pointprojector
ModuleId=de.frankwilleke.pointprojector
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,14 @@ void oProjector::CheckDirty(BaseObject *op, BaseDocument *doc)
// Iterate modifier and its parents and add their dirty checksums
dirtyness += AddDirtySums(op, false, dirtyFlags);

#if API_VERSION >= 23000
// Add falloff dirtiness
if (_falloff)
{
dirtyness += _falloff->GetDirty(doc);
}
#endif

// Compare dirty checksum to previous one, set modifier dirty if necessary
if (dirtyness != _lastDirtyness + 1)
{
Expand Down

0 comments on commit dab8163

Please sign in to comment.